Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siggy/threads2mastodon
Rough commands to find ActivityPub-enabled threads.net followings, and then follow them in Mastodon
https://github.com/siggy/threads2mastodon
Last synced: about 1 month ago
JSON representation
Rough commands to find ActivityPub-enabled threads.net followings, and then follow them in Mastodon
- Host: GitHub
- URL: https://github.com/siggy/threads2mastodon
- Owner: siggy
- License: mit
- Created: 2024-05-06T02:19:49.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-06T19:46:22.000Z (6 months ago)
- Last Synced: 2024-05-07T03:29:24.763Z (6 months ago)
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# threads2mastodon
Rough commands to find ActivityPub-enabled threads.net followings, and then follow them in Mastodon.
Download your threads.net data at:
https://accountscenter.instagram.com/info_and_permissions/dyi/Retrieve your threads.net followings:
`./your_instagram_activity/threads/following.json````bash
docker run -it python /bin/bashapt-get update && apt-get install jq
pip install toot
toot login# NOTE: watch for "Error: Too many requests" failures. You may have to break up
# following.json into smaller files.
cat following.json |
jq -r .text_post_app_text_post_app_following[].string_list_data[].value |
sort |
xargs -I {} bash -c '
response=$(
toot search --json "@{}@threads.net" |
jq -r ".accounts[0].acct // empty"
) &&
if [ -z "$response" ]; then
echo "{} is not ActivityPub enabled";
else
toot follow "@{}@threads.net";
fi'
```