type: decision
status: active
timestamp: 2026-06-21
tags: [decision, app, janaushdhi, health, india, public-data, scraping]
status: active
timestamp: 2026-06-21
tags: [decision, app, janaushdhi, health, india, public-data, scraping]
janaushdhi-app scope — daily Jan Aushadhi scrape, substitutes, stores, savings
janaushdhi.oriz.in scrapes Janaushadhi Pariyojana \ product portfolio daily via GH Action, commits CSV + JSON snapshots, renders per-product\ \ price-history graphs, brand \u2192 generic substitute finder, per-state store\ \ locator, and savings calculator. Free + sponsor footer ONLY \u2014 public health\ \ ethics forbid ads, affiliate, third-party tracking."
janaushdhi-app scope
Data sources
- Primary scrape:
https://www.janaushadhi.gov.in/productportfolio/ProductmrpList— daily GH Action, 04:00 IST. - Output:
data/YYYY-MM-DD.csv+data/YYYY-MM-DD.jsoncommitted to the app repo each run. Daily-history is the canonical store; CSV for spreadsheets, JSON for the site build. - Store locator data:
data.gov.instate-wise Jan Aushadhi Kendra dataset, fetched separately, refreshed weekly.
Features
| Feature | What it does |
|---|---|
| Daily price snapshot | Latest MRP per product, diffs vs yesterday |
| Per-product price-history graph | Sparkline + full-history chart from committed snapshots |
| Substitute finder | Brand-name input ? matching generic Jan Aushadhi product(s); editorial mapping with source citations |
| Store locator | Map of Kendras per state, filterable by district + pincode |
| Savings calculator | ”I take X mg of Y daily” ? annual ? saved switching brand ? generic |
Monetisation — strict
- Free + sponsor footer ONLY. Public health ethics override revenue.
- NO ads (no AdSense, Ezoic, Mediavine slots).
- NO affiliate links (no pharmacy, no Amazon, nothing).
- NO third-party analytics that ship cookies or persist identifiers. CF Web Analytics only (cookie-less, no PII).
See [[policy/monetisation-channel-matrix]] for the family-wide matrix that locks this in.
License + legal
- Government data: open by default (Government Open Data License – India 1.0).
- Brand ? generic substitute mapping is editorial — every mapping cites its source (CDSCO list, manufacturer disclosure, etc.). Disclaimer banner: “Consult a licensed physician before switching medications. This site is informational, not medical advice.”
- App code: MIT (per family rule).
Tech
- Astro + CF Pages (per family hosting rule).
- GH Action does the scrape (not a CF Worker — scrape uses
node-fetch+cheerio, runs once a day, no quota concern). - Per-state store map via Leaflet + OpenStreetMap tiles (no Mapbox token — see [[decisions/ops/geocoding-deferred]]).
Cross-refs
- Q3 priority ? [[decisions/apps/ship-order-2026q3]]
- Monetisation lock ? [[policy/monetisation-channel-matrix]]