Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomcasavant/socialsync
Uses mastodon API to attempt to follow your Bluesky follows (via bsky.brid.gy) and Threads follows
https://github.com/tomcasavant/socialsync
activitypub atproto bluesky mastodon threads
Last synced: 23 days ago
JSON representation
Uses mastodon API to attempt to follow your Bluesky follows (via bsky.brid.gy) and Threads follows
- Host: GitHub
- URL: https://github.com/tomcasavant/socialsync
- Owner: TomCasavant
- License: gpl-3.0
- Created: 2024-07-20T15:06:33.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T14:35:58.000Z (2 months ago)
- Last Synced: 2024-10-14T07:20:12.555Z (23 days ago)
- Topics: activitypub, atproto, bluesky, mastodon, threads
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)