RescueLink is a Flutter mobile application designed for offline emergency communication using mesh networking and AI-powered priority systems during disasters.
- Authentication: Local login/signup with user profiles
- SOS System: Send emergency messages with severity and people affected, stored locally for persistence
- AI Priority: ML model prioritizes SOS messages based on severity, people, and keywords
- Offline Mesh Network: Simulated device-to-device communication with visual representation and local state
- Live Dashboard: Real-time SOS updates with status tracking
- Map View: Location-based SOS clustering and hotspot visualization
- Rescue Team Mode: Admin panel for managing SOS requests
- Data Visualization: Charts for SOS statistics
- Simulation Mode: Generate incidents dynamically when needed
- Frontend: Flutter (Dart)
- Backend: Python Flask with SocketIO
- ML: Scikit-learn Random Forest
- State Management: Provider
- Maps: Flutter Map
- Charts: FL Chart
- Flutter SDK installed
- Python 3.8+ installed
- pip for Python packages
cd flutter_app
flutter pub get
flutter runcd backend
pip install -r requirements.txt
python app.pycd ml_model
python train.py- Authentication: Login/signup with any details
- SOS Sending: Fill form and send (requires backend running)
- Mesh Simulation: Discover nodes dynamically in Mesh tab
- Dashboard: View sorted SOS messages
- Map: See SOS locations as you add incidents
- Charts: View statistics
- Rescue Mode: Toggle in profile to manage SOS
To generate fake SOS messages for testing:
- Use the dashboard's simulation controls or SOS button
- Data is persisted locally so the app reopens with the same incidents and mesh state
- Mesh networking is simulated; in production, integrate Bluetooth/WiFi Direct
- Locations are mocked; integrate GPS for real coordinates
- WebSockets for real-time updates (backend must be running)