Skip to content

Uses mastodon API to attempt to follow your Bluesky follows (via bsky.brid.gy) and Threads follows

License

Notifications You must be signed in to change notification settings

TomCasavant/SocialSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Sync

Attempts to follow your Bluesky (bsky.brid.gy) follows and Threads follows via the Mastodon API

Setup

  • Clone repo
  • pip install -r requirements.txt (or use a virtual environment, python -m virtualenv .venv, source .venv/bin/activate) If you're running python3.12+ please use requirements312.txt instead
  • Copy config.toml.example to config.toml.
  • Edit Bluesky config with username (or email) and password
  • Edit Mastodon config with domain, username, and api_key
  • Navigate to Threads account center -> Your Information and permissions -> Download your information -> Download or transfer your information -> Instagram -> Some of your information -> Select Threads -> Export as JSON
  • Extract downloaded Threads data
  • Copy following.json from instagram-idnumbers/your_instagram_activity/threads/following.json to the cloned repo
  • execute python main.py this will grab all your follows from both services and saves to a database, then it attempts to follow them all
  • The next time you run it, it will just use the database and not use the API
  • If you want it to grab the follows again just use python main.py --refresh
  • I suggest setting it on a cron routine (unfortunately Threads doesn't seem to have API access to the follows so you have to redownload data if you want up-to-date following accounts)

About

Uses mastodon API to attempt to follow your Bluesky follows (via bsky.brid.gy) and Threads follows

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages