Skip to content

Rust implementation of Authenticated Transfer Protocol (AT proto) used in bluesky

Notifications You must be signed in to change notification settings

GrandtheUK/atproto-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atproto-rs

A rust crate to connect to a bluesky PDS and utilise the Authenticated Transfer protocol

Currently implemented

  • com.atproto
    • server
      • createInviteCode (ATP.create_invite_code)
      • createAccount (ATP.create_account)
      • createSession (ATP.login)
      • refreshSession (ATP.refresh)
    • repo
      • createRecord (ATP.post)
    • identity
      • resolveHandle (ATP.resolveHandle)

Note: ATP.post is specifically for a bluesky post. Replies and reposts are not currently supported but planned.

Example Code

A quick example GUI powered by the crate

Run with:

cargo run --bin atproto-rs-example

If you are using the main bluesky use https://bsky.social as the provider otherwise use the URL to your own PDS. If you are able to use app passwords please do so for security.

About

Rust implementation of Authenticated Transfer Protocol (AT proto) used in bluesky

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages