docs: bring README, docs, screenshots and changelog up to 1.6.0
Release / Plan (reuse the published image?) (push) Successful in 6s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 17s
Release / Gitea release (push) Skipped

Rewritten README and interface/configuration/CLI/Docker/support/architecture
docs (EN and pt-BR) from the 1.6.0 code; all 80 screenshots regenerated,
incidents pages added; changelog audited against the tags (1.4.0 date,
1.4.6/1.4.7 items, 1.5.0 details, 1.5.8 shipped inside 1.6.0, compare
links); compose and .env.example expose the enforce, egress, probe and
Tor settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-15 21:41:50 -03:00
1 parent 22ccde539b
commit 6941106172
103 files changed
+1255 -344

No files matched your search

+13 -3
View File
@@ -51,12 +51,21 @@ const pages = [
R("integrity", "integrity?r=7d"),
R("reports", "reports?r=7d"),
R("egress", "egress?r=7d", { wait: 2500, full: true }),
R("incidents", "incidents?r=30d", { wait: 2500 }),
{ id: "incident-detail", hash: async () => `#/incidents/${await commentedIncident()}?r=30d`, wait: 2500 },
];
const darkEN = pages.map((p) => p.id);
const only = (process.env.ONLY || "").split(",").filter(Boolean); // ONLY=incidents,egress: capture just these
const darkEN = pages.map((p) => p.id).filter((i) => !only.length || only.includes(i));
const darkPT = darkEN; // the pt-BR docs show every page
const light = ["overview", "geo-world", "live-flat", "ip-analysis", "defense", "egress", "campaigns", "slo"];
const mobile = ["overview", "threats", "live-flat", "ips", "defense", "egress", "campaigns", "errors", "slo"];
const light = ["overview", "geo-world", "live-flat", "ip-analysis", "defense", "egress", "campaigns", "slo", "incidents"];
const mobile = ["overview", "threats", "live-flat", "ips", "defense", "egress", "campaigns", "errors", "slo", "incidents"];
async function commentedIncident() {
const j = await (await fetch(`${hub}/api/v1/incidents?per_page=100`)).json();
const l = (j.items || []).slice().sort((a, b) => (b.comment_count || 0) - (a.comment_count || 0));
if (!l.length) throw new Error("no incident in the demo data (incident-detail)");
return encodeURIComponent(l[0].id);
}
async function firstCampaign() {
const r = await fetch(`${hub}/api/v1/campaigns?range=30d`);
const j = await r.json();
@@ -129,6 +138,7 @@ async function shoot1(p, { theme, lang, viewport, suffix }) {
try {
for (const p of pages) {
if (only.length && !only.includes(p.id)) continue;
if (darkEN.includes(p.id)) await shoot(p, { theme: "dark", lang: "en", viewport: DESKTOP, suffix: "dark" });
if (darkPT.includes(p.id)) await shoot(p, { theme: "dark", lang: "pt-BR", viewport: DESKTOP, suffix: "dark-pt" });
if (light.includes(p.id)) await shoot(p, { theme: "light", lang: "en", viewport: DESKTOP, suffix: "light" });