Scripts to analyze a user's Bluesky Network
This Python script provides a comprehensive tool to download and backup your Bluesky social network data. It offers a user-friendly way to archive your digital presence on Bluesky.
python -m venv venv
# On Windows:
venv\Scripts\activate
# On Unix or MacOS:
source venv/bin/activate
pip install -r requirements.txt
Required packages:
python bluesky_download.py
The downloaded data is organized in the data folder with the following structure:
followers.json : List of accounts following youfollowing.json : List of accounts you followposts.json : Archive of your recent postsprofile.json : Your profile informationfollowing_network.json : Extended network datafollowing_network/: Contains individual JSON files, one for each account that the user is following, with detailed information about that account's networkThe following data (stored in example_following.json) follows this structure:
{
"did": "unique-identifier",
"handle": "username.bsky.social",
"associated": {
"chat": {
"allow_incoming": "all",
"py_type": "app.bsky.actor.defs#profileAssociatedChat"
}
},
"avatar": "profile-image-url",
"created_at": "timestamp",
"description": "user bio",
"display_name": "User Display Name",
"indexed_at": "timestamp",
"labels": []
}
Common issues and solutions:
This tool is designed for personal use and data backup purposes. Please:
Contributions are welcome! Please feel free to submit issues or pull requests.
🌉 A bridge between decentralized social networks
Python client and server for Bluesky/AT Protocol's XRPC + Lexicon
💬 The social web translator
An app for crossposting your posts from bluesky to twitter and mastodon
The AT Protocol (🦋 Bluesky) SDK for Python 🐍
🔄 Sync a list of users in accounts.txt to a Bluesky starter pack
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky