Using the dashboard

Updated

Open http://localhost:3000. Each call says what happened, how serious it is and what to do next: read the sentence, then take the first step. Four pages cover what needs you, who maintains your packages, what is installed and everything Crowsnest has called.

Before you start

The dashboard runs on your own machine at http://localhost:3000 and opens on Horizon. It reads from Crowsnest on port 8000, so start that first.

Start it withCommand
Docker Composedocker compose up from the Crowsnest folder
From sourcenpm run dev in packages/dashboard

Compose starts the dashboard and Crowsnest together; the steps are in the Quickstart. crowsnest start runs Crowsnest only, with no dashboard, but both read the same backend, so whatever the terminal finds also shows here. If the status at the top right says Offline, see Troubleshooting.

The dashboard carries no website pages. Its Docs and help links open this website.

The four pages

PageAddressWhat it answers
Horizon/What needs your attention now.
Lookout/lookoutWho maintains your packages, highest risk first.
Installed/holdEverything in the projects you have scanned.
Log/logEvery call Crowsnest has made, newest first.

Read a call

Each card has three parts.

PartWhat you see
What happenedOne sentence in plain words, such as "The person who maintains this package changed recently."
How seriousA word and marks: Hold has three, Watch two, Note one. Hold marked "urgent" is the most serious. Below it, how sure Crowsnest is: Very sure, Fairly sure or Worth a look.
What to doNumbered steps. The first is the one to take now.

Under the sentence are the package, its version and when it was found. "Used in 3 projects" opens the list of projects that use it. Show steps expands the steps in place. Identical calls are grouped on Horizon as "Also found 2 more times"; Log keeps each one. For a worked example, read What to do when Crowsnest says Hold.

Horizon

A sentence at the top gives the state, such as "All quiet from up here." or "2 packages need your attention." Under it are three numbers: Hold, Watch and Packages checked. Below are the five most serious calls, and See all in Log shows the rest. The chart at the bottom covers the last 30 days, with days that had a Hold marked in red.

Lookout

A ranked list of the people who publish the packages you use, highest risk first. Risk runs from 0 (low) to 1 (high). Pick a name to see how many of your packages they maintain, how active they have been in the last 90 days and which of your projects would be affected. Flagged means the person is linked to known harmful activity. Maintainer takeover explains why that matters.

Installed

Every package in your scanned lockfiles. Search with /, filter by kind of project and sort by status. Pick a row to see why the package is in your project, such as "brought in by a › b", its call, and Check this package, which gives the install check's answer (OK or Hold) with reasons. An integrity code and a download address sit on one line for support requests.

The page is called Installed because Hold is a verdict on a call, not a list of packages.

Log

Everything Crowsnest has called. Filter by Hold, Watch or Note, search by name or choose a date range. Open a row for the full call.

Scan a project

Press Scan a project, or press s, enter the folder and press Scan. The page says "Checking your packages…" and, when it finishes, "Done. 2 packages need your attention." with See them →.

The folder is read by the Crowsnest service, not by your browser. With Docker, the dialog lists the projects in the folder you share. Pick one, or type its name. To use your own projects, set CROWSNEST_PROJECTS (Quickstart).

Keyboard shortcuts

KeysAction
/Focus search or filter
sScan a project
rRefresh
?Show shortcuts
j / kNext / previous row
g then hGo to Horizon
g then lGo to Lookout
g then oGo to Installed
g then gGo to Log

Shortcuts do nothing while you type in a box or have a dialog open.

Where it runs

AddressNotes
Dashboardhttp://localhost:3000Opens on Horizon. Docker Compose publishes it on this machine only.
Crowsnesthttp://localhost:8000From source, set NEXT_PUBLIC_API_URL before npm run dev to use another address.

Port 3000 taken? With Docker, change the first 3000 in "127.0.0.1:3000:3000" in infra/docker-compose.yml. From source, set PORT before npm run dev. Then add the new address to CROWSNEST_CORS_ORIGINS in .env, or the browser will be refused. Point the Slack bot and VS Code at it too.

Limits

  • There is no login. Anyone who can reach the page can read it, so keep it on your own machine or network.
  • It shows only what a scan has found. An empty page can mean you have not scanned yet.
  • A lost connection is not hidden. The data stays on screen and is marked Stale.
  • It does not offer replay, which is a terminal feature (CLI usage).

See also the glossary for any word on screen, and Troubleshooting if the page says Offline.

Nib's tip: read the first step.