Commit Graph
7 Commits
Author SHA1 Message Date
aziis98 726800a366 server: add --check flag to validate config and exit
Loads and expands the config, prints a per-group machine summary, and
exits without starting the server (no db, probes, or ports needed).
README flags table updated.
2026-08-02 00:43:00 +02:00
aziis98 41a01244c4 server: expand {a,b}/{1..10} host patterns in config; fuzz + tests
Hosts accept brace groups expanded at load time: enumeration {1,2,3},
inclusive ranges {2..5,8..10} with '..' syntax, and labels {a3,a4};
several groups multiply in cartesian fashion. Leading zeros are
preserved, each expanded machine gets its host as unique ID/name.

Malformed patterns (unmatched/nested braces, non-integer or descending
ranges, extra dots) and patterns expanding past 10000 machines fail at
startup. Adds table tests plus a FuzzExpandHostPattern target; the
safety cap keeps fuzzing and real configs from blowing up memory.
2026-08-01 11:27:59 +02:00
aziis98 22706aad66 docs: add isolated copy-paste ssh/metric examples to README and example.config.yaml 2026-08-01 04:20:11 +02:00
aziis98 1f3e058484 screenshots: generate light/dark/collage in one run with mtime caching; collage 1080p 2026-08-01 03:56:44 +02:00
aziis98 a32c9ed615 security: FileServer static serving (path traversal fix), 5s refresh cooldown, dockerignore 2026-08-01 03:29:20 +02:00
aziis98 dea6447dd9 server: add --mock mode with generated data; scripts/generate-screenshot for README image 2026-08-01 03:07:52 +02:00
aziis98 95eab7f584 statuspage: monitor lab/home machines with a small status page
Go backend probes machines over ICMP/TCP, runs a configurable script over
SSH for checks and numeric metrics, and keeps history in SQLite. Preact +
Vite frontend shows machine groups, per-machine metric plots, and
cross-machine metric aggregates.

- server/: status, history, metrics, aggregate, refresh APIs
- src/: Preact + Vite frontend
- Single YAML config; documented example in example.config.yaml
- SQLite data stored under data.volume/ (bind-mounted in Docker)
- Multi-stage alpine Dockerfile with BuildKit cache mounts
- LICENSE: AGPL-3.0
2026-08-01 02:27:47 +02:00