Branchwell

Branchwell / research · branchwell.ai / commits / 2b3a5d93

Research: first project new

written by Branchwell · 2b3a5d93c3b142b3bbca9b75af96e349f1d6170c

3 files changed

CONTRIBUTING.md added

1+ # Contributing
2+
3+ 1. Sign in at https://branchwell.ai/signin with a passkey (face, fingerprint or device PIN).
4+ 2. Make a push key at https://branchwell.ai/account. Git asks for it the first time you push.
5+ 3. Edit, commit, push:
6+
7+ ```sh
8+ git add -A
9+ git commit -m "Add a source on ..."
10+ git push
11+ ```
12+
13+ Your commit lands right away if it passes the checks (no secrets, no file over 10 MB, valid JSON). It shows as new until 3 people vote it up. If 3 people vote it down first, it is removed from the branch.

LICENSE added

1+ CC0 1.0 Universal (public domain dedication)
2+
3+ To the extent possible under law, the contributors have waived all copyright and related rights to the summaries, plans and code in this repository. See https://creativecommons.org/publicdomain/zero/1.0/
4+
5+ Each linked original source belongs to its own authors and keeps its own license.

README.md added

1+ # Branchwell: research
2+
3+ Branchwell is open Git hosting. Anyone can pull, anyone signed in can push straight to a branch, and instead of pull requests and reviews, 3 votes down remove a commit and 3 votes up keep it for good. Site: https://branchwell.ai
4+
5+ ## How Branchwell works
6+
7+ **Where we are:** Live. Clone, pull and push work today over HTTPS, with passkey sign-in and voting.
8+
9+ Branchwell is a simple home for Git repositories. Anyone can pull. Anyone signed in can push straight to a branch. Instead of pull requests and reviewers, people vote on each commit: 3 votes down takes it back out, 3 votes up keeps it for good.
10+
11+ ### How it works
12+
13+ - **Pull.** Plain Git over HTTPS, no account.
14+ - **Push.** A push key made after passkey sign-in.
15+ - **Check.** Every pushed file is checked before it lands.
16+ - **Vote.** Commits and branches are kept or removed by 3 votes.
17+
18+ ### How it keeps going
19+ Branchwell runs on small serverless databases that cost little to run, and we cover that cost ourselves. There are no ads and no paid plans. The code is public domain, so anyone can run their own copy.
20+
21+ ### How we're organized
22+
23+ - Branchwell
24+ - Platform: the Git server, storage and sign-in
25+ - Research: keeping sources accurate and summaries plain
26+ - Community: helping new contributors find their way
27+ Everyone on the team grows through the same three levels: Explorer (starting out), Builder (growing) and Guide (on the way to mastery).
28+
29+ ### What we've decided
30+
31+ - No pull requests and no reviews.
32+ - 3 votes decide: down removes, up keeps.
33+ - Passkeys only.
34+ - History is never rewritten.
35+
36+ ### What comes next
37+
38+ - Download any branch as a zip.
39+ - Search across repositories.
40+ - Sites that rebuild straight from their research here.
41+
42+ ### Start your own
43+
44+ - **Clone our source.** `git clone https://branchwell.ai/branchwell/source.git`
45+ - **Deploy it.** It runs as one Cloudflare Worker with a D1 database and Durable Objects.
46+ - **Pick your own rules.** Change the vote threshold or the checks in a few lines.
47+
48+ ## The research
49+
50+ - **[Git HTTP transfer protocols](https://git-scm.com/docs/http-protocol)**
51+ *Git project documentation*
52+ How Git talks to a server over plain HTTPS: the "smart" protocol Branchwell speaks for clone, pull and push.
53+
54+ - **[Git on the Server: Smart HTTP](https://git-scm.com/book/en/v2/Git-on-the-Server-Smart-HTTP)**
55+ *Pro Git, by Scott Chacon and Ben Straub, 2014*
56+ Why one HTTPS address can serve anonymous reads and signed-in writes at the same time.
57+
58+ - **[Git pack format](https://git-scm.com/docs/gitformat-pack)**
59+ *Git project documentation*
60+ The file format Git uses to send many objects at once, with deltas. Branchwell reads and writes it directly.
61+
62+ - **[Web Authentication: an API for accessing public key credentials, Level 2](https://www.w3.org/TR/webauthn-2/)**
63+ *W3C Recommendation, 2021*
64+ The web standard behind passkeys. The site keeps only a public key; the private key never leaves your device.
65+
66+ - **[Passkeys](https://fidoalliance.org/passkeys/)**
67+ *FIDO Alliance*
68+ An overview of passkeys: sign-in with a face, fingerprint or PIN that resists phishing and replaces passwords.
69+
70+ - **[The Sybil attack](https://www.microsoft.com/en-us/research/publication/the-sybil-attack/)**
71+ *John R. Douceur, Microsoft Research, 2002*
72+ Shows that any open voting system can be gamed by one person making many identities. It is why we limit new accounts and make new accounts wait a day before voting.
73+
74+ - **[Be bold](https://en.wikipedia.org/wiki/Wikipedia:Be_bold)**
75+ *Wikipedia*
76+ The long-running example of open editing without approval first: changes go live, and the community keeps or reverts them.
77+
78+ - **[CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/)**
79+ *Creative Commons*
80+ The public domain dedication we use for our summaries, plans and code, so anyone can copy them without asking.
81+
82+ - **[Durable Objects](https://developers.cloudflare.com/durable-objects/)**
83+ *Cloudflare documentation*
84+ The storage model we use: each repository lives in its own small database, so pushes and votes never race each other.
85+
86+
87+ ## Add a source
88+
89+ 1. Sign in at https://branchwell.ai/signin with a passkey.
90+ 2. Make a push key at https://branchwell.ai/account.
91+ 3. Clone, add a source to this README (title, who published it, year, link, and a short summary in your own words), then push:
92+
93+ ```sh
94+ git clone https://branchwell.ai/branchwell/research.git
95+ cd research
96+ git add -A && git commit -m "Add a source on ..." && git push
97+ ```
98+
99+ A good source is a real, public link anyone can open. Summaries are in your own words, with no prices, ads or private personal details.
100+
101+ ## License
102+
103+ Our summaries are public domain (CC0). Each original source belongs to its authors.

Browse files at this commit