An elder's best friend - Your Personal Health Assistant
Dr. Amigo is a comprehensive health assistant application specifically designed for elderly care, with special focus on diabetes management and Alzheimer's support. This project provides two complementary versions:
- π± Mobile App (React Native/Expo) - Offline-first with local AI models
- π Web Application (Next.js) - Cloud-powered with full database integration
Both versions share the same mission: helping elderly people manage their health with dignity and independence.
- π©Έ Sugar Monitoring: Track glucose levels with color-coded warnings and comprehensive logging
- π Health Calendar: Medical appointment scheduling and medication reminders
- π Treatment Reminders: Insulin application alerts and prescription management
- π₯ Family Photos: Photo recognition system for loved ones (Alzheimer's support)
- π Memory Journal: Capture and preserve precious moments and experiences
- π§ AI Health Chat: Conversational interface for health questions and guidance
- π Privacy-First: Local AI models ensure data never leaves the device
- π Multilingual: Portuguese and English support
- βΏ Accessibility: Large fonts, intuitive UI designed for elderly users
- π€ Voice Interface: Speech-to-text for easy interaction
π± dr-amigo-mobile/
βββ π€ Local AI Models
β βββ Gemma 3n E2B IT (Chat)
β βββ Whisper Small (Speech-to-Text)
βββ π Features
β βββ Sugar Monitoring
β βββ Health Calendar
β βββ Family Photos
β βββ Memory Journal
β βββ Voice Chat
βββ πΎ Local Storage (MMKV + AsyncStorage)
π dr-amigo-web/
βββ βοΈ Cloud AI (Together AI)
βββ ποΈ Database (Prisma + PostgreSQL)
βββ π Authentication (NextAuth)
βββ π Same Feature Set
βββ π Multi-tenant Support
- Clone and Install
git clone [repo-url]
cd dr-amigo
npm install- Install Dependencies
# iOS specific setup
npx pod-install ios
# Start development server
npm start- Run on Device
# iOS
npm run ios
# Android
npm run android
# Web (fallback mode)
npm run web- Model Download
- First run will prompt to download AI models
- Gemma 3n E2B IT: ~4.2GB (main chat model)
- Whisper Small: ~244MB (speech recognition)
- Models stored locally for privacy and offline use
- Navigate to Web Directory
cd dr-amigo-web
npm install- Environment Setup
cp .env.example .env.local
# Configure database, auth, and API keys- Database Setup
npx prisma generate
npx prisma db push- Start Development
npm run dev- Main Hub: Access all features from the enhanced conversation screen
- Chat Interface: Full-featured AI chat with reasoning mode
- Feature Modules: Dedicated screens for each health feature
- Preset Configuration: No user model selection - optimized models pre-configured
- Offline Operation: Complete functionality without internet
- Privacy Guaranteed: All processing happens on-device
- Sugar Readings: Comprehensive glucose tracking with color-coded health indicators
- Calendar Events: Medical appointments with categorization and reminders
- Family Photos: Secure local storage with metadata
- Memories: Personal journal with emotion tracking and tags
- User Authentication: Secure login system
- Personal Dashboards: Individual health profiles
- Family Sharing: Optional family member access
- Real-time Sync: Cross-device synchronization
- Backup & Recovery: Automatic data backup
- Advanced Analytics: Health trend analysis
- Context Injection: Daily health context for AI conversations
- Smart Reminders: Intelligent health alerts
- Progress Tracking: Long-term health monitoring
- Elderly Individuals (65+ years)
- Diabetes Patients (insulin-dependent)
- Alzheimer's Patients (early to moderate stages)
- Caregivers and Family Members
- Daily Health Management: Glucose monitoring, medication tracking
- Memory Support: Photo recognition, memory preservation
- Medical Organization: Appointment scheduling, health records
- Emergency Situations: Quick access to health information
- 100% Local Processing: No data transmission
- Device-Only Storage: All health data stays on device
- No Internet Required: Core functionality works offline
- Encrypted Storage: Database encryption at rest
- Secure Authentication: Industry-standard auth protocols
- GDPR Compliant: Full data privacy compliance
- Audit Trails: Complete activity logging
- Portuguese (pt-BR): Primary language for Brazilian SUS integration
- English (en-US): Secondary language for broader accessibility
- Extensible: Framework ready for additional languages
- Standard Formats: Compatible with Brazilian health record standards
- Export Features: Generate reports for healthcare providers
- Medication Database: Brazilian medication reference integration
- International Standards: Follows global healthcare data standards
- Customizable Units: Metric/Imperial system support
- Timezone Aware: Multi-timezone appointment scheduling
- Framework: React Native 0.76 + Expo 52
- AI Engine: Cactus React Native (local inference)
- Storage: MMKV + AsyncStorage
- UI: Tamagui design system
- Navigation: Expo Router v4
- Framework: Next.js 15 + React 19
- AI Service: Together AI API
- Database: Prisma + PostgreSQL
- Authentication: NextAuth.js
- UI: Tailwind CSS + Radix UI
- β Core health features implementation
- β Local AI model integration
- β Basic family photo management
- β Portuguese/English localization
- π Advanced photo recognition
- π Medication database integration
- π Enhanced voice interactions
- π Emergency contact features
- π Healthcare provider integration
- π Advanced health analytics
- π Telemedicine features
- π Wearable device connectivity
This is an open-source project developed for the Google Gemma 3N Impact Challenge. We welcome contributions from:
- Healthcare Professionals: Medical expertise and validation
- Developers: Code contributions and feature development
- UX/UI Designers: Accessibility and elderly-friendly design
- Translators: Additional language support
# Clone repository
git clone [repo-url]
# Mobile development
cd dr-amigo && npm install
# Web development
cd dr-amigo-web && npm installThis project is 100% free and open source, dedicated to improving elderly healthcare accessibility worldwide.
- Brazilian SUS: Inspiration and requirements gathering
- Google Gemma 3N: AI model framework and challenge
- Healthcare Workers: Feedback and validation
- Elderly Community: User testing and insights
- Cactus Framework: Local AI inference capabilities
Dr. Amigo - Developed with β€οΈ for the health and dignity of our elderly community.
"Technology should serve humanity, especially those who need it most."