atproto utils for zig zat.dev
atproto sdk zig
Something went wrong. Try again.
zat.ArchiveBackfill: replay a jetstream archive through the live-tail handler master
consumes the network.bsky.jetstream archive API (planBackfill / getBlock / getSegment): plan → fetch sealed jss v1 blocks → zstd decompress (std lib, plain frames, no dictionary) → columnar decode → deliver each matching row as a jetstream Event through the same onEvent handler the live client uses, records decoded from DAG-CBOR into the same json.Value shape. max_blocks bounds exploratory runs (a filtered plan can span tens of GB). verified live against stream.waow.tech via 'zig build archive-smoke' (pollz collections, 25 blocks, 78 events: 13 polls, 65 votes). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Author zzstoatzz Co-author Claude Fable 5 Date (Aug 7, 2026, 9:45 PM UTC) Commit f69d75c9 f69d75c9f4afa00e80dd1e6488462fd717d5b747 Parent 739cd741 739cd741dd72caa674a320215d24871059e46d42