kepr

@june

Modern source forge for Koh repositories

TypeScript

v3.2.15 · 283 saves · 18,159 lines · updated 1 week ago

256 files
HEAD
public/383.7 KB · 1 week ago
css/68.7 KB · 1 week ago
fonts/269.0 KB · 1 month ago
js/45.8 KB · 1 week ago
favicon.svg309 B · 1 month ago
scripts/2.4 KB · 1 week ago
src/509.7 KB · 1 week ago
admin/118.3 KB · 1 week ago
bucket/50.8 KB · 1 week ago
describe/20.3 KB · 1 month ago
issues/61.3 KB · 1 week ago
mirror/50.8 KB · 1 week ago
pages/96.3 KB · 1 week ago
releases/27.7 KB · 1 week ago
server/71.5 KB · 1 week ago
tarball/10.2 KB · 1 week ago
main.ts2.3 KB · 1 week ago
tests/493.6 KB · 1 week ago
fixtures/64.8 KB · 1 week ago
kepr2/64.8 KB · 1 week ago
api_haven_releases_history.body352 B · 2 months agoapi_haven_releases_history.headers89 B · 2 months agoapi_haven_releases_latest.body908 B · 2 months agoapi_haven_releases_latest.headers89 B · 2 months agoapi_kepr_releases_history.body2.8 KB · 2 months agoapi_kepr_releases_history.headers89 B · 2 months agoapi_kepr_releases_latest.body889 B · 2 months agoapi_kepr_releases_latest.headers89 B · 2 months agoapi_koh_releases_2.1.0_linux-x86_64.headers99 B · 2 months agoapi_koh_releases_2.1.0_macos-aarch64.headers99 B · 2 months agoapi_koh_releases_2.1.16_linux-x86_64.body51 B · 2 months agoapi_koh_releases_2.1.16_linux-x86_64.headers58 B · 2 months agoapi_koh_releases_history.body9 B · 2 months agoapi_koh_releases_history.headers12 B · 2 months agoapi_koh_releases_latest.body2.1 KB · 2 months agoapi_koh_releases_latest.headers58 B · 2 months agoapi_nina_releases_history.body13.9 KB · 2 months agoapi_nina_releases_history.headers89 B · 2 months agoapi_nina_releases_latest.body1.8 KB · 2 months agoapi_nina_releases_latest.headers89 B · 2 months agoapi_nowhere_releases_latest.body53 B · 2 months agoapi_nowhere_releases_latest.headers58 B · 2 months agoapi_peach-android_releases_history.body27.1 KB · 2 months agoapi_peach-android_releases_history.headers89 B · 2 months agoapi_peach-android_releases_latest.body1.6 KB · 2 months agoapi_peach-android_releases_latest.headers89 B · 2 months agoapi_peach-relay_releases_history.body45 B · 2 months agoapi_peach-relay_releases_history.headers58 B · 2 months agoapi_peach-relay_releases_latest.body45 B · 2 months agoapi_peach-relay_releases_latest.headers58 B · 2 months agohaven_meta.body334 B · 2 months agohaven_meta.headers58 B · 2 months agohaven_releases_0.6.1_checksums.txt.body401 B · 2 months agohaven_releases_0.6.1_checksums.txt.headers52 B · 2 months agohaven_releases_0.6.1_haven-macos-aarch64.headers109 B · 2 months agohaven_releases_0.6.1_macos-aarch64.headers109 B · 2 months agohaven_releases_latest_version.txt.body5 B · 2 months agohaven_releases_latest_version.txt.headers52 B · 2 months agohaven_releases_latest.body0 B · 2 months agohaven_releases_latest.headers44 B · 2 months agohaven_update-info.body378 B · 2 months agohaven_update-info.headers58 B · 2 months agokepr_meta.body479 B · 2 months agokepr_meta.headers58 B · 2 months agokepr_releases_2.0.16_checksums.txt.body397 B · 2 months agokepr_releases_2.0.16_checksums.txt.headers52 B · 2 months agokepr_releases_2.0.16_kepr-linux-aarch64.headers114 B · 2 months agokepr_releases_2.0.16_linux-aarch64.headers114 B · 2 months agokepr_releases_latest_version.txt.body6 B · 2 months agokepr_releases_latest_version.txt.headers52 B · 2 months agokepr_releases_latest.body0 B · 2 months agokepr_releases_latest.headers44 B · 2 months agokepr_update-info.body377 B · 2 months agokepr_update-info.headers58 B · 2 months agokoh_meta.body491 B · 2 months agokoh_meta.headers58 B · 2 months agokoh_releases_2.1.0_checksums.txt.body753 B · 2 months agokoh_releases_2.1.0_checksums.txt.headers52 B · 2 months agokoh_releases_2.1.0_koh-linux-x86_64.headers112 B · 2 months agokoh_releases_2.1.0_linux-x86_64.headers112 B · 2 months agokoh_releases_latest_version.txt.body5 B · 2 months agokoh_releases_latest_version.txt.headers52 B · 2 months agokoh_releases_latest.body0 B · 2 months agokoh_releases_latest.headers42 B · 2 months agokoh_update-info.body678 B · 2 months agokoh_update-info.headers58 B · 2 months agonina_meta.body415 B · 2 months agonina_meta.headers58 B · 2 months agonina_releases_3.4.14_checksums.txt.body763 B · 2 months agonina_releases_3.4.14_checksums.txt.headers52 B · 2 months agonina_releases_3.4.14_linux-aarch64.headers114 B · 2 months agonina_releases_3.4.14_nina-linux-aarch64.headers114 B · 2 months agonina_releases_latest_version.txt.body6 B · 2 months agonina_releases_latest_version.txt.headers52 B · 2 months agonina_releases_latest.body0 B · 2 months agonina_releases_latest.headers44 B · 2 months agonina_update-info.body691 B · 2 months agonina_update-info.headers58 B · 2 months agopeach-android_meta.body362 B · 2 months agopeach-android_meta.headers58 B · 2 months agopeach-android_releases_2.17.43_android-arm64.headers135 B · 2 months agopeach-android_releases_2.17.43_checksums.txt.body441 B · 2 months agopeach-android_releases_2.17.43_checksums.txt.headers52 B · 2 months agopeach-android_releases_2.17.43_peach-android-android-arm64.headers135 B · 2 months agopeach-android_releases_latest_version.txt.body7 B · 2 months agopeach-android_releases_latest_version.txt.headers52 B · 2 months agopeach-android_releases_latest.body0 B · 2 months agopeach-android_releases_latest.headers54 B · 2 months agopeach-android_update-info.body414 B · 2 months agopeach-android_update-info.headers58 B · 2 months agopeach-relay_meta.body311 B · 2 months agopeach-relay_meta.headers58 B · 2 months agopeach-relay_update-info.body33 B · 2 months agopeach-relay_update-info.headers58 B · 2 months agorecord.shRecords Kepr 2's §22.4 compatibility routes from kepr.uk, GET only, into this folder: <slug>.headers (status line plus the headers the contract tests read) and <slug>.body.2.0 KB · 2 months ago
account.test.tsCovers the console's Account section (June, 2026-09-30): the admin password, other sessions and the domain, all changed without touching kepr.toml by hand, and applied without a restart.7.8 KB · 1 month agoadmin.test.ts8.1 KB · 1 month agobackup.test.ts6.4 KB · 1 month agobackupbucket.test.tsCovers the optional backup bucket (June, 2026-09-30): set, tested and removed in the console, written to kepr.toml by Kepr alone, each backup copied there with the newest 14 kept, and a failure shown and told once until an upload succeeds.6.1 KB · 1 month agobackupworkspace.test.tsCovers §24's backup workspace: every kept backup listed and downloadable, back up now, the last failure until a backup succeeds, and the written restore steps.3.4 KB · 1 month agobrowser.ts3.1 KB · 1 month agobucket.test.ts13.7 KB · 1 week agobucketadmin.test.tsCovers §24's Bucket section: masked secrets, the connection test, and a save that rewrites kepr.toml and applies the new settings without a restart.8.3 KB · 1 month agoclient.test.ts1.2 KB · 1 week agoconfig.test.ts2.5 KB · 1 month agoconnect.test.tsCovers connect setup, validation, one-time redemption, rate limits, admin history, and secrecy.15.0 KB · 1 month agoconsole.test.ts30.2 KB · 1 week agocontract.test.ts14.4 KB · 1 month agodescribe.test.ts9.8 KB · 2 months agodiff.test.ts2.9 KB · 2 months agodownloads.test.tsCovers §24's Downloads section: counts per UTC day, the last 30 days per repo or across all, each repo's totals, the most downloaded files, and dropping days older than 400.2.9 KB · 1 month agoemail.test.tsCovers §24's Email section: SMTP settings in kepr.toml, the test send, emailed notifications and the delivery queue's retries, retry now and discard.9.9 KB · 1 month agofake-s3.tsA bucket in memory, served over HTTP for the joint public-steal test: koh's own S3 backend and Bun's S3Client both talk to it, so Kepr and the two koh machines share one bucket.2.9 KB · 1 month agofixture.ts10.5 KB · 1 week agofollow.test.tsCovers §23's email updates: confirming before anything is sent, who is told what, stopping by link or one-click, and nothing offered without SMTP.11.9 KB · 1 week agofront.test.ts15.2 KB · 1 week agohidden.test.tsCovers per-repo hidden paths (June, 2026-09-30): gone from every page, the stats and new tarballs, kept hidden through later syncs, handed to Koh under .kepr/hidden/, and back on unhide.6.7 KB · 1 week agoignored.test.tsCovers names ignored in every repo (June, 2026-10-01): a file or folder with that exact name, at any depth, is gone from every repo at once, stays gone in later saves, and comes back when the name is taken off the list.4.1 KB · 1 month agoinstall.test.ts4.5 KB · 1 month agoissues.test.ts19.6 KB · 1 week agokepr2.test.ts4.2 KB · 2 months agokoh-version.txt6 B · 1 week agokohpaths.test.ts4.9 KB · 1 week agokohrelease.test.ts7.2 KB · 1 month agokohremote.test.tsCovers addendum A2 part 2: Koh's own remote layout, served read-only from a public repo's mirror.8.5 KB · 1 month agokohsteal.test.tsThe joint public-steal contract (addendum A2, item 8d): one machine publishes a repo to a bucket, Kepr serves it read-only over HTTP in Koh's own layout, a second koh steals it — and later, once that machine has signed in, offers its work back to the bucket.15.4 KB · 1 month agokohupdate.test.ts11.0 KB · 1 month agolinks.test.ts2.8 KB · 1 month agomirrorupgrade.test.ts2.3 KB · 1 week agonavbar.test.tsCovers the signed-in navbar (nav.js): "admin" and "log out" in place of "log in", built from the readable mark signing in sets beside the session.3.1 KB · 1 month agonotifications.test.tsCovers §24's in-app notifications: what raises one, unread state, opening, mark all read, switching kinds off, and keeping the newest 200.6.1 KB · 1 month agopages.test.ts25.5 KB · 1 week agoreleases.test.ts20.3 KB · 1 week agorename.test.tsCovers renaming a repo from the console (June, 2026-10-01): the history moves to the new name in the bucket with a marker left behind, Kepr's own rows and counts move with it, old page URLs redirect, and Koh follows the marker on its next offer.3.4 KB · 1 month agorepodelete.test.tsCovers deleting a repo from the console (§24): the double confirmation, every key of that repo gone from the bucket with no other repo touched, and Kepr's own rows and mirror dropped with it.4.9 KB · 1 month agorepotext.test.ts8.6 KB · 1 month agorepoworkspace.test.tsCovers §24's selected-repo workspace: the summary, detected and shown languages, where the description comes from, and the repo's releases.9.3 KB · 1 month agoscript.test.tsCovers kepr.js's start: every island it calls is defined, so one missing name can't stop the rest of the page's scripts.615 B · 1 month agoserver.test.ts3.3 KB · 1 month agosetup.test.tsCovers first-run setup (June, 2026-09-30): with no kepr.toml, Kepr serves only /setup, which takes the one-time code printed in the terminal, then the password, domain and bucket, writes kepr.toml itself, and hands over to the real app.4.2 KB · 1 month agostorage.test.tsCovers §24's Storage section: sizes by repo and kind, kept tarballs with a delete each, and orphan cleanup that touches only Kepr's own files.3.9 KB · 1 month agosync.test.ts26.2 KB · 1 week agotarball.test.ts13.8 KB · 1 week agotimeout.ts358 B · 1 month agototp.test.tsCovers §24's two-step sign-in: RFC 6238 itself, the step either side of now, and what is refused.2.4 KB · 1 month agotriage.test.tsCovers §23–§24's triage: tab counts, awaiting reply, repo/type/word filters, hiding one reply, and pausing new issues per repo.8.1 KB · 1 month agoversion.test.tsCovers the version a repo's header shows without a build: what the project declares, by Koh's own rule (Koh 3's src/build/version.v), and a build's version over it.4.7 KB · 1 month agoworker.test.tsCovers the sync on its own thread (2026-10-02): a real worker syncs a koh-made bucket, holds syncs off while the app works, and applies hidden lists.3.1 KB · 1 month ago
biome.json361 B · 2 months agobun.lock20.8 KB · 1 month agobunfig.toml40 B · 2 months agokepr.example.tomlCopy to kepr.toml (never saved: it holds the admin password hash and the bucket key).851 B · 1 month agopackage.json525 B · 1 week agoREADME.mdKepr is a self-hosted website for your Koh projects.1.3 KB · 1 month agotsconfig.json441 B · 2 months ago
9504bcb405d8record the OOM fixes, lowercase names, global ignore and the pending Haven cleanup in continuity (v3.0.180)1 month ago82938843e282store a save's objects ahead of it when one save alone passes a batch, so a first import's huge save fits in memory (v3.0.179)1 month agoa7772f7d8854hide names ignored in every repo, set in the site section, at any depth from pages, stats and tarballs (v3.0.178)1 month agoefd0734feb70count the front page's distinct objects from the objects table, not a DISTINCT over every save's whole tree (v3.0.177)1 month ago0b7b8cbd36f5keep only save IDs while walking a sync and cap a batch at 100 saves, since each record lists its whole tree (v3.0.176)1 month ago72c73018a692land a sync's new history in 32 MB batches oldest first, so a big first sync fits in memory and resumes if cut short (v3.0.175)1 month ago611700826bbfpin the tests to koh3 3.2.26, which lowercases repo names at first offer (v3.0.174)1 month ago0f18e9e415d7record the first five repos migrated and offered to the live bucket in continuity (v3.0.173)1 month agof59a3792d797send the setup page with a same-origin referrer policy so browsers post it with their real origin (v3.0.172)1 month ago819b6f716f84record Kepr 3 running on Tylee in place of Kepr 2 in continuity (v3.0.171)1 month ago798f81d1cc3crecord the phone menu, the viewer's CSS order fix and the stale-asset trap in continuity (v3.0.170)1 month agoc45748e284b7let the file viewer and the description editor take a phone's full width, their phone rules now after the rules they override (v3.0.169)1 month ago318ff45f727afold the navbar links behind a menu button on phones, wrapping them when the script is absent (v3.0.168)1 month agoa4e1f5407345record the finished operator console in continuity (v3.0.167)1 month agof47afb6afc01draw the download day bars in the theme's colours and centre console row buttons (v3.0.166)1 month agoeb54516e9dc9split the repo workspace into overview, settings, builds and archives tabs (v3.0.165)1 month ago5487c6f1524aclose, reopen, hide or unhide ticked issues together from the console list (v3.0.164)1 month ago1440b2ee584cblock a reporter's address from filing and following up, listed and lifted in the console (v3.0.163)1 month ago0c5812ee878ashow bucket storage by repo at /admin/storage, with per-tarball delete and cleanup of Kepr's orphaned files (v3.0.162)1 month ago850a5062b8fecount downloads per repo and day, shown at /admin/downloads with totals and top files (v3.0.161)1 month ago1a625426812fdelete one file of a build, rewriting its release record first (v3.0.160)1 month ago0fb42c17ed78record the operator console's first part and what comes next in continuity (v3.0.159)1 month ago53796355d42eset Kepr up in the browser on first run with a one-time code from the terminal, then hand over without a restart (v3.0.158)1 month ago3be930495fbcswitch the bucket source between S3 and a folder remote either way from the console (v3.0.157)1 month agoa602ee4ac891change the admin password, sign out other sessions and set the domain from a new Account section, applied without a restart (v3.0.156)1 month ago9288dbfe8a4fcopy each backup to an optional backup bucket set in the console, keeping the newest 14 there (v3.0.155)1 month agode3f4637e3efraise the TypeScript ceiling to 12,600 with admin 2,800, server 2,000, issues 1,200 and CSS 3,400 (v3.0.154)1 month ago2d05e7661d88record the codex review fixes and June's operator-console asks in continuity (v3.0.153)1 month agoba443d076bcedelete builds one at a time, moving latest first and the record last, so a failed delete retries cleanly (v3.0.152)1 month ago2b4b50250d6dkey kept tarballs by strips, hidden paths and mirror epoch, recheck after every await, and rebuild mirrors in place so held handles stay usable (v3.0.151)1 month agodf02ac46afcenote the connect-test timeout flake and gating on bun test's exit code (v3.0.150)1 month ago756506893ff9record that Kepr may delete builds in AGENTS.md, and the session's state in continuity (v3.0.149)1 month ago1305a0bb9d6dhide files and folders per repo from every page, the stats and tarballs, handing the list to Koh under .kepr/hidden (v3.0.148)1 month ago3c2984c576fcfix the one-settings-form test that v3.0.146 saved red after adding the tarball form (v3.0.147)1 month agob967d82d724edelete a repo's kept tarballs from the bucket on its admin page (v3.0.146)1 month ago02702253e7aekeep built tarballs in the bucket under .kepr/tarballs instead of the data directory (v3.0.145)1 month ago9a44722de6e7delete a build from the bucket on its repo's admin page, moving releases/latest to the newest left (v3.0.144)1 month ago528bcf043cacedit each build's notes and visibility on its repo's admin page, replacing the releases section (v3.0.143)1 month ago086289d5af85edit a repo's description and details from its admin page (v3.0.142)1 month ago71860b49096flet a folder instance switch to S3 from the bucket section (v3.0.141)1 month ago4ffd21d3611bremove install lines and card order; repos sort by name and old kepr.db columns are dropped (v3.0.140)1 month ago3c4ab82be15caccept plain-http admin forms when the domain is localhost, so local saves stop being refused (v3.0.139)1 month ago58d7fe07cda0list and download every backup, back up now, and show the last failure and restore steps (v3.0.138)1 month ago301147eeaa38email notifications over SMTP with a test send and a retrying delivery queue (v3.0.137)1 month ago2d3ee7d12177raise the TypeScript ceiling to 10,500 for email and backups (v3.0.136)1 month agoeb098609196dadd in-app operator notifications with unread count and per-kind switches (v3.0.135)1 month ago987482f17e06add issue triage tabs, filters, follow-up hiding and a per-repo pause on new issues (v3.0.134)1 month ago364bcfc8c156turn the repo section into a selected-repo workspace with shown languages (v3.0.133)1 month ago3559470a0d0eallocate the last 200 reserve lines to the server area (v3.0.132)1 month ago63e55f152976edit, test and live-apply S3 bucket settings from the admin console (v3.0.131)1 month ago

← newerolder →

details

Kepr

Kepr is a self-hosted website for your Koh projects. It reads your Koh remote and lets people browse the code and history you choose to publish. You run it on your own domain, with your own storage, and keep working in Koh from the terminal.

Visitors can read highlighted source, see file descriptions, and inspect diffs at any save. They can download source archives or published releases, with checksums and update feeds available for releases. Bug reports and questions don't require a visitor account.

Each instance has one operator. Repositories start private; you choose which ones appear on the site. Kepr is built with TypeScript, Bun, Hono, and SQLite.

See Kepr in use · Self-hosting guide

Set up an instance

You'll need Bun and a Koh 3 remote. You can use an S3-compatible bucket or try Kepr locally with a folder remote. A public instance needs a domain and an HTTPS reverse proxy.

bun install --production
bun run start

On the first run, open /setup on your instance (http://localhost:3000/setup locally). The terminal prints a setup code. Enter it in the browser and set your password, domain, and storage connection. Kepr saves the configuration and starts syncing from your remote.

Sign in to select the projects you want to make public.