Kepr
Rolling snapshot library for Koh repositories.
Offer your faces. Let others steal what they need. Kepr is a rolling snapshot library for Koh repositories — part private backup, part public commons.
Two instances, one binary
Private instance. Runs on a machine you own. Every koh offer pushes a fresh snapshot automatically. If a disk dies or a machine goes missing, koh steal pulls it all back. The rolling window keeps the last N saves per lane, pruning only what nothing else references.
Public instance. A read-only portal for sharing open source work. You offer explicitly when something is worth sharing. Anyone can browse, steal, and download bundles. kepr.uk is a live example.
Core concepts
- Faces — a Koh project tracked by Kepr. Each face has its own save history and rolling window.
- Offers — a two-phase push from Koh to Kepr. Only objects Kepr doesn’t already have are sent.
- Steals — pulling any snapshot down to a local Koh repository. The full repository, objects and all.
No mystery, no magic
Every file is a zlib-compressed blob keyed by its Blake3 hash. Deduplication is automatic and exact — unchanged files between saves are stored once. The SQLite database is only a cache; if it’s lost, kepr recover rebuilds it entirely from the manifests on disk. Nothing disappears unless its manifest is gone.