AD
Boost Your Brand on BlueSky—Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /Rust
  3. /jetstream-oxide
videah

jetstream-oxide

A Rust SDK for Bluesky and AT Protocol by videah

A typed Rust library for easily interacting with and consuming the Bluesky Jetstream service.

GitHub Stats

41stars
4forks
5contributors
4open issues

Dates

Created:November 13, 2024
Last updated:April 10, 2025

README

The following content is from jetstream-oxide's GitHub repository. All rights reserved by the original author.

jetstream-oxide

Crate docs.rs

A typed Rust library for easily interacting with and consuming the Bluesky Jetstream service.

let config = JetstreamConfig {
    endpoint: DefaultJetstreamEndpoints::USEastOne.into(),
    compression: JetstreamCompression::Zstd,
    ..Default::default()
};

let jetstream = JetstreamConnector::new(config).unwrap();
let receiver = jetstream.connect().await?;

while let Ok(event) = receiver.recv_async().await {
    if let Commit(commit_event) = event {
        match commit_event.commit {
            CommitData::Create { .. } => {
                println!("Received create event: {:#?}", commit_event.info);
            }
            CommitData::Update { .. } => {
                println!("Received update event: {:#?}", commit_event.info);
            }
            CommitData::Delete { .. } => {
                println!("Received delete event: {:#?}", commit_event.info);
            }
        }
    }
}

Example

A small example CLI utility to show how to use this crate can be found in the examples directory. To run it, use the following command:

cargo run --example basic -- --nsid "app.bsky.feed.post"

This will display a real-time feed of every single post that is being made or deleted in the entire Bluesky network, right in your terminal!

You can filter it down to just specific accounts like this:

cargo run --example basic -- \
--nsid "app.bsky.feed.post" \
--did "did:plc:inze6wrmsm7pjl7yta3oig77"

This listens for posts that I personally make. You can substitute your own DID and make a few test posts yourself if you'd like of course!

Related SDKs

astrenoxcoopsupercell

A lightweight and configurable atproto feed generator.

61•Rust
astrenoxcoopbadgeblue

Define, Issue, and Verify Badges for ATProtocol Handles.

20•Rust
blacksky-algorithmsrsky

An AT Protocol implementation prioritizing community safety and self-governance, written in Rust.

378•Rust
skyfeed-devquery-engine

Query Engine used by custom feeds created using the SkyFeed Builder

36•Rust
atrium-rsatrium

Rust libraries for Bluesky's AT Protocol services.

334•Rust
syuiatr

atproto rust client

16•Rust

Resources

GitHub Repository

License

MIT

Author

videah
videah
did:plc:inze6wrmsm7pjl7yta3oig77

Activity

Last commit: April 10, 2025
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

📧 Contact us via email🦋 Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news 🦋

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirsto

This website may contain affiliate links

© 2025 BskyInfo. All rights reserved.