#jetstream #bluesky #consuming #did #service #account #typed

jetstream-oxide

Library for easily interacting with and consuming the Bluesky Jetstream service

1 unstable release

0.1.0 Nov 13, 2024

#112 in WebSocket

Download history 114/week @ 2024-11-11 20/week @ 2024-11-18 21/week @ 2024-11-25 22/week @ 2024-12-02 37/week @ 2024-12-09

106 downloads per month

MIT license

59KB
354 lines

jetstream-oxide

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

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!

Dependencies

~15–28MB
~429K SLoC