From c7eb190c3b931a243e9ad324b72710e803409ffc Mon Sep 17 00:00:00 2001 From: mnovak Date: Tue, 10 Nov 2026 21:28:10 +0100 Subject: [PATCH] [docs] Launch: drafts of a blog post and short posts (not published) --- docs/launch/blog-post.md | 58 ++++++++++++++++++++++++++++++++++++++ docs/launch/short-posts.md | 29 +++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 docs/launch/blog-post.md create mode 100644 docs/launch/short-posts.md diff --git a/docs/launch/blog-post.md b/docs/launch/blog-post.md new file mode 100644 index 0000000..219856f --- /dev/null +++ b/docs/launch/blog-post.md @@ -0,0 +1,58 @@ + + +# Ianitor Domi: a doorkeeper for a home server + +My home server runs a dozen small services behind Caddy. Caddy has been flawless. What I kept wanting was not a +better proxy but a better way to change it: every new host was an edit on the server, a `nixos-rebuild`, and a hope +that I had not broken the other eleven. So I built Ianitor (Latin for doorkeeper): a reverse proxy on Cloudflare's +Pingora with the workflow around it that I wanted. + +## What it does + +- **Routes are commits.** One TOML file per host in a git repository. The web UI (or the API) commits the change, + edge loads it in place, and for sixty seconds control watches the host's health. If it fails, the commit is + reverted and the old config comes back on its own. Undo is one click, and any older state can be restored. +- **Two processes.** Edge serves traffic and decides nothing. Control, which edits the routes, never listens on + anything but loopback and Unix sockets. If control dies, traffic carries on. +- **A small CA for the house.** The root key lives offline; the server holds an intermediate that is renewed once + a year. Devices get certificates for mTLS, so a phone can reach a service no one else can. +- **Share links.** An expiring link to one path of a service, optionally with a password, checked by edge without + any database. +- **Caddy stays.** The same route model compiles to Caddy JSON, and one click switches engines at runtime. A + differential test suite sends the same requests to both on every build and compares the answers. + +## Why Pingora, and what it costs + +Pingora is a library: the request path is ordinary Rust that I own, from the host lookup through Authelia's +forward-auth to the share-link check, with no configuration language in between. What it costs: Pingora's Windows +support is best effort, its rustls backend is labelled experimental, and some things Caddy does for free I had to +match by hand (a deadline for slow request headers, pipelined requests, a resolver that cannot be wedged by a dead +DNS server). Each of those now has a test. + +The benchmarks are in the repository as data, run on [machine] against Caddy [version] on the same route. In short: +[Ianitor is ahead on … / Caddy is ahead on …]. Edge runs with two worker threads by design, so Caddy is measured +both as it starts and pinned to two. I publish the rows where Caddy wins, because a home proxy should be chosen for +how it is run, not for a number. + +## Verifiable, and signed + +Every release is a `SHA256SUMS` signed through Custos with my release key, over the notes, screenshots of the UI, +and the NAR hashes of the Nix build. The build is reproducible: rebuild the tag and you get the same bytes +(docs/verify.md tells you how). + +## Five test layers + +Differential tests against Caddy; h2spec and testssl.sh; cargo-fuzz on route files, share tokens and the CA's +parsers; NixOS VM tests for rollback, the engine switch and the CA; load and soak runs. They run in a Fabrica +pipeline on every push to main. + +## Adopt a red panda + +The source is free (MPL-2.0). If it helps you, there is a support model: a fifth of anything the project receives +goes to the Red Panda Network once a year, and the receipt is published. [Link to docs/support.md once the route is +confirmed.] + +Ianitor is one person's project for one home. If that is your situation too, it may save you a few evenings. + +[Gitea link] · [GitHub mirror link, when it exists] diff --git a/docs/launch/short-posts.md b/docs/launch/short-posts.md new file mode 100644 index 0000000..458c49f --- /dev/null +++ b/docs/launch/short-posts.md @@ -0,0 +1,29 @@ + + +# Short posts (drafts) + +## Mastodon / Fediverse (under 500 characters) + +Ianitor Domi 1.0: a reverse proxy for a home server, on Cloudflare's Pingora. Routes are git commits that roll +themselves back when a host stops answering; a small CA for your devices (mTLS); share links; Authelia forward-auth; +and Caddy as a one-click fallback, kept honest by differential tests. Reproducible Nix build, signed release. +MPL-2.0. [link] #selfhosted #rust #nixos + +## Show HN / Lobsters title and first comment + +**Title:** Show HN: Ianitor – a home-server reverse proxy on Pingora, with git-backed routes and auto-rollback + +**First comment:** +I run a dozen services at home behind Caddy and wanted changes to be boring: every route is a commit, applied live, +watched for 60 s, reverted on its own if the host fails. Ianitor is that workflow on top of Pingora, plus a small +CA (offline root, yearly intermediate, device certificates for mTLS), share links checked statelessly by the proxy, +and Caddy as a fallback engine compiled from the same model. The same request corpus goes to both engines on every +build. Benchmarks against Caddy are in the repo as data, including where Caddy is faster. Happy to answer questions +about Pingora as a library, rustls, or the rollback design. + +## For the Czech self-hosting crowd (Czech) + +Ianitor Domi 1.0: reverzní proxy pro domácí server postavená na Pingora od Cloudflare. Každá změna rout je commit, +nasadí se za běhu a když služba do minuty neodpovídá, sama se vrátí. K tomu malá certifikační autorita pro vlastní +zařízení, sdílené odkazy a Caddy jako záložní engine na jedno kliknutí. Reprodukovatelný Nix build, podepsané +vydání. MPL-2.0. [odkaz]