Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 897 Bytes

README.md

File metadata and controls

29 lines (27 loc) · 897 Bytes

fediTTY

source for the fediverse bot (currently) at @[email protected]

running

  • Clone the repo:
git clone https://github.com/b0vik/fediTTY.git
cd fediTTY
  • Create a libvirt VM.
  • Set the constants in constants.py according to your setup. You may have to change qemu:///session to qemu:///system depending on how your libvirt is set up.
  • Copy dotenv_example to .env and set BOT_ACCESS_TOKEN to your access token.
  • Then...
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 main.py

TODOs

  • grab notifications asynchronously
  • implement timer-after-last-comment
  • better configuration format
  • properly comment code (sisyphean task)
  • chaining commands
  • !key command
  • avoid trying to grab deleted comments (high prio)
  • fix mentions