Simple script to add followers from threads to your Mastodon account.
- Clone this repo
- Create a new application on your server
- Access
https://[your.instance]/settings/applications
- Create a new application with at least
read:accounts
andwrite:follows
- Get the
access code
- Access
- Fill
config.yml
with correct data - Run the following command:
deno run --allow-read=config.yml --allow-net=threads.net,[your.instance] main.ts
Example Output:
evanprodromou@threads.net
Federation: OK
Searching on bolha.us
Found Evan Prodromou with local id 112056484382697052
Following Account: OK
feliciaday@threads.net
Federation: OFF (404)
As of the time of writing, Threads API is not yet public. So you'll need to pass a list of accounts you want to "monitor".
This project was motivated by a toot from Cassidy James asking for a migration tool for Threads to Mastodon.