blob: 7ab04cf2b50d523eb17a0a3b55ed145be469d400 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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`
|