Instant symptom analysis, emergency response, and healthcare guidance for every Indian
Voice-First β’ AI-Powered β’ Accessible Healthcare
Swasthya Saathi is an innovative AI-powered healthcare platform designed to provide instant medical triage, emergency response coordination, and personalized healthcare guidance. Our mission is to make quality healthcare accessible to every Indian, especially in rural and underserved areas through voice-first, multi-lingual interface.
Made with β€οΈ for India's Healthcare Revolution by Team Aryavart - Hail Aryavart
- β° Emergency Response: 30+ minutes average ambulance response time in rural areas
- π₯ Accessibility: 1:1456 Doctor to Patient ratio in rural India vs 1:400 in urban
- π° Financial Burden: 55 million Indians pushed into poverty yearly due to medical costs
- π£οΈ Language Barrier: 90% of healthcare apps available only in English
- π Medication Adherence: 50% of chronic disease patients miss medications regularly
- HTML5 - Semantic markup and accessibility
- CSS3 - Modern responsive design with CSS Grid & Flexbox
- JavaScript ES6+ - Dynamic interactions and API integration
- Web Speech API - Voice recognition capabilities
- Geolocation API - Location-based services
- Python Flask - Lightweight and efficient web framework
- Google Gemini AI - Advanced medical symptom analysis
- Twilio API - SMS notifications and reminders
- RESTful APIs - Clean and scalable architecture
- JSON Databases - Flexible and fast data storage
- Local Storage - Client-side data persistence
- Environment Variables - Secure configuration management
- Python 3.8+
- Modern web browser (Chrome recommended for voice features)
- Google Gemini API key
- Twilio account (optional, for SMS features)
- Fork & Clone the Repository
Fork the repository from https://github.com/predictivemanish/swasthya-saathi.gitgit clone https://github.com/<your-username>/swasthya-saathi.git cd swasthya-saathi
- Installing Dependencies & Running
pip install -r requirements.txt cd backend python app.py - Testing
Credentials Required:
Google Gemini API Key - Get from Google AI Studio
Twilio Credentials - Account SID, Auth Token, Phone Number
Create an .env file and
GEMINI_API_KEY=your_gemini_api_key_here
TWILIO_ACCOUNT_SID=your_twilio_sid
TWILIO_AUTH_TOKEN=your_twilio_token
TWILIO_PHONE_NUMBER=your_twilio_number
Add all the APIs for proper functioning otherwise it'll be working on Local JSON Database based classification
Note: Demo mode works without Twilio credentials
π₯ Healthcare Disclaimer
Important: Swasthya Saathi is an AI-powered healthcare assistant designed for guidance and triage purposes only. It is not a replacement for professional medical diagnosis, treatment, or emergency services. Always consult qualified healthcare providers for medical concerns and emergencies.
π Acknowledgments
Google Gemini AI for advanced medical reasoning capabilities
Ayushman Bharat for government healthcare scheme integration
Twilio for reliable SMS communication services
Open Source Community for invaluable tools and libraries
Modern, responsive landing page with feature overview
Voice and text input for symptom description
AI analysis results with hospital recommendations
Smart medication scheduling with SMS alerts
Location-based hospital search with Ayushman filters
Doctor Consultancy & Action Plan
Medication Reminder Message Template
Difference from pre-existing solutions
app.py- Main Flask server with all API endpointsgemini_handler.py- Google Gemini AI integration for symptom analysishospital_finder.py- Location-based hospital search with distance calculationayushman_checker.py- Ayushman Bharat card validation and benefitsdata_manager.py- JSON data storage and session managementnotification_handler.py- Twilio SMS integration for reminders
index.html- Landing page with features and user registrationsymptoms.html- Symptom input page with voice and text optionsresults.html- AI analysis results with hospital recommendationsstyle.css- Complete styling with modern UI componentsmain.js- Core application logic and API communicationvoice-input.js- Web Speech API integration for voice input
hospitals.json- Database of hospitals with locations and servicesayushman_hospitals.json- Ayushman Bharat empaneled hospitalssymptoms_db.json- Medical symptom patterns and emergency indicatorsmedications.json- Common medicines and dosage informationtriage_history.json- User session history and analyticsusers.json- User profiles and preferences
backend/- Complete server-side logic and AI processingfrontend/- Client-side web application with responsive designdata/- All JSON databases and configuration filesassets/- Images and media files for documentation
This architecture ensures clean separation of concerns, easy maintenance, and scalable development.
https://api.star-history.com/svg?repos=predictivemanish/swasthya-saathi&type=Date
