Skip to content

TRUSS Desktop

TRUSS Desktop is the visual side of TRUSS, in your browser. It shows which flows are registered, what is running, and what happened, with buttons for the things you would otherwise type.

Dashboard

Start the daemon, then open Desktop:

$ truss daemon start
$ truss desktop

truss desktop opens your browser. truss desktop --no-open only prints the address.

  • Desktop shows what the daemon knows, so the daemon must run. Desktop never starts or stops it.
  • The address contains a key that changes every time the daemon restarts. After a restart, run truss desktop again.
  • If the daemon stops while the page is open, Desktop says Daemon unreachable and reconnects when the daemon is back.
  • To try Desktop without a daemon, use demo mode.

Desktop is one page with a sidebar, a header and the content.

  • Sidebar: the pages, the active runs and the daemon’s state. Collapse it with the button at the bottom left, or press [.
  • Header: breadcrumbs, Jump to… (press /) to go straight to any flow or run, the connection and its delay, the theme toggle and the settings menu.
  • Refresh: pages update by themselves about every second and a half. You can change that in Settings.
Page What it is for
Dashboard See today at a glance: active runs, the next scheduled runs, recent runs.
Flows Register, run, pause and unregister flows; open one flow.
Runs Find any run; open one to watch its steps and log.
Monitor and Settings Check the health of the machine and the daemon; set how Desktop looks.

A run started with truss run --track appears next to the daemon’s own, with a local badge, and shows its steps and log live. You can cancel it from Desktop. Re-run is not offered, because nothing registered stands behind a local run.

$ truss desktop --demo
TRUSS Desktop (demo, sample data, no daemon): http://127.0.0.1:53817/#demo
Press Ctrl-C to stop.

Demo mode needs no daemon. It shows made-up flows, runs that progress while you watch, a failure, a queued run, a paused schedule and a day of history. Run, cancel, pause, resume, register and unregister all work on that sample data. Nothing is saved and nothing leaves the page. The header says Demo data, and Leave demo in the settings menu ends it. A real daemon’s page always shows real data.