
HR 013 Nov 2026
Bol-Register
ASHA workers keep India's village health registers by hand after every home visit. Bol-Register lets her hold one button and say the visit the way she would tell a colleague, mixed languages included, and fills the registers for her.
- Status
- Finished
- Stack
- Python, FastAPI, SQLModel, React, Vite, Docker, Fly.io, pytest, Playwright
- Themes
- voice, health, offline-first
- World
- Ocean worldAn ocean world under moving cloud: voices, everywhere, all the time.
The same work, photographed in other universes
Turn the lens dial on the home page to visit them.

H-0 This universe

H-1 Blueprint

H-2 Long exposure

H-3 1/8000s
Abstract
An ASHA worker finishes a home visit and holds one big button. She says something like "Lakshmi eight months, BP 130 by 90, iron tablets given, next checkup on the 20th", in Telugu mixed with English. The app turns that into a structured entry, reads it back in her language, and saves it only when she says "yes". It also tells her whose houses are due today, puts high-risk mothers on top in red, and gives her supervising nurse a dashboard with the high-risk list, printable register pages and a CSV export.
Problem
ASHAs are the first point of care for millions of mothers and newborns, and their registers are paper, typed up again later, often in a language the forms were not written for. A visit that takes ten minutes costs as long again to record. Typing on a phone in a mix of scripts is slow, and a missed high blood pressure reading is a missed referral.
What I built
- A FastAPI and SQLModel backend that serves the API and the built React app from one container. SQLite on a Docker volume by default, Postgres with one environment variable.
- A rule-based parser for Telugu, Tamil, Kannada, Malayalam, Hindi and English, with the English words ASHAs mix in (BP, months, tablets), in either script. Adding a language is three JSON files.
- An optional speech and language layer (Sarvam speech-to-text, read-back voice and an LLM). The parser always runs first; the LLM only fills gaps, and a value is kept only if its words really occur in what she said. Without a key, the app runs on browser speech and the built-in parser.
- A voice state machine (listening, confirming, awaiting an answer, saved), so nothing is stored without her confirmation, one field can be corrected by voice, and noise or low confidence saves nothing and asks her to say it again.
- Offline first: an installable app that opens with no signal, shows the last due list and queues visits until the network returns.
- The ANM dashboard: a visits table, high-risk list, due board, the same visits as four separate registers, each ASHA's monthly incentive claim, and print and CSV export.
- Self-hosted bot protection (proof-of-work, no third party) on every write, so the public demo's data and API credits are safe.
Decisions
- Rules before the model. The language model is a helper, not the source of truth. In testing it once read "the 20th" as the 30th; grounding every value in the transcript catches that class of mistake.
- Confirmation is the product. A health record that was misheard is worse than no record, so the read-back and the explicit "yes" are not optional.
- No keys required. A fresh
docker compose upworks end to end, which made it reviewable by anyone and testable in CI.
Where it stands
Built for the Scaler HackOS × Wispr "India Runs on Voice" hackathon, healthcare track, round two. It is a feature-complete prototype on fake sample data. The final acceptance test passes on a fresh clone with no keys, backend behaviour is covered by pytest, and Playwright drives the full flows in real Chrome, including an axe accessibility scan. It runs live on Fly.io.