Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bengentil/twitter2mastodon
- Owner: bengentil
- License: mit
- Created: 2022-11-26T17:50:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T11:33:57.000Z (about 2 years ago)
- Last Synced: 2024-04-15T02:54:53.969Z (8 months ago)
- Topics: bio, following, mastodon, name, twitter, users
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```