Mirrors a Twitter home timeline to one Mastodon account
GPL-3.0 License
This script takes all tweets from a users home timeline on Twitter and posts them to one Mastodon account. It makes use of the CW tag to display from which user the tweet originally came from. Media entities like photos, gifs and videos are mirrored as well.
Example use case: A few people I care about still use Twitter, but I dont want to check Twitter separately, so Ive created a private and locked bot account on my own Mastodon instance to which this script mirrors my Twitter home timeline. This way I can keep up with their Tweets without them even having a Mastodon account or using a mirror script themselves. Rudimentary support to mirror favs and mentions back to Twitter is now implemented.
Previously this tool was written in Python3, you can still find it in the history.
go get -u github.com/buckket/twtlmirror
./twtlmirror -config config.toml
GNU GPLv3+