Dashboard
Manage your tasks from the browser with tloop dashboard.
tloop dashboardtloop dashboard is running. Open this link to sign in:
http://127.0.0.1:4897/?token=8Jm2v...
Anyone with the link can run commands as you, so don't share it. Ctrl-C stops the dashboard.The command opens the link in your browser. The dashboard shows every task with its status and last run, and lets you add, edit, start, stop, run and delete tasks, and read each run's log. It runs until you press Ctrl-C, and nothing is left running after.
What you can do
| On the page | Same as |
|---|---|
| The task list, with status, interval, hours and the last run | tloop list |
| A task's details and its runs, newest first | tloop info <id> and tloop logs <id> |
| New task and Edit | tloop add and tloop edit <id> |
| Start and Stop | tloop start <id> and tloop stop <id> |
| Run now | tloop trigger <id> |
| Delete | tloop remove <id> |
With hundreds of tasks, search by name, command or ID (press /), and filter to the ones whose last run failed. A task's runs load 50 at a time, newest first, and filter to failed or skipped runs. A log over 256 KB shows its last 256 KB, and the full file stays in ~/.tloop/logs/<id>/.
The dashboard uses the same checks as the CLI, so a task that tloop add would reject is rejected here too, with the same message. The edit form can also clear a task's folder and hours, which tloop edit can't.
Tasks you add or edit here get the PATH, HOME and SHELL of the terminal you ran tloop dashboard in, the same as when you run tloop add there.
Flags
| Flag | Default | What it does |
|---|---|---|
--port <port> | 4897 | The port on 127.0.0.1. When it's busy, tloop picks a free one and prints it |
--no-open | off | Print the link without opening the browser |
Who can use it
The dashboard can create commands that run as you, so it only answers requests from your own browser on your own Mac:
- It listens on 127.0.0.1, so other machines on your network can't reach it.
- Every start makes a new random token. The printed link trades it for a cookie that only this address gets, and the token leaves the address bar.
- It only answers when the browser asked for 127.0.0.1 or localhost on its port. A web page that points its own domain at your Mac gets nothing back.
- A change needs a request from the dashboard's own page. A form or script on another site can't add or delete a task, even while you're signed in.
Treat the link like a password. If you shared it by mistake, press Ctrl-C and start tloop dashboard again: the old link stops working.
The app isn't built
If you installed from source and the page says the app isn't built, build it once in your checkout:
pnpm build:dashboard