Packages
Web dashboard
@aip-tech/braid-plugin-ui adds a browser dashboard to your
stack: live status, start, stop and restart buttons, and each process's
logs. It's optional, and served by the stack itself.
-
Install
npm install --save-dev @aip-tech/braid-plugin-uipnpm add --save-dev @aip-tech/braid-plugin-uiyarn add --dev @aip-tech/braid-plugin-ui -
Add it to your config
braid.config.tsexport default defineConfig({ processes: [/* ... */], plugins: ["@aip-tech/braid-plugin-ui"], }); -
Open the link braid prints
[plugin:ui] dashboard ready - open http://127.0.0.1:54213/#token=… in your browserThe page keeps its access token for the life of the tab, so reloading works. A new tab, or a restarted stack, needs the link again.
What you get
Live status
Every process's state, pid, CPU, memory, restarts and uptime, refreshed every 2 seconds.
Controls
Start, stop and restart buttons, using the same routes as the CLI.
Logs
Each process's output, live and in color, with older lines a click away.
Click a process's name for its own page, with small CPU and memory charts and its log.
Options
plugins: [["@aip-tech/braid-plugin-ui", { path: "/dashboard/" }]],
| Option | Type | Default | Description |
|---|---|---|---|
path | string | "/" | URL prefix to serve the dashboard under. End it with /. |
Compatibility
Version 0.7 needs @aip-tech/braid 0.10 or later, declared as a
peer dependency, and Node 22.18 or later. The source is in
packages/ui-plugin.