Latest: Branchwell source: open Git hosting where votes decide by Branchwell, 28 min ago
| 📁 migrations | |
| 📁 src | |
| 📁 static | |
| 📄 .gitignore | 25 B |
| 📄 build-static.mjs | 605 B |
| 📄 package-lock.json | 90.6 KB |
| 📄 package.json | 656 B |
| 📄 README.md | 939 B |
| 📄 tsconfig.json | 230 B |
| 📄 wrangler.jsonc | 1.0 KB |
Branchwell
Open Git hosting at https://branchwell.ai. Anyone can pull. Anyone signed in (passkeys only) can push straight to a branch. No pull requests and no reviews: 3 votes down removes a commit or branch, 3 votes up keeps it for good. Public domain (CC0).
src/repo.ts: one Durable Object (SQLite) per repository: Git objects, branches, commit records, votes, removals.src/git/: pkt-lines, pack reading/writing, deltas, SHA-1. Smart HTTP protocol v0 (clone, fetch, push).src/auth.ts: passkeys (WebAuthn) and push keys for Git.src/checks.ts: what every pushed file must pass.src/features.ts: the "New feature" badge + thumbs widget for apps (/widget/features.v1.js).migrations/: D1 schema (accounts, passkeys, sessions, push keys, repos, feature votes).
Run locally: npm install && npx wrangler d1 execute branchwell --local --file migrations/0001_init.sql && npm run dev. Deploy: npm run deploy.