Skip to content

A script to search for mastodon handle in twitter following list (name & bio) and follow them on mastodon

License

Notifications You must be signed in to change notification settings

bengentil/twitter2mastodon

Repository files navigation

twitter2mastodon

A script to search for mastodon handle in twitter following list (name & bio) and follow them on mastodon.

Usage

Create a twitter app

Go to https://apps.twitter.com/ and create a new app.

Create a mastodon app

Run

./create_mastodon_app.py <mastodon_instance_url>

Declare your twitter and mastodon credentials

Declare the following environment variables:

  • TWITTER_BEARER_TOKEN
  • MASTODON_USERNAME
  • MASTODON_PASSWORD

Run

$ virtualenv -p python3 .venv
$ source .venv/bin/activate.sh
(.venv) $ pip install -r requirements.txt
(.venv) $ ./twitter2mastodon.py

About

A script to search for mastodon handle in twitter following list (name & bio) and follow them on mastodon

Topics

Resources

License

Stars

Watchers

Forks

Languages