Track CARE ecosystem adoption across public health dashboards. A scraper mirrors upstream metrics for tracked partners into dated JSONL snapshots, a normalizer derives compact JSON artifacts, and a static Next.js site (built with care·ui) presents them.
Live site: https://usage.ohc.network
| Tracker | Source | Metrics |
|---|---|---|
| ABDM | NHA ABDM dashboard | ABHA numbers created, health records linked, ABHAs linked, Scan & Share tokens, daily/weekly trends, statewise splits |
Only data for partners listed in config/<tracker>/partners.yaml is collected
and published — nothing else is scraped or aggregated.
trackers/abdm/scrape.ts → data/abdm/raw/<date>/*.jsonl (dated snapshot + manifest)
trackers/abdm/build-data.ts → data/abdm/normalized/*.json (summary, partners, trends, meta)
site/ (Next.js static export)→ site/out/ (reads normalized JSON at build)
A GitHub Actions workflow (scrape.yml) runs
the pipeline daily at 02:00 IST and commits the snapshot; Cloudflare Pages
rebuilds the site on push.
Requires Node 22+.
# pipeline (repo root)
npm ci
npm run scrape:abdm # scrape today's snapshot
npm run scrape:abdm -- --date 2026-07-09 # or a specific date
npm run build-data:abdm # normalize latest snapshot
# site
cd site
npm ci
npm run dev # dev server (syncs data first)
npm run build # static export to site/out/Append the partner's exact upstream name to
config/abdm/partners.yaml. The next scrape picks it up.
- Create
trackers/<name>/with ascrape.tsandbuild-data.tsfollowingtrackers/abdm/, plusconfig/<name>/partners.yaml. - Add
scrape:<name>/build-data:<name>scripts to the rootpackage.jsonand a job to the scrape workflow. - Register it in
site/src/lib/trackers.tsand add routes undersite/src/app/<name>/.
- Raw snapshots are append-only under
data/<tracker>/raw/<date>/; each JSONL line is{ fetched_at, endpoint, params, row }with amanifest.jsonsummarizing every request. - Upstream daily series are sparse (only dates with activity), so derived window metrics use date arithmetic rather than last-N points.
- This is an unofficial, read-only mirror of publicly accessible dashboard data, refreshed once a day.
MIT