Product
Every Kokumi feature, with the status it has today. People and AI agents are counted at your Cloudflare edge.
Kokumi is the analytics you read. It counts people and AI agents at the Cloudflare edge, on the account you deploy it to.
This page is the whole product. Each block is one feature from the registry, and the badge is that feature's status. The same badge is used everywhere else on the site.
The line under the name says what the feature is for. The note under that says what exists today. A Planned badge means it is not shipped.
See
What reached the site: people, agents, and requests a page script never sees.
Every page, .md twin and llms.txt request counted at Cloudflare's edge, split into people, verified agents, claimed agents, unconfirmed browsers.
Slice 1 counts. classify.rs.
AI traffic
LiveWhich AI agents read you, verified against operators' published IP lists, and which AI tools sent people over.
GET /api/v1/citations, kokumi citations, and the Dashboard Per-Page Read vs. Cited ledger ship with verified vs. claimed quarantine and .md twin rollup.
Dashboard
LiveOne screen per site: people today vs usual, top pages, sources, agents.
Self-hosted Cloudflare Worker in dashboard/: counts, posts, health, privacy, proof export, and CLI parity.
Read time and scroll
Partly liveHow long each page was in view and how far people scrolled.
Stored on raw view rows. No per-page summary route yet.
Speaks up when the page beacon breaks, like the Nov 25 outage.
/api/v1/health classifier canary, free-plan limit guards, and kokumi health.
Privacy
LiveZero cookies, raw IPs dropped by default (RAW_IP_OPT_IN=false), daily rotating SHA-256 salt, and unlinked geo_hits.
Enforced in src/privacy.rs; verified via GET /api/v1/privacy.
Know what worked
Whether a post, a link, or an action on the site amounted to anything. Post scorecard is live, and it does not learn posts by crawling a sitemap.
Which internal links people follow and which on-site tools they use.
/internal, /links and /tools routes.
Post scorecard
LiveEach post's day 1, 7 and 30 against your own median.
The page script sends an optional label (post, product, or offer), title, and publish time. Kokumi stores that as its own record and joins day 1, 7, and 30 onto existing path counts. A page that sends nothing stays a page.
Campaign links
LiveFirst-party /go/x/slug redirects, 5-field UTMs, preview-bot isolation, and cookie-free _k landing joins.
GET and POST /api/v1/campaigns, /go/:channel/:slug, kokumi campaigns, kokumi link add|list|archive, and Dashboard Campaigns view.
Goals
LiveMark a form sent, a page reached or a tool used as a goal, with its source.
POST and GET /api/v1/goals with idempotency keys and kokumi goal add.
What moved digest
PlannedAn email or Slack note sent only when something changed vs your usual.
Only an outside routine today, not in Kokumi.
Plug in
How you read the rows, and how a site is run. Use only what the badge marks Live.
Read API
LiveJSON routes for counts, hits, views, links, internal clicks and tools, behind a read token.
/api/v1 with a bearer read token.
JSON CLI plus read and onboarding skills so your assistant can install and query Kokumi.
15 live commands in cli/: JSON envelopes, read and onboarding skills, cost guards.
Public share links
PlannedA read-only board you can drop in a post or a client report.
Needs a separate read-only share token.
Many sites, one deploy
PlannedRun every site from one deploy and one dashboard.
Today: one Worker, database and token per site.
Bring your history with you when you switch.
Umami and Plausible CSV and JSON importer via kokumi import and POST /api/v1/import.
One-click deploy
PlannedA Deploy to Cloudflare button and one script tag.
Today: wrangler deploy plus schema steps in the README.
MIT-licensed Rust Worker + D1 on your own Cloudflare account at $0 SaaS cost.
Deploy with wrangler and D1 via /docs/self-hosting.
How a request is counted
Collection runs on your Cloudflare account. The Worker is Rust. The database is D1. Hosted Kokumi does not exist, so there is nothing to log into.
1. The edge
A request for a page, a markdown twin (.md), or llms.txt hits the Worker. The Worker counts that request, then serves the file.
2. Who asked
The caller is labeled verified agent, claimed agent, unconfirmed browser, or unrecognised. Verified means the IP is on the operator's published list. The user-agent string alone does not verify anyone. The edge row keeps no IP, no user-agent text, no cookie, and no id.
3. People
A page script sends a beacon when JavaScript runs. That beacon is the person count. Reader views drop raw IPs by default (RAW_IP_OPT_IN=false), compute a daily UTC rotating salted key, and detach city totals into geo_hits. A reader can be forgotten.
4. One site, one database
Edge counts and reader views are written to D1. Today that is one Worker, one database, and one read token per site.
5. The read API
JSON routes return counts, hits, views, links, internal clicks, and tools to a caller that sends the read token. The self-hosted dashboard Worker in dashboard/ draws those totals server-side so the token stays off the page.