The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Vite + React + TypeScript + Tailwind v4 + TanStack Query, embedded into
flockd via go:embed (see embed.go).
dist/ is committed on purpose: go build must work from a fresh
clone without Node installed. Rebuild and commit dist/ whenever you
touch src/.
npm install && npm run build regenerates dist/.
npm run dev starts a dev server that proxies /api and /v1 to a
locally running flockd on 127.0.0.1:7777.
Auth: paste the bearer token from <data_dir>/local_api_token into the
connect box (or tera dashboard --web prints it). It is stored in
localStorage.
The dashboard polls /api/v1 every 2s via TanStack Query. Using the
/api/v1/events SSE stream instead requires token-in-query support on
the daemon (EventSource can't set headers) — tracked in
docs/HANDOFF.md.
Package web embeds the built local dashboard (web/dist) into the daemon
binary. dist/ is committed so `go build` works from a fresh clone; run
`npm install && npm run build` in web/ to regenerate it from the React
source (falls back to the hand-written static page otherwise).