Clone of https://botsin.space/@PosiBot for freaks.
https://freak.university/@FreakPos
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
config.example.toml | 1 year ago | |
freakpos.py | 1 year ago | |
labels.txt | 2 months ago | |
messages.txt | 1 year ago | |
messages2.txt | 4 months ago | |
pleroma.py | 1 year ago | |
requirements.txt | 1 year ago |
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