chore: restart the repository with a clean history
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s

Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
This commit is contained in:
fristy committed 2026-11-10 11:31:13 +03:00
commit 650807c1fb
438 files changed
+45070

No files matched your search

@@ -0,0 +1,52 @@
const BOX = { width: 92, height: 42, radius: 10 };
const GAP = 40;
const PAD = 4;
const WIDTH = BOX.width * 3 + GAP * 2 + PAD * 2;
const HEIGHT = BOX.height + PAD * 2;
const MONO = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
const CHAINS = {
acme: [
{ label: "Visitor", port: "https" },
{ label: "frislit", port: ":443", accent: true },
],
proxy: [
{ label: "Visitor", port: "https" },
{ label: "nginx", port: ":443" },
{ label: "frislit", port: ":8080", accent: true },
],
};
export const TlsDiagram = ({ mode }) => {
const chain = CHAINS[mode] || CHAINS.proxy;
const span = chain.length * BOX.width + (chain.length - 1) * GAP;
const left = (WIDTH - span) / 2;
return (
<svg className="mode-diagram" viewBox={`0 0 ${WIDTH} ${HEIGHT}`} role="img"
aria-label={mode === "acme"
? "Visitors reach frislit directly over HTTPS"
: "Visitors reach your proxy, which forwards to frislit over plain HTTP"}>
{chain.map((node, index) => {
const x = left + index * (BOX.width + GAP);
return (
<g key={node.label}>
<rect x={x} y={PAD} width={BOX.width} height={BOX.height} rx={BOX.radius}
fill="var(--surface-raised)"
stroke={node.accent ? "var(--primary)" : "var(--border-strong)"} />
<text x={x + BOX.width / 2} y={PAD + 18} fontSize="11" textAnchor="middle"
fill="var(--text)">{node.label}</text>
<text x={x + BOX.width / 2} y={PAD + 31} fontSize="10" textAnchor="middle" fontFamily={MONO}
fill={node.accent ? "var(--primary-bright)" : "var(--muted)"}>{node.port}</text>
{index < chain.length - 1 && (
<path d={`M${x + BOX.width + 8} ${PAD + BOX.height / 2} h${GAP - 16} m-5 -5 l5 5 -5 5`}
fill="none" stroke="var(--border-strong)" strokeWidth="1.5"
strokeLinecap="round" strokeLinejoin="round" />
)}
</g>
);
})}
</svg>
);
};