# Dashboard

One screen per site: people today vs usual, top pages, sources, agents.

Status: Live

The MIT dashboard in `dashboard/` runs locally against your `chmod 600` read token through a tiny local proxy, keeping the collector Worker pure and keeping tokens out of browser JavaScript.

## Key facts

- **License:** MIT
- **Browser tokens:** 0 (server proxy)
- **Panels:** 4 core views
- **Offline mode:** dashboard/fixtures/

## Local-first architecture

Browser bundles never see your Worker bearer token. `dashboard/server/` fetches `/api/v1/counts` and `/api/v1/posts` on localhost (or loads `dashboard/fixtures/` offline) and renders React shadcn tables and area charts.

| Panel | Data backing | Note |
| --- | --- | --- |
| People vs edge hits | beacon_by_day vs edge[] | Zero-fills dormant days and excludes partial today in baselines |
| Top pages & sources | beacon[] normalized host | Separates Direct traffic from search and AI answer referrers |
| Verified vs claimed agents | edge[] from classify.rs | Breaks out HTML pages, .md twins, and llms.txt reads |
| Post scorecard | /api/v1/posts + counts | Scores Day 1, Day 7, and Day 30 against site daily median |

## Try the zero-token browser demo

Open the [live fixture demo](/demo) to explore 14 days of real anonymized `mackenziebowes.com` counts directly in this site with zero API tokens.

## Questions

### Does the dashboard expose my Kokumi read token to the browser?

No. The dashboard server reads your chmod 600 token server-side and proxies /api/v1/counts and /api/v1/posts, so browser JavaScript never sees credentials.

### Can I inspect the dashboard before deploying a Worker?

Yes. You can open the live fixture demo at /demo in your browser or run the dashboard locally against dashboard/fixtures/ with zero API tokens.

### Is there a hosted Kokumi dashboard?

No. Hosted Kokumi is Planned and does not exist today. The live dashboard runs in dashboard/ against your own Worker or local fixtures.

## Related

- [Interactive fixture demo](/demo)
- [Agent CLI and skills](/docs/cli)
- [Self-hosting guide](/docs/self-hosting)