cquest 01174b1cf0 | 7 vuotta sitten | |
---|---|---|
.gitignore | 7 vuotta sitten | |
LICENSE | 7 vuotta sitten | |
README.md | 7 vuotta sitten | |
cron-sample.sh | 7 vuotta sitten | |
requirements.txt | 7 vuotta sitten | |
tootbot.py | 7 vuotta sitten |
A small python script to replicate tweets on a mastodon account.
The script only need mastodon login/pass to post toots.
It gets the tweets from RSS available at http://twitrss.me, then does some cleanup on the content:
A sqlite database is used to keep track of tweets than have been tooted.
This script is in use for a few accounts:
The script is simply called by a cron job and can run on any server (does not have to be on the mastodon instance server).