Go to file
Kay Faraday e2c42b5b4e add a label 2022-01-25 05:37:02 +00:00
.gitignore initial commit 2022-01-09 00:26:12 +00:00
LICENSE Initial commit 2022-01-08 23:14:03 +00:00
README.md README: add usage instructions 2022-01-09 02:33:04 +00:00
config.example.toml initial commit 2022-01-09 00:26:12 +00:00
freakpos.py simplify gen_post() a tiny bit 2022-01-25 05:33:54 +00:00
labels.txt add a label 2022-01-25 05:37:02 +00:00
messages.txt initial commit 2022-01-09 00:26:12 +00:00
messages2.txt messages2: remove one untemplated string 2022-01-09 21:23:13 +00:00
pleroma.py initial commit 2022-01-09 00:26:12 +00:00
requirements.txt initial commit 2022-01-09 00:26:12 +00:00

README.md

FreakPositivity

Clone of https://botsin.space/@PosiBot for freaks. Currently deployed at https://freak.university/@FreakPos.

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'

License

AGPL-3.0-or-later, see LICENSE