Initial commit: host metrics dashboard (React/TS/Chakra, VictoriaMetrics)

This commit is contained in:
2026-09-19 07:43:43 +00:00
commit cb62525863
16 changed files with 3523 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# homelab-dashboard
Host metrics dashboard for the homelab fleet, rendered from VictoriaMetrics
(single-node on jupiter) in the HyprChrome design language.
## Stack
- React 19 + TypeScript + Vite
- Chakra UI v3 (theming only — layout/meters are custom FUI components)
- DepartureMono, industrial-cyberpunk palette (#0a0a0a / #e8722a / #ff6b4a)
## Data
- Browser queries VictoriaMetrics directly at http://jupiter.orbit.sol:8428 (CORS open)
- Hosts scraped by node_exporter: jupiter, mars, neptun, terra, mercury (mercury on a 15s job)
## Run in the homelab
Build and deploy per the mars hosting contract:
```sh
podman build -t localhost/homelab-dashboard .
podman run --restart=always -p 127.0.0.1:20002:80 localhost/homelab-dashboard
# register {"port": 20002} in the sites registry
```
Live at http://mars.sol/hostmetrics/
## Dev
```sh
npm install
npm run dev
```