Frameworks

Hono

Mount Workbench in a Hono app with @getworkbench/hono — the edge-ready Web Standard router.

Install

Shell
npm i @getworkbench/hono bullmq hono

Or use the CLI:

$
npx @getworkbench/cli init

Mount

Add Workbench as a sub-app route:

TypeScript
import { Hono } from "hono";
import { Queue } from "bullmq";
import { workbench } from "@getworkbench/hono";

const app = new Hono();
const emailQueue = new Queue("email", {
  connection: { url: process.env.REDIS_URL! },
});

app.route("/jobs", workbench({ queues: [emailQueue] }));

export default app;

Visit http://localhost:PORT/jobs.

Resources

Configuration

See Configuration for all workbench() options including auth, alerts, and Redis auto-discovery.