Hosting the dashboard
Run the read-only team dashboard on your own machine or server, over local checkouts of your repos.
The dashboard is a web app your team runs on its own machine or server. It reads a list of local checkouts and shows their specs, decisions and tickets in one place. It never writes to a repo and has no accounts, so access is whatever your hosting allows.
To see it first, the demo dashboard shows your own repos: sign in with GitHub and pick the ones to show. It only asks for read access.
What it shows
The dashboard answers four questions across every project: what is open, what is in progress, what is blocked, and what was decided recently.
| View | Shows |
|---|---|
| Overview | One sheet per repo: its counts, latest decisions and first open tickets |
| Tickets | Every open ticket across projects, by priority, with what blocks what. Filters for project, status, spec, assignee, priority and label live in the URL, so a filtered view can be shared |
| Decisions | Every decision, newest first, with what it supersedes |
| Projects | One row per repo: counts, check results, branch, commit and when it was last read |
| Project | One repo: specs with their open tickets, decisions, tickets, and each doc on its own page |
Changes since your last visit are marked with revision clouds. The dashboard remembers your last visit in the browser, not on the server.
Requirements
The dashboard lives in the docket-ship repo, in docket-ship-dashboard/. To
build it you need:
- Node.js 22.12 or later.
- Rust, with the WebAssembly target:
rustup target add wasm32-unknown-unknown. - The
wasm-bindgenCLI of the version the repo pins. The build tells you which one and how to install it if yours differs.
The build compiles docket-ship's core to WebAssembly, so the dashboard reads docs with the same code as the command-line tool.
Setup
git clone https://github.com/tralk331/docket-ship
cd docket-ship
npm install
cd docket-ship-dashboard
cp dashboard.config.example.json dashboard.config.json
List your repos in dashboard.config.json:
{
"refreshMinutes": 10,
"repos": [
{ "name": "web", "path": "../../checkouts/web", "webUrl": "https://github.com/acme/web" },
{ "name": "api", "path": "../../checkouts/api", "webUrl": "https://github.com/acme/api" }
]
}
| Key | Means |
|---|---|
refreshMinutes |
How often each checkout is read again |
name |
The project's name in the dashboard |
path |
A local checkout, relative to the config file |
webUrl |
Optional. The repo on GitHub, GitLab or Gitea, for "View file" links on each doc |
fileUrl |
Optional, for other hosts: a link template holding {path} and optionally {branch} |
Set DASHBOARD_CONFIG to keep the config file somewhere else.
Keeping checkouts current
The dashboard reads each checkout as it is on disk and never pulls. Keep the checkouts current yourself, for example with a scheduled job:
*/10 * * * * cd /srv/checkouts/web && git pull --ff-only
The Projects view shows the branch, the commit and when each repo was last read, so a stale checkout is easy to spot.
Running it
npm run build
npm start
npm start serves the dashboard on port 3000; set PORT and HOST to
change that. The dashboard has no sign-in of its own, so put it behind
whatever your team already uses for internal tools: a VPN, a reverse proxy
with authentication, or a private network.