This is a set of functions to help with the management of atprotocols, and bluesky.
This is a set of functions to help with the management of atprotocols, and bluesky. It's a work in progress, especially as things change within the atproto repo.
My goal is to eventually package this up into a python library but for now, this will do.
Auth is handled by using your identifier / username and password and using those to create a session, however as to not store credentials in cleartext, we encrypt them using fernet. You'll find the steps below to get up and running:
In the tools directory, you'll find a script called crypto_helper.py that handles the creation of a key that will be used to encrypt and decrypt your credentials (so they're not in plaintext). It'll create a corresponding .secrets
folder where it'll store a secret.key
Once its done, it'll output a string that looks like this b'<randomjunk>'
, copy and paste the entire thing into self.encrypted_credentials
This was created as just a collection of functions, in the APIHandler class, with the intention of making this its own Python package. I haven't looked too hard into how to make that work with the way I handle creds, but thats my next to do.
You should be able to call that class and its corresponding functions, and if your credentials are correct, everything should just work.
Just having fun with python and Bluesky's AT Protocol. Trying to build a simple CLI and enough of SDK to easily explore and collect my own Bluesky data
A small python library to post basic text and media to bsky.app via atproto's xrpc API.
A script for auto-deleting Bluesky posts
A site that measures the current percentage of Bluesky posts missing alt text
🌉 A bridge between decentralized social networks
💬 The social web translator
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky