Monorepo for the nibling.run platform

Serve every read through a caching gateway in the worker

New routes under /xrpc and /git answer repo reads, blobs, identity, backlinks, record-by-URI, and git fetches. Each validates its params, resolves the repo to its PDS or knot through cached identity, and fetches with a timeout, a size cap, and redirects checked hop by hop. The cache keeps blobs, CID-pinned records, and pure-want git fetches for a year, current records and listings for 15 s with a 60 s stale window, identity for 5 minutes, and backlinks for 15 s. TTLs only, since the Cache API is per data center. x-nib-fresh: 1 skips the read and stores the result. Pushes are refused.


Author natemoo.re
Date Commit Parent 0106824b