Inspiration

India has 1 doctor for every 10,000 rural patients. 600 million Indians live without reliable healthcare. When someone falls sick in a village, their only option is Google — which gives scary, inaccurate, English-only results.

I wanted to build a trusted Hindi-first health companion that feels like a knowledgeable friend who speaks your language — and gives real, structured health guidance instantly. For free. For Bharat.


What it does

MedSaathi is a free AI-powered health assistant built for rural India with 5 core features:

🩺 Hindi AI Chat Describe symptoms in Hindi or Hinglish. Get structured doctor-like guidance powered by Groq AI (LLaMA 3.3 70B) — causes, home remedies, when to see a doctor.

🎤 Voice Input Tap the mic and speak in Hindi (hi-IN). No typing required — breaks the literacy barrier completely.

📍 Clinic Finder GPS-based finder shows hospitals, clinics and pharmacies within 5km radius with one-tap Google Maps directions.

💊 Medicine Guide 8 common OTC medicines with dose, price and warnings — all explained in simple Hindi.

🚨 Emergency Page One-tap 108 ambulance call with pulsing ring animation, all Indian emergency numbers, and a complete first aid guide.


How I Built It

"Generated with Lovable, AI powered by Groq (LLaMA 3.3 70B), deployed on Lovable.app"

I used a fully AI-native development workflow:

🛠️ AI Development Tools Used:

  • Lovable — Primary build tool. Generated the entire full-stack app from natural language prompts. All 5 pages, animations, routing and secure backend Cloud Functions were built using Lovable.

  • Groq API + LLaMA 3.3 70B — Core AI engine. Chosen for sub-second Hindi responses and generous free tier (500k tokens/day, no credit card needed).

⚙️ Full Tech Stack:

  • React + TypeScript — Frontend
  • Tailwind CSS — Responsive styling
  • Framer Motion — Smooth animations
  • Web Speech API hi-IN — Hindi voice input
  • OpenStreetMap + Overpass API — Free clinic finder
  • Lovable Cloud Functions — Secure Groq API calls
  • Deployed on Lovable.app

Challenges I Ran Into

❌ Challenge 1: CORS Blocking Groq API Direct browser calls to Groq API were blocked by CORS policy. ✅ Fix: Used Lovable's built-in Cloud Functions to route API calls server-side — which also kept the API key completely secure.

❌ Challenge 2: Hindi Voice Recognition Web Speech API behaved inconsistently across different browsers and devices. ✅ Fix: Implemented proper start/stop state management with hi-IN language setting, pulse ring animation feedback, and graceful error handling.

❌ Challenge 3: Zero Budget Constraint Had to build a fully working app with no paid tools. ✅ Fix: Every tool is free — Groq free tier, OpenStreetMap, Web Speech API, Lovable free plan. No credit card required anywhere.


Accomplishments That I'm Proud Of

✅ Built a fully functional AI app in one day
Real Hindi AI responses — not mocked or faked
✅ Working GPS clinic finder using only free APIs
Secure API key handling via Cloud Functions
Voice input in Hindi language (hi-IN)
Emergency 108 integration with live animation
100% free for users — no login, no payment
✅ Works on mobile + desktop both


What I Learned

  • Lovable can build production-grade apps in hours, not weeks — AI-native development is real
  • Groq + LLaMA 3.3 70B is faster and more reliable than alternatives on free tier
  • Designing for rural India means Hindi-first, large touch targets and simple navigation
  • Cloud Functions elegantly solve both CORS and API security issues in frontend apps

What's Next for MedSaathi

🔜 10+ regional languages — Tamil, Bengali, Telugu
🔜 ASHA community health worker integration
🔜 Offline PWA mode for 2G networks
🔜 Image-based skin condition diagnosis
🔜 Aarogya Setu government health scheme integration
🔜 Personalized health history and reminders

Built With

Share this project:

Updates