FreakPositivity/README.md

22 lines
575 B
Markdown
Raw Normal View History

2022-01-08 15:14:03 -08:00
# FreakPositivity
2022-01-08 17:51:38 -08:00
Clone of https://botsin.space/@PosiBot for freaks. Currently deployed at https://freak.university/@FreakPos.
2022-01-08 17:51:20 -08:00
2022-01-08 18:33:04 -08:00
## Usage
```
pip install -r requirements.txt
cp config.example.toml config.toml
```
Then, edit config.toml with your access token and instance.
Now edit your crontab (`crontab -e`) and add a line to periodically run freakpos.py.
For example, this posts every four hours with a random delay:
```
15 */4 * * * bash -c 'sleep $(( $RANDOM \% (60 * 60 * 4) )) && path/to/FreakPositivity/freakpos.py'
```
2022-01-08 17:51:20 -08:00
## License
AGPL-3.0-or-later, see LICENSE