22 lines
615 B
Markdown
22 lines
615 B
Markdown
# tooter
|
|
|
|
irc tooter bot
|
|
|
|
deps:
|
|
* [Mastodon.py](https://github.com/halcy/Mastodon.py)
|
|
* emoji (python3-emoji on debian and derivatives)
|
|
* [ircrobots](https://github.com/jesopo/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/`
|
|
1. edit paths to WorkingDirectory and ExecStart in `~/.config/systemd/user/tooter.service`
|
|
1. `systemctl --user enable --now tooter`
|