Skip to content

Quickstart

Get the dashboard running in under a minute, then connect it to a bunqueue server. Prefer to look before you install? Open the live demo, the full dashboard running on sample data with no server needed.

Prerequisites

  • Bun 1.3 or newer.
  • A bunqueue server to drive, or let the control agent start one for you (step 3).

The one-liner: run from npm

No clone, no build, the bunqueue-dashboard npm package ships the prebuilt dashboard and installs the exact compatible Bunqueue client:

bash
bunx bunqueue-dashboard

Open http://127.0.0.1:8080. One process serves the UI, proxies /api/* to your bunqueue server (BUNQUEUE_URL, default http://localhost:6790), and runs the control agent on 127.0.0.1:6800 so the Server page can start / stop / restart bunqueue for you.

Configure with env vars: PORT · BIND_ADDR · BUNQUEUE_URL · AGENT_PORT · AGENT_ALLOWED_ORIGINS · AGENT_ALLOWED_HOSTS · AGENT_TOKEN · BUNQUEUE_TOKEN · TRUST_PROXY · BASE_PATH · BUNQUEUE_MANAGED · BUNQUEUE_START_CMD. LAN and reverse-proxy deployments require an explicit Host/origin allowlist plus AGENT_TOKEN for /agent and BUNQUEUE_TOKEN for /api; see PM2 deployment. To install it permanently instead of running via bunx:

bash
bun add -g bunqueue-dashboard   # or: npm i -g bunqueue-dashboard (still runs on Bun)
bunqueue-dashboard

Then jump to step 3. Prefer to hack on it or run the dev setup? Take the source route:

From source

1. Install

bash
git clone https://github.com/egeominotti/bunqueue-dashboard.git
cd bunqueue-dashboard
bun install

2. Run

bash
bun start

One command boots the control agent and the dashboard together, and stops both on Ctrl-C:

ServiceURLRole
Dashboardhttp://localhost:5273the UI (/api is proxied to :6790)
Control agenthttp://127.0.0.1:6800starts / stops / restarts the server process

Open http://localhost:5273.

3. Connect a server

Two ways, pick either:

  • Let the agent start one. Open Control ▸ Server, set the launch command, and press Start. The dashboard manages the process and tails its logs live. See Server Control.
  • Point at an existing server. Open Settings and set the server URL (and a bearer token if it runs with AUTH_TOKENS), or bake it in at build time with VITE_BUNQUEUE_URL.

When the all-in-one dashboard connects to a broker owned by systemd, Docker or Kubernetes, launch it with BUNQUEUE_MANAGED=0 BUNQUEUE_URL=http://127.0.0.1:6790. The Server page becomes an attach-only health view and all child-process controls are removed. Backup restore also fails closed because only the external supervisor can prove that the broker has released its database.

Next steps

Already have a server?

The dashboard never modifies Bunqueue. Most screens use its HTTP API; Flow, Workflow and backup operations go through the loopback agent using the pinned public Bunqueue client/CLI, so point the agent at the same server and data path.

Drives a bunqueue server over its public HTTP API plus a local control agent.