[repo] Merge: main into feature/domi-ui (CPAL-1.0); @domi/ui v1.0.3 vendored (CPAL-1.0) with <DomiCredit /> and the README line

This commit is contained in:
2026-11-23 00:30:56 +01:00
194 changed files with 969 additions and 1227 deletions
+17 -7
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,19 +170,29 @@ 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-22: the web UI on @domi/ui, the shared Domi design system (docs/domi-ui.md). Open as a PR, not merged.**
- **Changed:** `@domi/ui` v1.0.2 vendored in packages/domi-ui (domi-design tools/vendor.mjs; MPL-2.0) and used as `workspace:*`; its fonts, roles (`data-domi-room="ianitor"`,
**2026-11-23: Ianitor is CPAL-1.0 (Mark's decision for every public Domi repo; F:\Akce\domi-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-23: the web UI on @domi/ui, the shared Domi design system (docs/domi-ui.md); PR 14, squash-merged.**
- **Changed:** `@domi/ui` v1.0.3 vendored in packages/domi-ui (domi-design tools/vendor.mjs; CPAL-1.0, unedited) and used as `workspace:*`; `<DomiCredit />` is the credit on every screen; its fonts, roles (`data-domi-room="ianitor"`,
the same hex) and controls replace Ianitor's copies. Buttons are its Button through Ianitor's adapter (desktop sizes
kept); every text field is its TextField with a seal; checkboxes, the secret picker and segmented controls are its
components. Ianitor's 22 role names are renamed to `--domi-*`; its own tokens and components stay in packages/ui.
Disabled buttons are natively disabled now (their reasons are visible text). apps/web's tsconfig sets `allowJs`
for @domi/ui's script-less Strike.svelte.
- **Tests:** vitest 21; svelte-check clean; Playwright web 6/6 (the Apply lookup is exact now), aula 5/5; 13 screens
- **Tests:** vitest 23; svelte-check clean; Playwright web 6/6 (the Apply lookup is exact now), aula 5/5; 13 screens
compared before and after (in the PR). No Rust change.
- **Deployed:** nothing.
- **Before merging:** `fetchPnpmDeps`'s hash in deploy/nixos/web.nix is `lib.fakeHash` (no Nix here; the vendored
package means the Nix build needs no Gitea login). Paste the hash `nix build .#ianitor-web` reports, then merge.
- **Not verified:** the Nix build; Fabrica's runners installing @domi/ui; a phone (the 48 px touch sizes).
- **Nix:** `fetchPnpmDeps`'s hash is the one the NixOS runner reported (no Gitea login needed any more).
- **Not verified:** the full Nix build of .#ianitor; a phone (the 48 px touch sizes).
**2026-11-22: Phase 4, hardening and release.**
+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
@@ -966,7 +966,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".
---