Replicator can manage several Mastodon, Pleroma o Soapbox bot accounts who will replicate (post to Mastodon, Pleroma or Soapbox servers) several Twitter accounts's tweets of your choice.
Anar al arxiu
2022-02-16 18:43:30 +01:00
bots-setup.py First release! 2022-02-16 18:43:30 +01:00
db-setup.py First release! 2022-02-16 18:43:30 +01:00
LICENSE First release! 2022-02-16 18:43:30 +01:00
README.md First release! 2022-02-16 18:43:30 +01:00
replicator.py First release! 2022-02-16 18:43:30 +01:00
requirements.txt First release! 2022-02-16 18:43:30 +01:00
twitter-setup.py First release! 2022-02-16 18:43:30 +01:00

Replicator

Replicator can manage several Mastodon's bot accounts who will replicate (post to Mastodon) several Twitter accounts's tweets of your choice.

Dependencies

  • Python 3
  • Postgresql server
  • Several Mastodon's bot accounts
  • One Twitter user account API KEY and SECRET
  • Your personal Linux or Raspberry box.

Usage:

Within Python Virtual Environment:

  1. Run pip install -r requirements.txt to install needed libraries.

  2. Run python db-setup.py to setup and create new Postgresql database and needed table in it.

  3. Run python twitter-setup.py to input and save your Twitter's key and access token. You can get your API key and API key secret from Twitter Developer Platform

  4. Run python bots-setup.py to setup your Mastodon's bot accounts access tokens, so many as you wish. Each bot will replicate (post to Mastodon) all new tweets from each configured Twitter's users.

  5. Use your favourite scheduling method to set python replicator.py to run every minute.