Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bengentil/twitter2mastodon

A script to search for mastodon handle in twitter following list (name & bio) and follow them on mastodon
https://github.com/bengentil/twitter2mastodon

bio following mastodon name twitter users

Last synced: 5 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```bash
./create_mastodon_app.py
```

### Declare your twitter and mastodon credentials

Declare the following environment variables:
- TWITTER_BEARER_TOKEN
- MASTODON_USERNAME
- MASTODON_PASSWORD

### Run

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