Skip to main content
The dashboard is a Next.js app that reads and drives a running kernel over the HTTP API. It lives in its own repository, rebuno/dashboard.

Pages

Reaching the kernel

The browser never calls the kernel. Every request goes to the dashboard’s own /api/v0/* route. That route forwards it to REBUNO_URL and attaches Authorization: Bearer $REBUNO_API_KEY. The token never reaches the browser.
Give it a token with the access you want the dashboard to have. Anyone who can reach the dashboard gets that access. Put it behind your own authentication before exposing it.

Metrics

Set PROMETHEUS_URL and the metrics page queries Prometheus over a time range you pick on the page. With it unset the page scrapes the kernel’s /metrics endpoint instead. Those are one process’s in-memory counters. They are cumulative since that replica started, so no time range applies. Across replicas you see whichever one answered. The page labels which source it used. Point a real Prometheus at the kernel for anything beyond local development.

Configuration

Running it

Needs Node 20.9 or later and a kernel to talk to. rebuno dev is enough for local work. It runs with auth disabled, so it needs no REBUNO_API_KEY.

Docker

The image is built from deploy/Dockerfile and published to ghcr.io/rebuno/dashboard on tagged releases. It serves a standalone Next.js build on port 3000: