A fully typed client for the Bluesky Jetstream (https://github.com/bluesky-social/jetstream) service.
A fully typed client for the Bluesky Jetstream service.
npm install @skyware/jetstream
import { Jetstream } from "@skyware/jetstream";
const jetstream = new Jetstream({
wantedCollections: ["app.bsky.feed.post", "app.bsky.feed.like"], // omit to receive all collections
wantedDids: ["did:web:example.com"], // omit to receive events from all dids
});
jetstream.onCreate("app.bsky.feed.post", (event) => {
console.log(`New post: ${event.commit.record.text}`)
});
jetstream.onDelete("app.bsky.feed.post", (event) => {
console.log(`Deleted post: ${event.commit.rkey}`)
});
// Other events:
// - "commit" (to receive all commits regardless of collection)
// - "identity" (identity update events)
// - `${collection}` (to receive all commits related to a specific collection)
jetstream.on("account", (event) => {
console.log(`Account updated: ${event.did}`)
});
jetstream.start()
a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky.
Use this repository to get started with your own Bluesky Labeler.
ATProto Feed Generator Starter Kit
AT Protocol Reference Implementation (TypeScript)
A dead simple client for subscribing to an ATProto Relay ("firehose").
A framework for building bots on Bluesky.
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky