[docs] Licence: CPAL-1.0 in README (with the credit), CLAUDE.md, decision 9 and the docs

This commit is contained in:
2026-11-23 00:19:23 +01:00
parent b20b2a69e5
commit cc16eeade6
7 changed files with 30 additions and 9 deletions
+12 -1
View File
@@ -12,7 +12,7 @@ Legend: [S] sourced · [J] judgment · [M] decided by Mark.
6. Routes live in a git repo (private: ianitor-routes), one TOML file per host, schema-validated. Every change is a commit, applied live without nixos-rebuild. Rebuild only for service-level changes (ports, version). The engine is switched at runtime by control (§3, §4); decided 2026-11-07, replacing "engine" in the rebuild list. [M]
7. Two processes: ianitor-edge (data plane) and ianitor-control (API + UI). Traffic keeps flowing if control crashes. [M]
8. Own small CA in crates/core using rcgen. No internal ACME server in v1. [M]
9. One public MPL-2.0 monorepo on Gitea; read-only GitHub mirror for discovery. Mark's server deployment stays in his NixOS flake. [M]
9. One public monorepo on Gitea, CPAL-1.0 (Mark, 2026-11-23; MPL-2.0 up to 0.2.0); read-only GitHub mirror for discovery. Mark's server deployment stays in his NixOS flake. [M]
10. Branding: "Ianitor Domi", with "Built, tested and signed by Fabrica Domi" on the repo and release page. [M]
11. Support: free source; "Adopt a red panda" — 80% developer, 20% Red Panda Network, remitted yearly with a published receipt. [M]
12. Cut-over: only after all five test layers are green and two weeks beside Caddy on low-risk hosts. [M]
@@ -170,6 +170,17 @@ Identity gate, tunnel, Domi templates, ACME server, HTTP/3, migrating public sit
## 10. Handover
(Rewritten at the end of every session: what changed, what was not verified, which build is deployed, the next step.)
**2026-11-23: Ianitor is CPAL-1.0 (Mark's decision for every public Domi repo; F:Akcedomi-licence).**
- **Changed:** LICENSE is the kit's template with only `{ORIGINAL_CODE}` = Ianitor. Every header (166 files) is an
`SPDX-License-Identifier: CPAL-1.0` notice; Cargo.toml, the fuzz crate, the three package.json, the Nix package
meta (`lib.licenses.cpal10`), the OpenAPI document, README, CLAUDE.md, decision 9 and the docs say CPAL-1.0.
0.2.0 and earlier stay MPL-2.0. The web UI shows the Exhibit B credit (Built on Domi · Copyright (c) 2026 Marek
Novák · https://aula.marek-novak.cz) on every screen and in Settings, About (`apps/web/src/lib/credit.ts`); the
e2e real-data check leaves out exactly that credit.
- **Tests:** vitest 22; svelte-check clean; Playwright web 6/6, aula 5/5; `cargo check -p ianitor-control --tests`
and control's API tests 5/5 in WSL. The rest of the Rust suites were not rerun (headers only).
- **Deployed:** nothing. **Not verified:** the phone layout of the credit by eye; the Nix build (`cpal10`).
**2026-11-22: Phase 4, hardening and release.**
- **Changed:**
- Edge: a 60 s header deadline (slowloris), lookups on its own bounded resolver threads with one lookup per name, pipelining on both listeners, a proxy socket (`/run/ianitor-proxy/edge.sock`, sticky 3770) on which edge trusts Caddy's X-Forwarded-For, and `unix:` upstreams with a strict charset.
+1 -1
View File
@@ -50,7 +50,7 @@ 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
The source is free (CPAL-1.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.]
+2 -2
View File
@@ -7,7 +7,7 @@
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
CPAL-1.0. [link] #selfhosted #rust #nixos
## Show HN / Lobsters title and first comment
@@ -26,4 +26,4 @@ about Pingora as a library, rustls, or the rollback design.
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]
vydání. CPAL-1.0. [odkaz]
+1 -1
View File
@@ -1,6 +1,6 @@
# Support: adopt a red panda
Ianitor's source is free (MPL-2.0) and stays free. If it is useful to you and you want to give something back,
Ianitor's source is free (CPAL-1.0, which asks for the Built on Domi credit) and stays free. If it is useful to you and you want to give something back,
the model is the one decided at the start (ROADMAP §1.11):
- **80%** of what the project receives goes to its developer, for the time Ianitor takes.
+1 -1
View File
@@ -962,7 +962,7 @@ While Caddy serves, a notice at the top: "Caddy is serving, so these links do no
work again after switching back to Pingora."
Empty: book h3 "No share links" / "Make one from a host's menu (⋯), Share link."
**About**: "Ianitor Domi {version}", "Build {commit_short}", "MPL-2.0", "Built, tested and signed by
**About**: "Ianitor Domi {version}", "Build {commit_short}", "CPAL-1.0" with the Built on Domi credit (LICENSE Exhibit B; was "MPL-2.0"), "Built, tested and signed by
Fabrica Domi", link "Source on Gitea".
---