Ask the room. Everyone says: source code versioning. Where our code lives; branch, merge, review; every clone has the full history. Linus Torvalds, 2005, for the Linux kernel. But what does Git actually know about code?
Git knows nothing about code. It versions files; diff, merge, blame, log -p all work on lines of text. Binary files are stored too, but without meaningful diffs or merges (comes back later: big blobs).
Notes: Markdown vaults synced with Git, built-in `git notes`. Issues: git-bug stores issues as Git objects next to the code. Pull requests: GitHub refs/pull/<n>/head, Gerrit review data in NoteDb. Wiki/docs: GitHub and GitLab wikis are Git repos; docs-as-code. Websites: GitHub Pages, static site generators, push to deploy. How do they do it? Refs.
A ref is a file (or packed-refs line) holding a commit id; HEAD points at a ref. Commit = move refs/heads/<branch>; tag = create refs/tags/<name>; GitHub PRs = refs/pull/<n>/head. Ref updates are atomic (lock + rename). Everlock: a pull request is refs/pull/{slug}/{target}; open = ref exists, closed/merged = ref deleted. No separate metadata store. git notes: the notes live in their own commit history under refs/notes/commits, mapping commit ids to note text. Gerrit: refs/changes/<last 2 digits>/<change>/<patch set>; NoteDb keeps the review itself (comments, votes, status) as commits under .../meta. The main and v0.13.1 hashes are real (everlock repo); the others are illustrative.
If it's text, people have put it in Git. Turns out: a lot more.
Glitr (glitr.io): E2E-encrypted P2P messenger; a repo you own is the mailbox, WebRTC/Tor when both online, Git as fallback. Xandikos (xandikos.org): CalDAV/CardDAV; each calendar/address book a repo, each event/contact a file, every change a commit. Gollum: the repo is the wiki database. Hold My Docs (hmd.sool.dev): Markdown wiki with MCP access; AI edits are commits too. inGitDB (ingitdb.com): schema-validated YAML/JSON records; branch, merge, revert, bisect on data. nano-git-db: append-only text, Git's text merge combines concurrent edits field by field. Pages: Codeberg serves a `pages` branch; GitLab builds `public/` in CI; GitHub from a branch or an Actions build. Entire (entire.io): records AI agent sessions; checkpoints on `entire/checkpoints/v1` next to the code.
git-bug: issues as Git objects in dedicated refs, synced with push/pull; GitHub/GitLab bridges. git-native-issue: `git issue`, one ref per issue under refs/issues/, trailers hold state/labels. git-dit: every issue and comment a commit. grite (neul-labs): in-repo tracker for AI agents; append-only WAL ref, CRDT merges. git-cms, Shiplog, git-cas, git-locks, git-warp: all from the "Git Stunts" GitHub org, which uses plumbing (refs, trailers, object DB) as app storage. git-warp (not on slide): offline-first multi-writer causal graph DB. Source list: wiki-jens, "git-based projects".
Under the hood: SMTP + IMAP, CalDAV, CardDAV, WebDAV, OCI, the Immich and Bitwarden APIs, authoritative DNS, mDNS for .local, OAuth/OIDC provider. All in the one static binary, all data in Git. Admin: one command engine, exposed as the SSH console and as MCP tools.
All system data, including config (everlock-system store), lives in plain bare repos (data/<name>.git). Nothing is hidden behind a proprietary format: A backup is a `git clone`, an audit is `git log`, moving hardware is a `git push`, replication is a mirror, old versions are a `git show` away.
Git gives us history, atomicity and integrity, but clients speak CalDAV, CardDAV, IMAP, SMTP, WebDAV, the Bitwarden and Immich APIs, OCI. Between the two we need: protocol servers, authentication and authorization, domain logic (recurrence, IMAP UIDs, sync tokens), background jobs (thumbnails, indexes). That missing layer is what Everlock is: next slide.
Frontends (frontend-*): transport only. Framing, TLS, auth, routing; no domain logic. Backends (backend-*): domain logic, transport-agnostic; they must not import russh, axum or any other transport library. Primitives: versioned-storage (Git), user registry, job scheduler; always on. Fills the "?" from the previous slide.
Story: every sync protocol reinvents version control, with its own words. 1. A commit = "something changed". Every WebDAV PUT/MOVE/DELETE, every delivered mail, every vault edit is exactly one commit. The share's history is a git log: audit and undo come for free (history(), read_at()). 2. A commit id = "the state of everything". CalDAV/CardDAV sync tokens and the Bitwarden revisionDate are derived from the store's commit id. "What changed since token X?" = list_at(X) diffed against now. No extra sync database. 3. A blob id = "the state of one file". ETag / If-Match compare the content id; a stale write fails inside the write lock (commit_checked + Precondition). 4. Content addressing = "same bytes, same id". OCI uploads stage a blob, then StoreOp::Copy points the digest path at it: a new reference, zero bytes copied.
IMAP UIDs: mailbox.toml { next_uid, uidvalidity }; take the value, write msg-{uid}.eml, bump the counter, all in one commit. next_uid never decreases. Folders: the obvious mapping (directories) isn't always right; the folder is a sidecar tag, so MOVE is a metadata edit, not a rename. Two clients: Git's default is last writer wins on a path. Fix: let seen = Precondition { path, expected: store.content_id(&path)? }; store.commit_checked(&[seen], ops, "update the record")?; // Err(PreconditionFailed) The check runs inside the same serialization as the commit. Same idea as the ETag / If-Match row on the previous slide.
Multi-GB: write_stream / read_stream hash and compress straight into the object DB, never a Vec<u8> of the whole video or layer. Disk space: per-repo retention window plus a daily git.gc job. Truncation rewrites history, so every retained commit gets a new id. Deleting a file doesn't forget it until then. Search: derived indexes are caches, rebuildable from the store, rebuilt by jobs. Async: gix is sync, the server is tokio. Argon2, keygen and gc once ran on the SSH reactor (UX review, July 2026).
Storage, protocol servers, adapters and background jobs: one process, one binary. The default answer today is microservices and containers. Ask the room: who would run their mail server and their password vault in the same process?
Self-contained: statically linked (musl), every frontend and backend compiled in, enabled at runtime. Strongly typed: modules talk through Rust traits (Store, capability registry), not JSON over a network; a breaking change is a compile error, not an outage. Updateable: daily self-update job fetches from everlock.sh, verifies SHA-256, swaps the file, hands the sockets to the new process (seconds of downtime); previous binary kept as everlock.old for a one-step rollback. Dependencies: Cargo.lock pins every crate; embed over execute, no git or openssl on the host to drift. Non-breaking: one version number for everything; no "mail service v3 needs storage service v5". Forward and backward: data and binary move as a pair. Going back means everlock.old plus resetting each store's ref to the commit before the update; the stores are plain bare repos, so that's ordinary git. Writes made after the update are still in history and can be replayed or cherry-picked.
Model: MiniCPM-V 4.6 Thinking, a vision model (slices an image into an overview plus a grid, so small text in screenshots survives). Weights are embedded at compile time by the everlock-ai-runtime crate; gguf-runner is self-developed (github.com/apimeister/gguf-runner). Two lanes on the same weights: interactive (admin /ai prompts, 32K context) and background (image captions, 16K context, SCHED_IDLE on Linux), so captioning never delays an admin prompt and yields the CPU to mail, git and HTTP. Admin assistant: free-text input in the SSH REPL, the handbook as system prompt, a search_docs tool over the docs. Captioning: backend-image-http reuses the loaded runtime through the ImageInferenceProvider trait, no second copy of the model.
Capability lookup in code: if let Some(git) = ctx.backends.get::<dyn GitBackend>("git") { router.mount_git(git); } BackendRegistry is a type-erased map keyed by capability name.
Divider. A single binary with 37 crates can turn into a ball of mud quickly. These five rules are written down in the repo (agents.md, module-design-principles.md) and enforced in review; they're what keeps the monolith from becoming one.
agents.md calls this "non-negotiable": no std::process::Command, ever. Why: subprocesses break the static-binary contract, add shell-injection surface, leak environment variables, and need tools installed on the host.
agents.md / architecture.md: every feature belongs to exactly one layer; put code in the wrong layer and refactor it before merging. A backend can be compiled and tested without any networking library. Git: backend-git owns repos, jobs and storage; backend-git-ssh and backend-git-http are thin transports that register their own capability.
primitives.md: "the git repo IS the store — no WAL, no SQLite". Checked in code: Cargo.lock has no database crate; users and credentials are TOML files in the system store under identity/, every change a commit. No module reads a config or data file from disk: the frontend-http vhosts, TLS certificate PEMs, DNS zones, module enable flags all live in stores. Checked in code: the only direct filesystem access outside the stores is git's own internals, /dev/urandom, build-time model packing, the local `everlock site preview` command, and the self-update download staging file.
module-system.md: "Every module always compiles into the binary; the enabled flag decides what runs. The workspace defines no Cargo features at all." module-design-principles.md anti-pattern: #[cfg(feature = ...)] around runtime logic. Principle 5: missing capabilities degrade gracefully; the error must name the missing module by config flag.
module-design-principles.md, rules 11 and 12. Inside: one workspace, one binary, no external consumers of the module system, so compatibility shims are pure overhead. At the edge: operators script Everlock; a flag rename silently breaks deployments in ways CI won't catch. Wire protocols follow their standards.
Registry: dtz-containerregistry-api (DownToZero), first commit 25 Dec 2023. Its OCI layer was extracted into apimeister-registry (22 May 2026), which now backs both DTZ and Everlock's backend-oci-http. Photos: apimeister-photos, 7 Feb 2026. Everlock: first commit 2 May 2026. Vault: apimeister-vault, 2 Jul 2026. Releases: 17 tags, v0.3.0 (27 Jun 2026) to v0.14.0 (12 Nov 2026). Code: 193.6k lines in 340 .rs files, up from 124.5k at v0.13.1 a week earlier; the coverage push drove it (1.6k to 2.9k test functions). Tests: 2,868 in the last coverage run, 94.3% line coverage (docs/test-coverage.md, 12 Nov 2026); the v0.13.1 doc recorded 80.8%. Cargo.lock: 774 packages. Binary: ~1.6 GB per the distribution doc, ~1.8 GB download per the website; almost all of it is the embedded MiniCPM-V model. Static musl build.
Real terminal output from the dev laptop (mba-2). AI model (docs/backends/ai.md): MiniCPM-V 4.6 Thinking, MiniCPM-V-4_6-Thinking-Q6_K.gguf (language) 600 MB, mmproj-MiniCPM-V-4_6-Thinking-F16.gguf (vision sidecar) 1109 MB. Docs: 63.5k lines in 223 Markdown files, incl. website and docs/chats.
Compared against the smallest business plan of each suite. Rows 1 to 4 overlap: same job, but Everlock speaks the open protocols, so the client is whatever app you already use. Rows 5 and 6 are the honest gap: no office suite, no chat, no meetings. Rows 7 and 8 are what the suites sell elsewhere or not at all: a shared vault (Chrome and Edge only have their built-in password managers), Git hosting with CI, a container registry, DNS. Google's 30 GB is pooled and shared by mail, files and photos. Basic's Office apps are web and mobile only. SharePoint has no public websites. If asked about price (Germany, annual plan, excl. VAT, 15 Nov 2026): Starter 6,80 €, Basic 6,07 € per user/month; Everlock is MIT, plus your own hardware. Sources: workspace.google.com/intl/de/pricing.html; Microsoft's plans page and its German-language pricing page (de-at). microsoft.com/de-de timed out on 15 Nov, so re-check the Microsoft cells before the talk.
The top strip is the mainstream pick per job, not the leanest one. The point is everything below it: what you run in addition to the thing you wanted. Count: 4 database servers (3x PostgreSQL, MariaDB) and 4 cache servers of 3 kinds (Redis twice, Valkey, Memcached), plus 3 SQLite files (Forgejo, Vaultwarden, PowerDNS). The PostgreSQLs don't simply merge: Immich ships its own image with the VectorChord extension. Web + PHP: mailcow runs nginx and PHP-FPM as two containers; Nextcloud wants Apache or nginx plus PHP 8.3+ (with Apache's mod_php the two share a process). Bottom line: 8 projects + 4 + 4 + 4 + 6 = 26 things, each with its own upstream releases. Two updates a year each is a deliberately low assumption: 52 a year, one every week. Fair caveat: some arrive bundled (mailcow updates its containers together, Immich ships the ML service with the server), so it is fewer than 52 maintenance windows, but each of the 26 still has its own releases and security fixes. Backups and config come on top. If asked for the Everlock number: one binary, one self-update. mailcow: 18 services in its docker-compose.yml (Postfix, Dovecot, Rspamd, SOGo, MariaDB, Redis, Memcached, ClamAV, Unbound, nginx, PHP-FPM, ...). Nextcloud: PostgreSQL or MariaDB recommended, SQLite "only for testing and minimal instances"; Redis recommended for file locking, not required; cron recommended for background jobs. Immich: server, machine learning, Valkey, PostgreSQL 14 + VectorChord. Forgejo: SQLite recommended for low to moderate activity, MySQL or PostgreSQL for high. The Runner is installed separately and runs jobs in Docker/Podman or LXC (host mode has no isolation). Storage is local disk by default or an S3-compatible server (tested with MinIO and Garage). OCI registry built in, no Pages feature, hence Caddy plus a deploy job. Vaultwarden: SQLite by default, MySQL or PostgreSQL possible. Keycloak: the default dev-file database is "not suitable for production". PowerDNS: generic SQL backends (MySQL, PostgreSQL, SQLite), also LMDB and BIND. Fair objection: leaner picks exist. Stalwart (Rust) is one server for mail, calendars, contacts and files; Vaultwarden and Forgejo on SQLite are light. S3 is optional everywhere in this stack, so it is neither on the slide nor in the count; it becomes a real row with GitLab or a standalone registry. Around all of it: a backup job per database, an upgrade path and a config format per project, separate user lists (hence Keycloak). Sources (checked 15 Nov 2026): docker-compose.yml of immich-app/immich and mailcow/mailcow-dockerized; admin docs of Nextcloud 36, Forgejo 17, Keycloak (server/db) and PowerDNS (backends); Vaultwarden .env.template; stalw.art.