masto tooterbot
https://tilde.zone/@tildeverse
2e242aea1e
- 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. |
||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
config.example.yaml | ||
config.py | ||
requirements.txt | ||
tooter.py | ||
tooter.service |
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
cp tooter.service ~/.config/systemd/user/
- edit paths to WorkingDirectory and ExecStart in
~/.config/systemd/user/tooter.service
systemctl --user enable --now tooter