Read-only PWA dashboard for monitoring a home network of OpenWrt/GL.iNet routers: fleet status, per-router health, connected devices, WireGuard peers, AdGuard Home stats and alerts — in real time.
app/): React 19 + Vite + Tailwind + shadcn/ui. Installable PWA.server-go/): Go (std net/http, modernc.org/sqlite, single
static binary with the frontend embedded). Multi-user auth (session cookie +
bcrypt), SSE live updates (5 s), demo/live adapters. systemd unit:
deploy/netpulse-go.service.server/): the original Node + Hono implementation,
archived as fallback (not deleted — see server/README.md for the
fallback runbook). Automatic migration from its database happens on the
first Go boot.collector/): Go sidecar that probes TCP latency to each
router (reads the router list from netpulse.db read-only) and stores its
own time-series SQLite (metrics.db, raw → 5-min buckets → daily).
TODO: server-go should read these long-term series from the collector
instead of relying only on its own 5-s metrics table.ed25519 keypair and shows the
public key in Settings — you authorize it on each router you want to monitor
(/etc/dropbear/authorized_keys). Read-only polling: ubus, /proc, iwinfo,
bridge fdb, wg show.curl -fsSL https://raw.githubusercontent.com/gnacho/netpulse/main/install.sh | sh
Detects your distro/arch (amd64, arm64, armv7), downloads the verified release
(sha256 against checksums.txt), creates a sandboxed netpulse systemd
service and prints the initial admin password. Requires systemd. Update =
re-run the same line; remove with sh install.sh --uninstall. Inspect first if
you prefer: curl -fsSL …/install.sh -o install.sh && less install.sh.
Optional latency sidecar (time-series of TCP probes to each router):
curl -fsSL https://raw.githubusercontent.com/gnacho/netpulse/main/install-collector.sh | sh
Stable binaries are published per v* tag (goreleaser,
.github/workflows/release.yml); rolling per-commit builds live in the
go-latest prerelease for the in-app updater.
cd server
npm install
cp .env.example .env # set AUTH_PASS
npm run dev # backend on :3000
cd ../app
npm install
npm run dev # frontend on :5173 (proxies /api → :3000)
Production: cd app && npm run build, then run the backend with
NODE_ENV=production — it serves app/dist + /api/* on :3000.
systemd unit: deploy/netpulse.service.
cd server && npm test