An open API service indexing awesome lists of open source software.

https://github.com/bitkeks/mastodon-to-twitter

Mas2tter - the Mastodon-to-Twitter Mirrorbot
https://github.com/bitkeks/mastodon-to-twitter

bot mastodon mirror twitter

Last synced: 3 months ago
JSON representation

Mas2tter - the Mastodon-to-Twitter Mirrorbot

Awesome Lists containing this project

README

        

# Mas2tter - the Mastodon-to-Twitter Mirrorbot

This Python3 script loads the latest Toots from your Mastodon account and posts them on Twitter.
Some formatting is done to keep the content of Tweets in 280 characters, possibly posting two Tweets.

You can choose to either link to your Toot so others can click through to your Mastodon profile (see screenshot below) or use the alternative plain text mirror. The config parameter `link_to_mastodon` is used for this.

Your Tweets will contain some of your original Hashtags. Set the config option `tags_to_append` for this.

![demo Tweet](example-post.png)

## Setup
Fill the config values `api_base_url` and `user_base_url` as given in the example. The API base URL is most likely the root domain of your instance, the user base URL is a simple text string which is used to check Tweets that contain Mastodon URLs to your Toots. (Better have a look into the code, it gets clear there)

## Changelog
Versions `