Parse your public BlueSky data to json format.
This project provides a tool to parse and extract data from CAR (Content Addressable Archive) files exported from repositories on the AT Protocol, including platforms like Bluesky. The tool decodes the repository data, processes it into JSON format, and organizes it by lexicon type.
A CAR (Content Addressable Archive) file is a snapshot of a repository’s state in the AT Protocol. It encapsulates all public data for a repository, such as posts, likes, and social graphs. CAR files are useful for:
| Use Case | CAR File | DID/API Queries |
|---|---|---|
| Offline access | ✅ | ❌ |
| Efficient batch processing | ✅ | ❌ |
| Real-time updates | ❌ | ✅ |
| Backup and archival | ✅ | ❌ |
| Selective data retrieval | ❌ | ✅ |
| Consistent snapshot of data | ✅ | ❌ |
app.bsky.feed.post).To use this parser, ensure you have the following installed:
Clone this repository:
git clone https://github.com/thomasafink/bluesky-personal-data-parser-json.git
cd bluesky-personal-data-parser-json
Install the required Go modules:
go mod tidy
repo.car or update the carFilePath in the main.go file.Run the parser:
go run main.go
The tool will:
app_bsky_feed_post.json) in the root directory.After running the tool, you will find:
did:plc:abc123) containing:
app_bsky_feed_post.json)[
{
"$type": "app.bsky.feed.post",
"content": "Hello, world!",
"createdAt": "2023-07-01T23:30:08.840Z",
"author": "did:plc:xyz456"
}
]
Feel free to submit issues or contribute improvements via pull requests. Contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
Your friendly Bluesky client for the web
Go source code for Bluesky's atproto services.
The AT Protocol blogging platform
@vvvot.bsky.social bot implementation
A cli application for bluesky social
A looking glass for the AT Proto Firehose
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky