29 lines
873 B
Markdown
29 lines
873 B
Markdown
# 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
|
|
```
|