Something went wrong. Try again.
Monorepo for the nibling.run platform
Something went wrong. Try again.
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 (Nov 6, 2026, 1:58 PM UTC) Commit
Copy SHA
Parent 0106824b 0106824b276fbbf5c326374127a6df25bc669938