steid

@jamesgill /

steid/README.md
Markdown25.5 KBRendered·Source·Blame·History·Raw
1# Steid
2
3A personal gitforge, in Rust. It hosts your repositories, and it is meant to become the
4place your work as a whole lives — code, writing, projects — under one identity you
5control.
6
7Steid is **portfolio-first**. Gitea and Forgejo are GitHub scaled down; their unit is the
8repository and the profile is a directory listing bolted to the side. Steid inverts that:
9the profile page at `/{handle}` is the product, and git repositories are one kind of
10thing that appears on it. That framing wins every tie-break in the design.
11
12It runs as a single binary with a SQLite database, shells out to `git` for everything
13git-shaped, and is small enough to host on the cheapest VPS you can find.
14
15## What works today
16
17Honestly and only:
18
19- **Identity and sessions.** One user. The instance is claimed on first run with a setup
20 token, then you sign in with a password. There is no registration — see
21 [limitations]#current-limitations.
22- **The profile page** at `/{handle}`, listing what you have.
23- **Repositories.** Created through the browser, or imported by cloning a URL. Stored as
24 bare repos on disk and records in SQLite. Public or private, renameable, pinnable,
25 archivable, deletable, with a default branch you choose.
26- **Clone and push over HTTPS**, through `git http-backend`, authenticated with personal
27 access tokens over HTTP Basic. Private repositories require a token to clone; public
28 ones are anonymous.
29- **Personal access tokens** — issue with an expiry (30 days, 90, a year, or never), see
30 when each was last used, revoke, at `/{handle}/settings/tokens`.
31- **Browsing** — file tree with a per-file **last-commit column**, file contents with
32 syntax highlighting, commit log, a commit and its **highlighted diff**, a three-dot
33 comparison of two revisions, blame, branches and tags, and the README rendered on the
34 repository page with `#12` and bare shas linked to the issue and commit they name.
35- **A file's own history** at `/{handle}/repos/{name}/log/{rev}/-/{path}`, which
36 **follows renames**, so a file's past does not stop where its name changed.
37- **Markdown files render as documents**, with `?view=source` for the text; headings get
38 ids, so a link to `notes.md#usage` lands on the section it names. Submodule rows link
39 to their upstream at the sha they are pinned to, and symlink rows say where they point.
40- **Code search** over a revision, at `/{handle}/repos/{name}/search`.
41- **Archive download** — `zip` and `tar.gz` of any revision, and of every tag.
42- **Issues** — open, comment, edit, close and reopen, with labels from a palette of
43 eight colours, and filtering by label and state.
44- **Pull requests** — branch to branch inside one repository, with a Conversation, the
45 commits and the changed files under their own tabs, the same labels the issues wear,
46 and a merge box that says whether the branches actually merge before it offers a
47 button. Merge as a merge commit, a fast-forward or a squash, optionally deleting the
48 source branch afterwards; a merge fires the same webhooks a push does, and
49 `Closes #4` in the title or body closes issue 4 and says so on it.
50- **Webhooks** — a signed JSON POST per push, with a delivery log you can page through,
51 redeliver an attempt from, and switch a hook off in.
52- **Atom feeds** — a repository's commits and its issues, and the owner's push activity
53 across repositories, linked from the pages they belong to and autodiscovered.
54- **Every long list pages**, with `?page=N`, clamped to the nearest page that exists
55 rather than refused.
56- **A JSON API** — `/api/me`, `/api/users/{handle}`, `/api/users/{handle}/repos`. Not a
57 separate product; every use case gets a second surface where that makes sense, which is
58 what keeps the use-case layer honest.
59
60Writing (markdown posts), multi-user, organizations, code review and SSH transport are
61**not built yet**. The plan for them is in [`plans/ROADMAP.md`]plans/ROADMAP.md.
62
63## Requirements
64
65- Linux, x86_64 or aarch64, with systemd. The releases are built against glibc 2.31, so
66 Debian 11 and Ubuntu 20.04 or newer.
67- **`git` on `PATH`.** Not optional: Steid runs `git init --bare` to create a repository
68 and `git http-backend` to serve every clone and push. One `apt-get install git`.
69 **git 2.38 or newer to merge a pull request from the web** — that is when `git
70 merge-tree --write-tree` arrived, which is how a merge is computed without a working
71 tree; everything else works on any git, and where it is older the merge box says so
72 instead of offering a button. Debian 12 and Ubuntu 22.04 and newer are fine.
73- **A TLS-terminating reverse proxy, and a domain name for it.** Also not optional.
74 Steid speaks plain HTTP — the web framework it is built on (Topcoat 0.5) has no TLS
75 support at all: no rustls, no ACME, no HTTPS listener. And because git authenticates
76 with HTTP Basic, an instance served over plain HTTP leaks your access token to every
77 hop on the network, on every push. The installer sets Caddy up for you.
78- About 100 MB of disk before any repositories, plus whatever you push.
79
80## Install
81
82### One command
83
84```sh
85curl -fsSL https://releases.steid.dev/install.sh | sh -s -- --domain git.example.com
86```
87
88Point the domain's DNS at the machine first, and make sure ports 80 and 443 are open —
89Caddy needs both to obtain a certificate.
90
91Releases live at `https://releases.steid.dev` — the tarball for your architecture and
92its SHA-256 under `/v<version>/`, and this script at the root. `jpgill.dev` mirrors the
93same files at the path it has served since 0.4.0, so older links still work. Installing
94from your own mirror is one variable: `STEID_RELEASE_BASE_URL=https://…` with the same
95`/v<version>/steid-<version>-<target>.tar.gz` layout under it.
96
97That does the following, and nothing else:
98
991. installs `git`, `curl` and `ca-certificates`
1002. downloads the release tarball for your architecture and **verifies its SHA-256**
1013. unpacks it to `/opt/steid` — the binary with its `assets/` directory beside it
1024. creates a `steid` system user and `/var/lib/steid` for state, owned by it
1035. writes `/etc/steid/steid.env`, and a systemd unit that listens on `127.0.0.1:3000`
1046. installs Caddy and writes a Caddyfile that terminates TLS for your domain and proxies
105 to that loopback port
1067. starts both
107
108Re-run it with a newer `--version` to upgrade. It is idempotent: it replaces the binary
109and assets, leaves `/var/lib/steid` alone, and will not overwrite `/etc/steid/steid.env`
110once it exists.
111
112Options: `--version`, `--port`, `--flavour musl|gnu` (`gnu` is what is built),
113`--owner-email`/`--owner-handle` (below), and `--no-caddy` if you are bringing your own
114proxy. `sh install.sh --help` lists them.
115
116### Scripted install: come up already owned
117
118A fresh instance has no owner, and until someone claims it the setup page is open to
119whoever reaches it first. That is fine when you are watching the install; it is not fine
120when a machine builds itself at three in the morning. Give the installer an owner and
121there is no window at all:
122
123```sh
124sh install.sh --domain git.example.com \
125 --owner-email you@example.com --owner-handle you
126```
127
128It writes `STEID_OWNER_EMAIL` and `STEID_OWNER_HANDLE` into `/etc/steid/steid.env`, and
129the first boot that finds the instance unclaimed creates that owner before serving a
130single request. No setup token is printed, and `/auth/setup` is closed because there is
131nothing left to claim.
132
133**That owner has no password**, because there was nobody to choose one: Steid hashes 32
134random bytes it generates at boot and throws away, so every sign-in attempt is refused
135like any other wrong password. The way in is a one-time link minted on the machine:
136
137```sh
138/opt/steid/steid reset-password you
139```
140
141Both flags or neither — half of an owner is a refusal from the installer, and from Steid
142itself at startup, rather than an instance that quietly comes up unclaimed. A handle that
143is reserved or malformed, or a bad email address, also stops the boot with one line
144saying which. They are written only when `/etc/steid/steid.env` is first created, and
145Steid ignores them once an owner exists, so they can stay in the file for the life of the
146instance.
147
148**On piping a URL into a shell.** It is a real trust decision, and "it's convenient" is
149not an answer to it. Download and read it first if you would rather:
150
151```sh
152curl -fsSL https://releases.steid.dev/install.sh -o install.sh
153less install.sh
154sudo sh install.sh --domain git.example.com
155```
156
157Or do it by hand — the manual path below is the same steps, written out.
158
159### Manually
160
161Every command as root, on Debian or Ubuntu. Adjust paths and package manager to taste;
162nothing here is specific to a distribution except `apt-get`.
163
164```sh
165# 1. Prerequisites. git is mandatory — Steid shells out to it for everything.
166apt-get update
167apt-get install -y git curl ca-certificates
168
169# 2. Fetch and verify the release for your architecture.
170VERSION=0.6.0
171TARGET=x86_64-unknown-linux-gnu # or aarch64-unknown-linux-gnu
172BASE=https://releases.steid.dev
173curl -fsSLO "$BASE/v$VERSION/steid-$VERSION-$TARGET.tar.gz"
174curl -fsSLO "$BASE/v$VERSION/steid-$VERSION-$TARGET.tar.gz.sha256"
175sha256sum -c "steid-$VERSION-$TARGET.tar.gz.sha256"
176tar -xzf "steid-$VERSION-$TARGET.tar.gz"
177
178# 3. Install. `assets/` MUST end up beside the binary: at startup Steid walks up
179# from its own executable looking for `assets/manifest.toml`, and exits if it
180# is not there. Moving the binary on its own gives you a program that will not
181# boot.
182mkdir -p /opt/steid
183cp "steid-$VERSION-$TARGET/steid" /opt/steid/steid
184cp -r "steid-$VERSION-$TARGET/assets" /opt/steid/assets
185chmod 755 /opt/steid/steid
186
187# 4. A user to run as, and one directory for all state.
188useradd --system --home-dir /var/lib/steid --shell /usr/sbin/nologin steid
189mkdir -p /var/lib/steid/repos
190chown -R steid:steid /var/lib/steid
191chmod 750 /var/lib/steid
192
193# 5. Configuration.
194mkdir -p /etc/steid
195cat > /etc/steid/steid.env <<'EOF'
196STEID_DATABASE_URL=sqlite:/var/lib/steid/steid.db?mode=rwc
197STEID_DATA_DIR=/var/lib/steid/repos
198HOST=127.0.0.1
199PORT=3000
200EOF
201chmod 640 /etc/steid/steid.env
202chown root:steid /etc/steid/steid.env
203
204# 6. The service. deploy/steid.service in this repo is the file to copy.
205cp deploy/steid.service /etc/systemd/system/steid.service
206systemctl daemon-reload
207systemctl enable --now steid
208
209# 7. The proxy. deploy/Caddyfile is a working starting point — change the
210# hostname on its first line to yours.
211apt-get install -y caddy # or follow https://caddyserver.com/docs/install
212cp deploy/Caddyfile /etc/caddy/Caddyfile
213$EDITOR /etc/caddy/Caddyfile
214systemctl reload caddy
215```
216
217There is **no migration step**. Steid runs its migrations itself on every boot.
218
219## First run: claiming the instance
220
221A fresh instance has no owner. On startup it prints a setup token to its log:
222
223```
224 This steid has no owner yet. Claim it at /auth/setup with:
225
226 <token>
227```
228
229Two things about that token that will bite you otherwise:
230
231- It is printed **only while the instance is unclaimed**. Once you have claimed it, it is
232 never shown again — because it no longer exists.
233- It lives **in memory only**. Every restart mints a new one, and the one in an older log
234 line is dead.
235
236So read it from the current run's journal:
237
238```sh
239journalctl -u steid --no-pager | tail -n 30
240```
241
242Then open `https://git.example.com/auth/setup`, paste it in, and choose your handle and
243password. After that, `/auth/login`.
244
245**Passwords must be at least 12 characters.** That is the only rule — no required digit
246or symbol, because length is the part that measurably helps and composition rules mostly
247make people write theirs down. The same rule applies to a password reset and to changing
248one in settings; accounts created before it keep working until their owner changes them.
249
250### Or have no claim at all
251
252An unattended install can skip this section entirely: `install.sh --owner-email …
253--owner-handle …` creates the owner at first boot, so there is no token, no setup page
254and no window. See [Scripted install]#scripted-install-come-up-already-owned.
255
256### Or set the token yourself
257
258If reading a log line during the first minute of a scripted install is awkward, set the
259token instead and skip the race:
260
261```sh
262STEID_SETUP_TOKEN=$(head -c 32 /dev/urandom | base64)
263```
264
265It is only consulted while the instance is unclaimed, it is never printed, and Steid
266**refuses to start** if it is weak — at least 32 characters, no whitespace, and at least
267eight distinct characters, so `abababab…` is rejected rather than accepted.
268
269## Using it
270
2711. Create a repository at `/{handle}/repos/new`. Public or private.
2722. Issue a personal access token at `/{handle}/settings/tokens`. It is shown once.
2733. Push:
274
275```sh
276git remote add origin https://git.example.com/me/repos/my-project.git
277git push -u origin main
278```
279
280Git will ask for a username and password. The token goes in the **password** field; the
281username is ignored (a token pasted as the username with an empty password also works,
282because people do that).
283
284You only type it once. Git's credential helper stores it and answers every later push —
285which is the whole reason pushing to GitHub feels like it needs no credentials. Use the
286one that keeps secrets in your operating system's keystore:
287
288```sh
289git config --global credential.helper osxkeychain # macOS (usually already set)
290git config --global credential.helper manager # Windows
291git config --global credential.helper libsecret # Linux
292```
293
294**Not `credential.helper store`.** It writes the token in clear text to
295`~/.git-credentials`, and a token is a password that never expires. Steid keeps only a
296hash of it precisely so that a stolen database contains nothing anyone can present;
297storing the plaintext on your laptop hands back what that was protecting.
298
299**Do not put the token in the remote URL** (`https://user:token@host/...`) either. It
300goes into `.git/config` in clear text and shows up in `git remote -v`, in shell history,
301and in any log that records the URL.
302
303Cloning a public repository needs no credentials at all.
304
305## Configuration
306
307Environment variables, read from `/etc/steid/steid.env` by the systemd unit.
308
309| Variable | Default | What it is |
310|---|---|---|
311| `STEID_DATABASE_URL` | `sqlite:steid.db?mode=rwc` | SQLite connection string. The directory must be writable, not just the file — SQLite writes `-wal` and `-shm` siblings. |
312| `STEID_DATA_DIR` | `./data` | Where bare repositories live, as `{data_dir}/{handle}/{name}.git`. |
313| `STEID_INSECURE_COOKIES` | unset (false) | **Never set this in production.** It strips `Secure` from the session cookie so it survives plain-HTTP localhost, and exists only for local development. |
314| `HOST` | `127.0.0.1` in the shipped unit | Bind address. Read by the framework, so deliberately *not* `STEID_`-prefixed. Keep it on loopback; the proxy is the way in. |
315| `PORT` | `3000` | Likewise not `STEID_`-prefixed. |
316| `STEID_TRUSTED_PROXY` | unset (false) | Whether to believe `X-Forwarded-For` / `X-Real-IP` when telling one rate-limited caller from another. `install.sh` sets it `true`, because that install puts Caddy in front. Leave it off for anything serving Steid straight to the internet — see [Operator surface]#operator-surface. |
317| `STEID_OPERATOR_TOKEN` | unset | A bearer token for the operator surface. Unset means that surface does not exist. |
318| `STEID_OWNER_EMAIL` | unset | With `STEID_OWNER_HANDLE`, the owner to create at first boot — see [Scripted install]#scripted-install-come-up-already-owned. Set one without the other and Steid refuses to start. |
319| `STEID_OWNER_HANDLE` | unset | The handle for that owner. Reserved or malformed, and Steid refuses to start rather than serving unclaimed. |
320
321Restart after editing: `systemctl restart steid`.
322
323## Operator surface
324
325Two JSON routes for driving an instance without a browser — a control plane provisioning
326a machine, a monitoring poll, a scripted install. No session, no cookie, no HTML.
327Authenticated by `STEID_OPERATOR_TOKEN` as a bearer token, compared in constant time.
328**With no token configured the surface does not exist**: those calls answer as if
329unauthenticated, and nothing advertises that a token could be set.
330
331### `GET /api/instance`
332
333Unauthenticated, it answers the one fact that is safe to tell anybody — and the one a
334provisioner needs, so it can wait for a machine to finish booting before handing its owner
335a claim link:
336
337```sh
338$ curl -s https://steid.example.com/api/instance
339{"claimed":false}
340```
341
342With the operator token it adds what the machine is and how big it has become:
343
344```sh
345$ curl -s -H "Authorization: Bearer $STEID_OPERATOR_TOKEN" \
346 https://steid.example.com/api/instance
347{"claimed":true,"version":"0.4.0","git_version":"2.47","merge_supported":true,
348 "repositories":3,"users":1,"uptime_seconds":8421}
349```
350
351A wrong or missing token is not an error — it is the public answer. `git_version` is
352absent where git could not be run at all, which is the same case that leaves
353`merge_supported` false.
354
355The unauthenticated form is rate limited to 60 calls a minute per caller (600 across
356everyone), which is about one poll a second. The authenticated form is not: a caller
357holding the token has already proved it is the control plane.
358
359### `POST /api/setup`
360
361The claim form, headless. Same rules as the page at `/auth/setup`: the setup token is
362checked before anything is written, a claimed instance cannot be claimed again, and the
363password must be at least 12 characters.
364
365```sh
366$ curl -s -X POST https://steid.example.com/api/setup \
367 -H 'content-type: application/json' \
368 -d '{"setup_token":"…","email":"you@example.com","handle":"you","password":"…"}'
369{"handle":"you"}
370```
371
372201 on success, and **no session** — a control plane is not signing in, so sign in through
373the browser afterwards like anyone else. A password short of the minimum is refused like
374everything else here — the same opaque `404`, with the reason in the server log — because
375a response that named the password would tell a stranger guessing tokens that they had
376guessed one. Every failure is the same `404` with the same
377body, whether the token was wrong or the instance was already claimed: telling those two
378apart would say whether there is still something worth guessing. It shares the sign-in
379rate limit — 10 attempts a minute per caller, 60 across everyone — because it is the same
380secret being attacked.
381
382Pair it with `STEID_SETUP_TOKEN` (see [Or set the token yourself]#or-set-the-token-yourself)
383so the whole install is scriptable: the token goes into the environment, the machine boots,
384`GET /api/instance` says `{"claimed":false}`, and one POST claims it.
385
386### `STEID_TRUSTED_PROXY`
387
388The rate limiters have to tell one caller from another, and the web framework Steid is
389built on (Topcoat 0.5) discards the peer address when it accepts a connection — a handler
390sees request headers and nothing else. So the only thing available is
391`X-Forwarded-For`.
392
393Behind a proxy that is sound: the proxy *appends* the address it accepted the connection
394from, so the rightmost entry is the one the client cannot forge. Exposed directly, nothing
395appends anything, and a caller can invent a fresh header per request to buy itself a fresh
396budget every time.
397
398`STEID_TRUSTED_PROXY` says which situation you are in, and defaults to the safe answer.
399Left off, no header is read at all and every caller shares one window — a forged header
400buys nothing, at the cost of one flood exhausting the shared budget for a minute. Turn it
401on only when something in front of Steid is appending the header; `install.sh` does,
402because it installs Caddy.
403
404## Backup and restore
405
406The entire backup surface is **two paths**:
407
408- `/var/lib/steid/steid.db` — the SQLite database (users, repositories, tokens, sessions)
409- `/var/lib/steid/repos` — the bare git repositories
410
411Which is to say: back up `/var/lib/steid`. `rsync` is enough.
412
413```sh
414systemctl stop steid
415rsync -a /var/lib/steid/ backup-host:/backups/steid/
416systemctl start steid
417```
418
419Stopping first is the honest version: SQLite in WAL mode leaves `-wal` and `-shm` files,
420and copying them while a write is in flight can capture a torn state. If you would rather
421not stop the service, snapshot the database properly and copy the repositories live —
422they are only written during a push:
423
424```sh
425sqlite3 /var/lib/steid/steid.db ".backup '/tmp/steid-backup.db'"
426rsync -a /tmp/steid-backup.db /var/lib/steid/repos backup-host:/backups/steid/
427```
428
429To restore: install Steid as above, stop it, drop both paths back into `/var/lib/steid`,
430`chown -R steid:steid /var/lib/steid`, start it. Migrations run on boot, so a database
431from an older version is brought forward automatically.
432
433## Building from source
434
435```sh
436cargo install topcoat-cli --version 0.5.0 --locked
437topcoat asset bundle --release
438```
439
440**`cargo build --release` on its own is not enough.** It produces a binary that will not
441boot: `AssetBundle::load()` walks up from the executable looking for
442`assets/manifest.toml`, and `build.rs` does not write one. `topcoat asset bundle` runs
443`cargo build` itself and then writes the bundle to `target/assets`. The binary at
444`target/release/steid` needs that directory beside it.
445
446Requires rustc ≥ 1.95 — Topcoat 0.5 demands it, and on an older toolchain `cargo add
447topcoat` silently resolves to an empty `v0.0.0` placeholder instead of failing.
448
449For development, `topcoat dev` does the bundling for you, and a local `.env` with
450`STEID_INSECURE_COOKIES=true` is needed for the session cookie to survive plain-HTTP
451localhost.
452
453### Cutting a release
454
455```sh
456./release.sh --target x86_64-unknown-linux-gnu
457```
458
459Produces `dist/steid-<version>-<target>.tar.gz` and a `.sha256` beside it. The tarball
460extracts to a self-contained directory: the binary, `assets/`, and this README. Building
461a Linux artefact on macOS needs a container (the script uses Docker) or a cross
462toolchain; `--native` builds for the host instead, which is useful for checking the
463artefact layout and not for releasing.
464
465A container image also exists — see [`Dockerfile`]Dockerfile — but the supported
466artefact is the plain binary.
467
468## Current limitations
469
470Deliberately blunt. Steid is early.
471
472- **Single user.** One account, claimed on first run. No registration, no invites, no
473 organizations yet. Issues exist, but only the owner may open or comment on one, which
474 is the same assumption showing.
475- **No TLS of its own.** A reverse proxy is mandatory, not recommended — see
476 [requirements]#requirements.
477- **No encryption at rest.** The database and repositories are plain files. Anyone with
478 the disk has everything. Token *values* are hashed, and passwords are Argon2, but
479 repository contents are not encrypted.
480- **Rate limiting covers `/auth/login`, `/auth/setup` and token authentication on the
481 git routes** — 10 attempts a minute per client for the first two, 60 for the third,
482 each with a global backstop. An anonymous clone of a public repository is not limited
483 at all, and neither is an archive download, which is the most expensive thing a
484 stranger can ask for.
485- **Rate limiting keys on forwarded headers, because Topcoat 0.5 does not expose the
486 peer address at all.** Behind a reverse proxy — the supported deployment — that works.
487 Exposed directly to the internet with no proxy, a caller can vary the header and get a
488 fresh budget each time, leaving only the global cap. Run it behind the proxy.
489- **Nothing sweeps expired tokens and nothing warns before one expires.** A token that
490 has expired authenticates exactly like one that never existed, and the tokens page is
491 where you find out.
492- **No CI/CD**, no code review, no SSH transport, no federation. Pull requests exist but
493 are bare: no assignees, reviewers or milestones, and only the owner may open or merge
494 one — the single-user assumption again.
495- **No writing yet** — posts and markdown are the next milestone, and they are the point
496 of the whole thing.
497- **Light mode is half-checked.** The repository landing page, a tree and a blob were
498 looked at and were fine; the profile, the settings pages and the log were not. Either
499 way there is no way for a visitor to choose — the layout is hardcoded dark.
500- **Not battle-tested.** It has not run under load, has not been audited, and has been
501 deployed by approximately one person. Do not put anything irreplaceable in it that is
502 not also somewhere else.
503
504More, in unflattering detail, in [`plans/current.md`]plans/current.md.
505
506## Project layout
507
508`plans/` is the source of truth for intent, not the code:
509
510| File | Holds |
511|---|---|
512| [`plans/ROADMAP.md`]plans/ROADMAP.md | vision, stack, the milestone ladder |
513| [`plans/current.md`]plans/current.md | the active milestone, and every known gap |
514| [`plans/progress.md`]plans/progress.md | what shipped, and the decisions worth not rediscovering |
515| [`plans/architecture.md`]plans/architecture.md | layer rules and conventions |
516| [`plans/decisions/`]plans/decisions/ | ADRs |
517
518The code is a single crate in three layers — `domain`, `application`, `infrastructure` —
519with dependencies pointing inward. Every use case takes an `Actor` and authorizes before
520any side effect.
521
522## Licence
523
524Copyright (C) 2026 James Gill.
525
526Steid is free software under the **GNU Affero General Public License v3.0** — see
527[LICENSE]LICENSE. You may use, modify and redistribute it, including commercially.
528
529The reason for AGPL rather than a permissive licence is section 13: if you modify Steid
530and offer it to others **over a network**, you must make your modified source available
531to those users. Running an unmodified copy — which is what self-hosting is — carries no
532such obligation. In other words: host it for yourself freely, fork it privately for
533yourself freely, but a modified public service has to share what it changed.
534
535Worth being straightforward about what this does *not* do: it does not stop anyone
536running Steid as a commercial hosted service. AGPL is a copyleft licence, not a
537non-compete.
538