README.md 841 B

Birdlink Bot

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:

  • twitter tracking links (t.co) are dereferenced
  • twitter hosted pictures are retrieved and uploaded to mastodon

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).