Frameworks
Hono
Mount Workbench in a Hono app with @getworkbench/hono — the edge-ready Web Standard router.
Install
Shell
npm i @getworkbench/hono bullmq honoOr use the CLI:
$
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
- npm: @getworkbench/hono
- Example: examples/with-hono
- Blog: BullMQ dashboard for Hono
Configuration
See Configuration for all workbench() options including auth, alerts, and Redis auto-discovery.