Simple Repos

About Simple Repos

A small home for Git repositories: browse source, branches, commits and READMEs. Public repositories are readable by anyone; private repositories and all writes belong only to their owner. No collaboration, source editor, or tenant CI.

System design

Browser / Git client↓Next.js + OpenNext on Cloudflare Workers↓
D1Identity, ownership, sessions and credential digestsArtifactsGit objects and refs

Cloudflare Access protects the sign-in callback with verified-email OTP. The application issues seven-day browser sessions. Public browsing and Git remain outside browser SSO.

The Worker checks primary D1 permissions on every operation, validates the exact repository mapping, and uses short-lived scoped Artifacts credentials. Browser links pin immutable commits. Git credentials are shown once and expire after 30 days.

Limits and recovery

Pushes are limited to 10 MiB transmitted data and a 60-second exchange. A lost response does not prove rollback: inspect refs before retrying. Browsing allows 512 KiB text previews, 10 MiB raw downloads, 1,000 entries, 32 path segments and 2,048 path bytes, with 64 provider calls within 15 seconds. History follows the first parent, 50 commits per page. All parents remain available on commit details.

Admission quotas are 100 new accounts per installation per UTC hour; 10 repository reservations per account, 100 per installation and five new repositories per account per UTC hour; 10 active and 20 new Git credentials per account per UTC hour. Provider storage limits and billing are separate; application quotas are not spending caps.

Agent guidance

llms.txt, skill.md and SKILL.md serve the same public Markdown. These describe usage, not private repositories or credentials.