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 with zero dependencies:

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_TOKEN · BUNQUEUE_START_CMD. 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.

Next steps

Already have a server?

The dashboard never imports or modifies bunqueue, it only talks to its HTTP API, so you can point it at any bunqueue server you already run.

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