irc
Go to file
Stef Dunlap 2e242aea1e Fixes for use off of tilde.chat/tildeverse
- correctly parses channels from config per config.example.yaml
- sets TLS to None in case of no TLS
  - on tilde.town we commonly connect to localhost w/o ssl
  - for ircrobots (and/or it's dependencies) TLS must be none (not
    false) or else it will assume SSL/TLS

I am not a python expert, so please feel free to comment or fix.
2022-06-14 16:46:52 -04:00
.gitignore move to using config.py parser stuff 2022-05-09 15:34:00 -04:00
LICENSE init 2019-05-29 21:15:52 -04:00
README.md update readme stuff 2022-05-09 17:02:51 -04:00
config.example.yaml fix new ircrobots stuff 2022-05-09 16:42:31 -04:00
config.py Fixes for use off of tilde.chat/tildeverse 2022-06-14 16:46:52 -04:00
requirements.txt downgrade emoji to silence deprecation warning 2022-05-09 16:59:21 -04:00
tooter.py Fixes for use off of tilde.chat/tildeverse 2022-06-14 16:46:52 -04:00
tooter.service downgrade emoji to silence deprecation warning 2022-05-09 16:59:21 -04:00

README.md

tooter

irc tooter bot

deps:

  • Mastodon.py
  • emoji (python3-emoji on debian and derivatives)
  • ircrobots
  • PyYAML (python3-yaml on debian and derivatives)

venv setup

  • python3 -m venv venv
  • . venv/bin/activate
  • pip install -r requirements.txt
  • cp config.example.yaml config.yaml
  • edit config.yaml as needed

install systemd user unit

  1. cp tooter.service ~/.config/systemd/user/
  2. edit paths to WorkingDirectory and ExecStart in ~/.config/systemd/user/tooter.service
  3. systemctl --user enable --now tooter