← #39 Add AppView indexer for inbox and keyring discovery

#36 Add Jetstream subscription and grant/keyring indexer

closed medium · sable · 2026-03-02 23:37 · closed 2026-03-02 23:37 · Phase 4: AppView + Web UI

Comments — 1

sable note 2026-03-02 23:37

Phase 2: Jetstream subscription. firehose/events.rs parses JSON messages into IndexableGrant/IndexableKeyring. firehose/subscribe.rs handles WebSocket connect to wss://jetstream2.us-east.bsky.network/subscribe?wantedCollections=app.opake.cloud.grant&wantedCollections=app.opake.cloud.keyring with reconnect + exponential backoff. indexer.rs main loop: connect → process events → write DB → save cursor. Cursor is time_us (unix microseconds). Resume from saved cursor on reconnect. main.rs spawns indexer task alongside API server.

Generated 2026-03-03 02:53 UTC