feat: add litenote lexicon

This commit is contained in:
Julien Calixte
2026-02-07 21:13:55 +01:00
parent 246d0e7bc4
commit ee389fb77a
4 changed files with 58 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import { Jetstream } from "@skyware/jetstream";
const jetstream = new Jetstream({
wantedCollections: [
"app.bsky.feed.like",
"site.standard.graph.subscription",
"site.standard.publication",
"site.standard.document",
"space.litenote.post",
@@ -10,7 +10,7 @@ const jetstream = new Jetstream({
});
// Handle standard posts
jetstream.onCreate("app.bsky.feed.like", (event) => {
jetstream.onCreate("site.standard.graph.subscription", (event) => {
// Check if it references litenote content
const { did, commit } = event
console.log(did, commit);