FormSathi
Understand. Fill. Verify. Submit safely.
A voice-first, multilingual browser assistant that helps people understand and complete confusing web forms — privately and step by step.
FormSathi is a $0 hackathon MVP built as a Chrome Manifest V3 extension. It scans form fields on a page, explains them in plain English, Hindi, or Gujarati, accepts voice/text answers, validates input, warns on sensitive fields, and keeps a local audit trail. It never auto-submits forms.
Why FormSathi
Confusing forms block access to scholarships, government services, banking, healthcare, and jobs — especially for non-English speakers, first-time digital users, and elderly users. FormSathi is an assistive agent, not a blind autofill tool:
- Observe — scans DOM fields, labels, required state, help text, and validation issues.
- Explain — gives plain-language meaning and examples in English/Hindi/Gujarati.
- Act — highlights the field, accepts voice or text, proposes a normalized value.
- Verify — checks format, required state, and sensitive-field policy before filling.
- Log — records actions in a local audit trail and exports a receipt.
Features
- Chrome MV3 extension overlay that works on web forms.
- Deep DOM scan for inputs, selects, textareas, ARIA/contenteditable fields, shadow DOM, and same-origin iframes.
- Plain-language explanations in English, Hindi, and Gujarati.
- Demo Mode (default) — deterministic, offline-safe explanations for reliable demos.
- Optional Live AI mode — Groq or Gemini free tier with user-provided API key; safe fallback to local explanations.
- Voice mode — Web Speech API for microphone input and text-to-speech read-aloud.
- Guided fill — field-by-field highlight, confirm-before-fill, skip/back/next.
- Safety policy — no auto-submit, no CAPTCHA/OTP/password bypass, extra confirmation for sensitive fields.
- Validation — required fields, email, 10-digit phone, 12-digit Aadhaar, IFSC format, basic number checks.
- Audit trail + receipt — local session log and exportable JSON receipt.
- Privacy-first — values stay in browser; Live AI mode sends field metadata/help text, not filled personal values.
Honest Limitations
- Assistive only / no auto-submit: FormSathi helps you understand and fill fields, but you review and submit the form yourself.
- Cross-origin iframe boundary: Fields inside secure cross-origin iframes (common in payment/embedded widgets) cannot be scanned or filled due to browser security. FormSathi detects and reports this.
- Not universal: Custom widgets, heavily scripted forms, or unusual patterns may need manual input. Use Rescan on dynamic pages.
- Voice/TTS depends on device/browser: Speech recognition and text-to-speech depend on browser/OS support and installed voices. If a Hindi/Gujarati voice is unavailable, text explanations still work.
- No sensitive bypass: FormSathi does not solve CAPTCHAs, bypass OTP/password flows, or provide legal/medical/financial advice.
- Live AI is optional: API keys are user-provided and stored locally in browser storage. Demo Mode is the safest default.
Quick Start
1. Load the extension
- Open Chrome and go to
chrome://extensions. - Enable Developer mode.
- Click Load unpacked.
- Select the
extension/folder from this repo.
2. Open the demo form
Open demo/scholarship-form.html in Chrome (File > Open File, or drag it into Chrome).
3. Use FormSathi
- Click the FormSathi floating button on the page, or use the extension popup and click Open FormSathi on this page.
- Keep Demo Mode: ON for the safest demo.
- Choose English, Hindi, or Gujarati.
- Use Next/Back, Voice, Read, Confirm & Fill, and Skip.
- Use Export Receipt to download a local JSON audit receipt.
Live AI Mode (Optional)
Demo Mode is recommended for judging. For live LLM explanations:
- Open the extension popup.
- Turn Demo Mode OFF.
- Choose provider: Groq or Gemini.
- Paste your own free-tier API key.
- Save settings.
If the API call fails, FormSathi falls back to a safe local explanation and shows a warning.
Privacy & Safety
- No auto-submit: user always reviews and submits manually.
- Confirm-before-fill: every fill requires explicit action.
- Sensitive-field guard: Aadhaar/bank/IFSC/password/OTP-like fields trigger extra confirmation.
- Local-first: audit log and receipt are generated locally.
- Data minimization: Live AI mode sends field metadata/help text, not filled personal values.
- Assistive, not advice: FormSathi does not provide legal, medical, or financial advice.
Repo Structure
formsathi/
demo/
scholarship-form.html # Local demo form
extension/
manifest.json # Chrome MV3 manifest
background.js # Settings, intent detection, Demo/Live AI explanations
content.js # DOM scan, overlay UI, voice, validation, audit trail
overlay.css # Overlay styles
popup.html # Extension settings popup
popup.js # Save/load settings
icons/ # Extension icons
README.md
Built With
- Chrome Extension Manifest V3
- JavaScript, HTML, CSS
- Web Speech API (speech recognition + text-to-speech)
- Chrome Storage / Runtime APIs
Devpost
- Project name: FormSathi
- Tagline: Understand. Fill. Verify. Submit safely.
- Category fit: AI agents / accessibility / digital inclusion
- Demo: Load the extension and open
demo/scholarship-form.html
Built With
- css
- html
- javascript
- powershell