Inspiration
India runs hundreds of welfare schemes: pensions, scholarships, health cover, farmer income support, housing help, business loans. The money is budgeted and the people are eligible, but the information about each scheme sits scattered across dozens of English-first portals, PDFs and office notice boards. For a daily-wage worker, a widow in a village, or a farmer who reads Hindi better than English, "the scheme exists" and "I can actually claim it" are two very different things. Large numbers of entitled people never claim what is already theirs, simply because nobody ever put the full list in front of them, in their language, in one place. HaqSetu was built to close exactly that gap: paste in your life details, and your entitlements come out, which is also why the name fits this hackathon. "Haq" means one's rightful entitlement; "Setu" means bridge.
What it does
HaqSetu is a web app that works like the Ctrl+V of welfare: you put in a few basic facts about yourself, age, gender, the work you do, household income, your category, and a few yes/no facts (BPL ration card, farmland, a daughter under 10, a pregnancy, widowhood, severe disability, a wish to start a business, children in school, no bank account yet), and it returns the list below. Open the live app and try it with your own details: every answer is computed in your browser, on the spot. Nothing is pre-baked, and there is no server.
It returns:
- Your matched schemes. A built-in eligibility engine checks your profile against 18 central government schemes, including PM-KISAN, Ayushman Bharat PM-JAY (including the 70+ cover), Sukanya Samriddhi Yojana, PM Awas Yojana, Atal Pension Yojana, PM Mudra, e-Shram, PM Vishwakarma, the NSAP widow / old-age / disability pensions, Matru Vandana, Stand-Up India, Jan Dhan, the two PM insurance schemes, and the National Scholarship Portal.
- Why you qualify, for every single match. Each card names the exact rules that fired ("You work as a farmer", "You own farmland"). No black-box yes/no, the reasoning is the product, because a person who understands why they qualify can defend that claim at the office window.
- The benefit in plain words, the documents to carry, and where to apply, the official portal where one exists, otherwise the bank, post office or Common Service Centre route.
- One documents checklist: every document needed across all your matches, de-duplicated into a single printable list to take to the office.
- Full Hindi, one tap, every string, including scheme names, summaries and the checklist. Plus a read-aloud button that speaks your benefits (browser speech synthesis), for users who cannot read comfortably in any language.
- Zero accounts, zero tracking, works fully offline. Your answers never leave the device. For this audience, that is not a nice-to-have; it is the trust model.
How we built it
- A single static web app: index.html (UI + complete English/Hindi string tables) and schemes.js (the dataset + eligibility engine as pure functions). No framework, no build step, no backend, no network calls at all.
- The engine encodes each scheme's eligibility as explicit conditions over the profile fields; a match returns the list of fired rules, which the UI renders as the "Why you qualify" trace.
- The same schemes.js runs in Node, where test_match.js drives it with 12 realistic profile fixtures (a 68-year-old farmer, a new mother, a widow, an artisan, a student, a woman entrepreneur…), 59 assertions check that the right schemes fire and the wrong ones stay silent. All 59 pass.
- Deployed on GitHub Pages; the code is public in the repo linked below.
Challenges we ran into
- Turning government guidelines into rules without inventing facts. Scheme documents are long and change often. We kept every encoded rule conservative, only well-established eligibility conditions, phrased benefits in general terms where official figures get revised (interest rates, premiums), and put a "final eligibility is confirmed on the official portal" note on the flow rather than pretending the app is the authority.
- Hindi that a real person would say. Literal translation produced stiff, gendered sentences. The Hindi strings were rewritten as short, neutral, spoken-style lines.
- Coverage vs. depth. Hundreds of schemes exist; we chose 18 central ones and did them properly, rule trace, documents, apply-at, instead of listing 200 names with no guidance.
Accomplishments that we're proud of
- The why-trace. Most eligibility checkers stop at a bare yes or no; we put the reasoning on the card, because a person who knows why they qualify can say so at the office window.
- The whole thing runs offline in a single page load on the cheapest phone, in two languages, with read-aloud, access features on the access tool itself.
- A tested engine, not a demo shell: 59 automated assertions over realistic profiles, green.
What we learned
- The bottleneck in welfare delivery is often not money or intent, it is a discovery and comprehension problem, and plain language is a technology.
- Designing for the least-connected user (offline, no account, no stored data) made the product simpler and more trustworthy for everyone.
What's next for HaqSetu
- State-level schemes layered on the central list (the engine is data-driven; a state pack is just more rules).
- More languages (the string-table design already separates text from logic).
- A WhatsApp-friendly shareable result card, and voice-first input for users who cannot type.
Built With
- css
- github
- html5
- javascript
- web-speech-api