|Lertsenem 4a1accf676 Less infos in logs||1 year ago|
|pycolog @ da2fc7b3d6||1 year ago|
|twitrssme @ 27fd76c1dc||1 year ago|
|.gitignore||1 year ago|
|.gitmodules||1 year ago|
|Dockerfile||1 year ago|
|LICENSE||2 years ago|
|README.md||1 year ago|
|docker.run.sh||1 year ago|
|main.py||1 year ago|
|requirements.txt||2 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).