|Lertsenem 4a1accf676 Less infos in logs||3 years ago|
|pycolog @ da2fc7b3d6||3 years ago|
|twitrssme @ 27fd76c1dc||3 years ago|
|.gitignore||3 years ago|
|.gitmodules||3 years ago|
|Dockerfile||3 years ago|
|LICENSE||4 years ago|
|README.md||3 years ago|
|docker.run.sh||3 years ago|
|main.py||3 years ago|
|requirements.txt||4 years ago|
A small python script to replicate tweets on a mastodon instance.
Use the 'add' command to add a new account to mirror. The account must exist with the same handle on twitter and on the Mastodon instance. The password for the account will be asked.
Use the 'run' command to check all mirrored accounts and post new tweets on the Mastodon instance.
It gets the tweets from RSS available at http://twitrss.me, then does some cleanup on the content:
A json file is used to keep track of tweets than have been tooted.
This script should be in use for the https://birdsite.link instance
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).