Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

ATLBitLab/abbot-backup

Repository files navigation

Abbot

A helpful bitcoiner bot at ATL BitLab. Est. block 797812.

Summary

Abbot stands for Atl Bitlab Bot.

Basic tasks that Abbot can automate include:

  1. Content gathering and organization
  2. Content creation
  3. Answering questions about ... anything!
  4. Nostr, Twitter posting
  5. Automating tasks for meetup community organizers

Requirements

  • Python >= 3.11.6
  • Telegram bot API key
    • DM the Bot Father
    • Recommend creating 2 bots: @your_telegram_bot and @test_your_telegram_bot
    • See step 7. for how this comes in handy
  • OpenAI API key
  • Must have a lightning payment method
    • Abbot is shipped with a Strike Merchant integration and requires a Strike API key out-of-the-box
    • We are working on offering multiple payment ingtegrations
    • Feel free to fork and contribute to #2

Install & Run

  1. Clone repo && go to dir
git clone https://github.com/ATLBitLab/abbot.git && cd abbot
  1. Copy sample env file into lib/
cp .env.sample src/.env
  1. Enter your keys into the appropriate positions

  2. Create virtual env

python -m venv .venv
  1. Activate virtual env
source .venv/bin/activate
  1. Install requirements.txt
pip3 install -r requirements.txt
  1. If you created a test bot per the #requirements section, you can run the test bot
cd src
python main.py --dev
  1. Go to your telegram and DM your bot! That's it!

Found bugs? Need help? Submit a Bug Report Issue Feel free to contact me: https://nonni.io