๐ Complete elderly care solution with real-time GPS tracking, health monitoring, SOS alerts, and family video calling
- โจ Features
- ๐๏ธ Architecture
- ๐ฑ Mobile App
- ๐ฅ๏ธ Dashboard
- ๐ Quick Start
- ๐ฒ APK Installation
- โ๏ธ Configuration
- ๐ง Development
- ๐ Comparison with Other Solutions
- ๐ฎ Future Roadmap
- ๐ License
- GPS updates every 30 seconds
- Background tracking even when app is closed
- Geofencing with safe zone alerts
- Location history and route playback
- 2-second hold emergency button
- Instant alerts to family members
- Automatic location sharing
- Optional photo capture during emergency
- Daily mood tracking (๐ ๐ ๐ ๐ด ๐ค)
- Water intake logging
- Medication reminders and compliance tracking
- Activity monitoring (steps, movement)
- "I Am Safe" check-in with selfie
- Voice message recording and playback
- Live camera streaming to dashboard
- Live audio monitoring (with consent)
- One-tap video calls between app and dashboard
- Real-time bidirectional communication
- Low latency peer-to-peer connection
- Accelerometer-based fall detection
- Auto-alert if no response within 30 seconds
- Confirmation prompt to prevent false alarms
- Check-in reminders
- Low battery warnings
- Geofence boundary alerts
- Missed check-in notifications
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FamilyGuard System โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ ๐ฑ Mobile โโโโโโโโโโโบโ ๐ฅ๏ธ Backend โ โ
โ โ App โ REST โ Server โ โ
โ โ (Android) โ API โ (Node.js) โ โ
โ โโโโโโโโฌโโโโโโโโ โโโโโโโโฌโโโโโโโโ โ
โ โ โ โ
โ โ Socket.IO โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโบโ โ
โ โ (Real-time) โ โ
โ โ โ โ
โ โ โโโโโโดโโโโโ โ
โ โ โ ๐พ SQLiteโ โ
โ โ โ Database โ โ
โ โ โโโโโโโโโโโ โ
โ โ โ
โ โ WebRTC โ โ
โ โโโโโโโโดโโโโโโโโ โโโโโโโโดโโโโโโโโ โ
โ โ ๐น Video โโโโโโโโโโโบโ ๐ Dashboard โ โ
โ โ Stream โ P2P โ (Web UI) โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The native Android app provides:
| Feature | Description |
|---|---|
| ๐ Home Screen | Large, elderly-friendly buttons with clear labels |
| โ Check-in | "I Am Safe" with optional selfie |
| ๐จ SOS | Emergency button with 2-second hold |
| ๐ Health | Mood, water, medication tracking |
| ๐ค Voice | Record and send voice messages |
| ๐ GPS | Continuous background tracking |
| ๐ Video Call | WebRTC video calling |
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Good morning โ โ Health Check โ โ ๐จ EMERGENCY โ
โ Dad โ โ โ โ โ
โ โโโโโโโโโโโโโโ โ ๐ ๐ ๐ ๐ด ๐ค โ โ Hold for โ
โ โ โ โ โ 2 seconds โ
โ โ
I Am Safe โ โ Water: ๐ง x 5 โ โ โ
โ โ โ โ โ โ
โ ๐ท Take Photo โ โ ๐ Meds Today โ โ โ
โ โ โ โ๏ธ Morning โ โ โ
โ ๐ค Send Voice โ โ โ Evening โ โ โ
โ โ โ โ โ โ
โ ๐ Health โ โ [Save] โ โ โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
Family members access the web dashboard to:
- ๐ View real-time location on map
- ๐ Monitor health data and activity
- ๐ Receive instant alerts
- ๐ Initiate video calls
- ๐ค Listen to live audio (with consent)
- ๐ธ View camera stream
- โ๏ธ Configure geofences and alerts
- Node.js 18+
- Android device (for mobile app)
- Ubuntu/Linux server (recommended)
git clone https://github.com/vikrant-project/FamilyGuard.git
cd FamilyGuardcd backend
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Edit .env with your server IP
# Start server
npm startOpen browser: http://YOUR_SERVER_IP:8888
Download and install the APK from the /apk folder on your Android device.
The pre-built APK is available in the /apk folder:
# From your server
scp user@your-server:/path/to/FamilyGuard/apk/familyguard.apk ./-
Enable Unknown Sources
- Go to Settings โ Security โ Unknown Sources โ Enable
-
Install APK
- Transfer APK to phone
- Tap to install
- Grant all permissions when prompted
-
First Launch
- Read and accept consent screen
- Grant location, camera, microphone permissions
- App will start tracking automatically
| Permission | Purpose |
|---|---|
ACCESS_FINE_LOCATION |
GPS tracking |
ACCESS_BACKGROUND_LOCATION |
Background tracking |
CAMERA |
Check-in photos, video calls |
RECORD_AUDIO |
Voice messages, live audio |
RECEIVE_BOOT_COMPLETED |
Auto-start on reboot |
FOREGROUND_SERVICE |
Keep tracking alive |
PORT=8888
SERVER_URL=http://YOUR_SERVER_IP:8888
JWT_SECRET=your-secure-secretEdit mobile-app/src/utils/constants.js:
export const API_BASE_URL = 'http://YOUR_SERVER_IP:8888';
export const SOCKET_URL = 'http://YOUR_SERVER_IP:8888';Configure via dashboard:
- Safe zone radius (default: 500m)
- Alert delay (default: 5 min)
- Check-in reminder interval
cd backend
npm install
npm run dev # Hot reload with nodemoncd mobile-app
npm install
# Run on connected device
npx react-native run-android
# Build release APK
cd android
./gradlew assembleReleasecd mobile-app/android
./gradlew clean
./gradlew assembleRelease
# APK location: android/app/build/outputs/apk/release/app-release.apk| Feature | FamilyGuard | Life360 | Find My | Google Maps |
|---|---|---|---|---|
| Price | ๐ Free | ๐ฐ Paid | ๐ Free | ๐ Free |
| Open Source | โ Yes | โ No | โ No | โ No |
| Self-Hosted | โ Yes | โ No | โ No | โ No |
| Health Tracking | โ Yes | โ No | โ No | |
| SOS Button | โ Yes | โ Yes | โ No | โ No |
| Fall Detection | โ Yes | โ No | ||
| Video Calling | โ Yes | โ No | โ No | โ No |
| Voice Messages | โ Yes | โ No | โ No | โ No |
| Medication Reminders | โ Yes | โ No | โ No | โ No |
| Privacy (Self-host) | โ Full control | โ Cloud only | โ Cloud only | โ Cloud only |
| Customizable | โ Fully | โ No | โ No | โ No |
- ๐ Privacy First - Your data stays on YOUR server
- ๐ฐ Completely Free - No subscriptions, no hidden fees
- ๐ง Customizable - Modify to fit your needs
- ๐ด Designed for Elderly - Large buttons, clear text, voice feedback
- ๐ฑ Native Android - Real background tracking (not PWA limitations)
- ๐ฅ Health Focused - Mood, meds, water tracking built-in
- ๐ iOS app support
- ๐ Multi-language support
- ๐ Advanced health analytics
- ๐ฅ Doctor/caregiver dashboard
- ๐ Smart home integration
- ๐ฌ Family group chat
- ๐ Weekly health reports
- ๐ Smart notification scheduling
- ๐ค AI-powered anomaly detection
- โ Smartwatch integration
- ๐ IoT sensor support
- ๐ Integration with emergency services
- ๐ฃ๏ธ Voice assistant integration
We welcome contributions! Please:
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If FamilyGuard helps you keep your loved ones safe:
- โญ Star this repository
- ๐ Report bugs
- ๐ก Suggest features
- ๐ Improve documentation
Made with โค๏ธ for families caring for their elderly loved ones
"Because everyone deserves to feel safe and connected"