Inspiration
What it does
How we built it
Challenges we ran into
Inspiration
Millions of people receive official notices, medical forms, and financial letters in languages they cannot read, or in dense legal English they cannot act on. If a document decides someone’s access to healthcare, money, or services, not understanding it should not mean losing that access.
I built AccessBridge to remove that barrier in about 10 seconds: paste or snap any document and get a plain-language explanation, a translation, and a voice readout in your own language.
What it does
- Paste text or upload a photo / PDF.
- Get a structured breakdown: what the document is, what you must do, who can apply and how, the deadline, the cost, and the documents to bring.
- Translate and simplify into Amharic, Oromo, Tigrinya, and English.
- Listen with a voice readout in the selected language.
- Ask follow-up questions and get answers only from the document.
- See measured quality in an evaluation page that publishes baseline vs. improved results and honest failure cases.
How we built it
The frontend is a React + Vite app with a mobile-first layout: big type, one screen, sidebar navigation. The backend is an Express serverless function on Vercel that delegates to application services; no business logic lives in routes.
Paste or upload goes through a source-normalizer and a deterministic verification engine (dates, amounts, deadlines), so verified facts are always traceable to the original text. The LLM proposes explanations and follows-up; deterministic code verifies and flags. Translation calls /api/translate, and text-to-speech calls /api/tts, which uses Gemini TTS so Amharic, Tigrinya, Arabic, and Swahili play even on devices with no installed voice.
We integrated Adaption (the hackathon sponsor) as a load-bearing step for low-resource language quality, using their dataset and few-shot examples, and we show the before/after honestly on the eval page.
Challenges we faced
- Groq hit a daily token limit mid-build, so I switched the LLM to
openai/gpt-oss-20bwithout changing the interface. - Voice only plays in the language you select. I added server-side Gemini TTS because the phone often has no matching device voice, and I made the UI refuse to speak the wrong language rather than read it with an English voice.
- Keeping verification deterministic: dates and amounts are never shown as verified unless a human-confirmed rule finds them in the source.
- Planning around a tight deadline and a demo that must work end to end, so I scoped to the happy path, cached demo documents, and left stretch goals (PWA install, share-as-image) in README.
Inspiration
A notice can decide someone’s access to healthcare, money, or services — and if they cannot read it, they cannot act on it. I built AccessBridge so anyone can paste or snap a document and get a plain-language explanation, a translation, and a voice readout in their own language in about 10 seconds. The idea is simple: if a document matters, understanding it should not depend on knowing the language it was written in.
Accomplishments we’re proud of
- Voice that matches the language you choose — server TTS plays Amharic, Tigrinya, Arabic, and Swahili when the phone has no matching voice, and we refuse to read the wrong language.
- Deterministic verification of dates, amounts, and deadlines — nothing is shown as verified unless it can be found in the source, with a “Check against original” link.
- A working end‑to‑end demo on a tight deadline — paste/snap → explanation → language switch → voice → follow-up, cacheable demo docs, mobile first.
- Honest evaluation page — baseline vs. Adaption‑improved output per language, with failure cases shown, not just wins.
- Adaption is load‑bearing — low‑resource language simplification is where we are judged, and sponsor integration earns its place.
What we learned
- The model proposes; deterministic code disposes. Dates and amounts must be verified by rules that point back to the source, not by an LLM flag.
- Voice is its own problem. Translation can work while audio fails, so server TTS and the “don’t speak the wrong language” rule mattered more than another LLM provider.
- Quotas and latency are part of the story — model swaps should be a config change behind an interface, not a rewrite.
- Phones and bad networks shape the UX — big type, one screen, demo mode, and cached docs matter more than desktop polish.
- Honest limitations help more than confident claims — show misses and say outputs are explanations, not advice.
What’s next for AccessBridge
- Persisted accounts and history — saved documents, explanations, and follow‑up conversations you can return to.
- Reminders from verified dates — mark a court, health, or payment deadline found in the document and get reminded before it.
- More voice and OCR coverage — more low‑resource languages and tougher scans, with failures documented honestly.
- Multi-provider LLM fallback — Groq → Gemini → another free/low-cost provider, with a spend guard and demo fallback.
- Real feedback into eval — let users flag wrong lines or missing deadlines so before/after numbers keep moving.
- Offline-tolerant and shareable — low-bandwidth mode and share-as-image for a friend who can’t read the notice.
- Stretch, only if the demo is solid — PWA install, backup demo video, and a short impact close for the 3‑minute video.
Built With
- adaption
- docker
- express.js
- gemini
- groq
- lucide-react
- neon
- node.js
- postgresql
- react
- redis
- supabase
- tailwind
- trpc
- typescript
- upstash
- vercel
- vite
- zod