Rural Health AI is a comprehensive healthcare platform designed to bridge the gap in rural healthcare access. It empowers community health workers (Sahayaks) and citizens with AI-driven tools for symptom analysis, prescription scanning, medicine information, and outbreak detection.
- Patient Management: Create and track patient profiles with syncing capabilities.
- Outbreak Detection: Real-time monitoring of disease outbreaks using aggregated symptom data.
- Dashboard Analytics: Visual insights into community health trends.
- Offline First: Crucial functionality works without internet connectivity.
- AI Symptom Checker: powered by Gemini 1.5 Flash, provides preliminary triage and advice based on symptoms.
- Prescription Scanner: scan handwritten prescriptions using advanced OCR to digitize them and find affordable generic alternatives (Jan Aushadhi).
- Medicine Search: Search database of 150+ medicines for usage, side effects, and pricing.
- Nearby Help: Locate nearby hospitals and pharmacies with integration to map services.
- Multi-language Support: Fully localized interface for English, Hindi, Telugu, and more.
- Web: Next.js (App Router), TypeScript, Tailwind CSS
- Mobile: React Native (Expo), NativeWind
- API: FastAPI (Python)
- Database & Auth: Supabase
- AI Models:
- Symptom Analysis: Google Gemini 1.5 Flash
- OCR: Custom OCR pipeline (EasyOCR / PaddleOCR)
- Speech-to-Text: Whisper / Web Speech API (for voice input)
- Node.js (v18+)
- Python (v3.10+)
- Supabase Account
- Gemini API Key
-
Clone the repository:
git clone https://github.com/Jitheswar/ruralAi.git cd ruralAi -
Install Dependencies:
# Install root and workspace dependencies npm install -
Setup Environment Variables:
- Copy
.env.exampleto.env.localinapps/webandapps/mobile. - Configure your Supabase URL, Anon Key, and Gemini API Key.
- Copy
Run all services (Turbo):
npm run devRun specific services:
- Web Dashboard:
npm run dev --filter=web(Runs on http://localhost:3000) - API Server:
(Runs on http://localhost:8000)
cd apps/api pip install -r requirements.txt uvicorn main:app --reload - Mobile App:
npm run start --filter=mobile
ruralAi/
├── apps/
│ ├── api/ # FastAPI backend & AI services
│ ├── mobile/ # React Native mobile app (Expo)
│ └── web/ # Next.js web dashboard
├── packages/
│ └── shared/ # Shared TypeScript types & utilities
├── supabase/ # Database migrations & configuration
└── ...
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.