Skip to content
Kokumi

Post scorecard

Live

Compare every published post's Day 1, Day 7, and Day 30 readership against your own site's daily median instead of vanity totals. Optional metadata tags on visit.js send post records through POST /api/hit to GET /api/v1/posts, and both kokumi post and the dashboard panel score them live.

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.

Score a post with the CLI, dashboard, and API

Add optional <meta name="kokumi:label"> (post, product, or offer), <meta name="kokumi:publishedAt">, and <meta name="kokumi:title"> tags on any page. visit.js sends them on POST /api/hit, the Worker stores them in D1, and GET /api/v1/posts serves them to kokumi post and the self-hosted dashboard, joining against /api/v1/counts and your completed-day site median.

  • Immature windows report pending with the target UTC date instead of projecting partial numbers.
  • Posts missing a publish timestamp report undated; checkpoints older than the counts window report outside.
  • Filter GET /api/v1/posts by path or label to stay under the 500-row response cap.
sh
kokumi post /blog/launch --site main
curl -sS -H "Authorization: Bearer $READ_TOKEN" "https://example.com/api/v1/posts?label=post"

Opt-in metadata, never sitemap crawling

Kokumi does not discover posts by crawling your sitemap or guessing URL patterns. A page that sends no kokumi:* meta tags stays a regular page in your counts. You decide which URLs are posts, products, or offers.

html
<meta name="kokumi:label" content="post">
<meta name="kokumi:publishedAt" content="2026-10-18T16:00:00Z">
<meta name="kokumi:title" content="Launch">

Current scope

Post scorecard is live in the CLI and self-hosted dashboard, joining post metadata with daily counts.

  • No server-side scorecard aggregation endpoint yet: Day 1, 7, and 30 math runs in the CLI and dashboard against /api/v1/counts.
  • If a post's Day 1 or Day 30 falls outside the fetched counts window, the checkpoint returns outside rather than querying an archival rollup.
  • Legacy <meta name="kokumi:published"> is accepted by visit.js as a fallback for kokumi:publishedAt.