Skip to content

Jack26-bit/Resq

Repository files navigation

ResQ β€” AI-Powered Disaster Response System

🌍 Overview
ResQ is an intelligent disaster response platform designed to function even when networks fail.
It combines AI, offline mesh networking, and real-time emergency coordination to provide a reliable lifeline during critical situations.

⚑ Built for real-world emergencies: disasters, blackouts, war zones, and no-signal environments.

🚨 Core Features

πŸ”΄ Panic-Ping (SOS System)

  • One-tap emergency trigger
  • Sends:
    • πŸ“ Location
    • πŸ“Έ Images / πŸŽ₯ Video
    • ⚠️ Emergency type (Medical, Fire, Structural, Trapped)
  • AI-assisted detection (ML Kit)
  • Works online + offline

πŸ“‘ Offline Mesh Network

  • Peer-to-peer communication (Nearby Connections)
  • No internet required
  • Forms a local emergency communication network

🧠 AI Assistance

  • Smart object detection (ML Kit)
  • Context-aware emergency guidance
  • Voice + text interaction

πŸŽ™οΈ Voice Agent

  • Hands-free emergency interaction
  • Calm AI responses (ElevenLabs integration)
  • Designed for panic scenarios

πŸ—ΊοΈ Tactical Map System

  • Online: Live maps & updates
  • Offline: Grid-based fallback
  • Shows:
    • Safe zones
    • Nearby responders
    • Active SOS signals

βš”οΈ Disaster & War Modes

  • Predefined emergency protocols
  • Optimized UI for high-risk environments

🀝 Community Response

  • Peer-to-peer assistance
  • Nearby responders
  • Decentralized rescue coordination

πŸ“± App Screens

  • / β†’ Signup / Login
  • /home β†’ Dashboard
  • /sos β†’ SOS Report
  • /map β†’ Tactical Map
  • /community β†’ Community Help
  • /local β†’ Local Incidents
  • /disaster β†’ Disaster Mode
  • /war β†’ War Mode
  • /mesh β†’ Offline Mesh Chat

🧠 Architecture

            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
            β”‚        ResQ App UI         β”‚
            β”‚  (SOS, Map, Mesh, AI UI)   β”‚
            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚               β”‚                β”‚
         β–Ό               β–Ό                β–Ό
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚ ML Kit AI  β”‚  β”‚ Mesh Network β”‚  β”‚ Voice Agent  β”‚
 β”‚ Detection  β”‚  β”‚ (P2P Nearby) β”‚  β”‚ (ElevenLabs) β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚               β”‚                β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β–Ό               β–Ό
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β”‚ Firebase     β”‚  β”‚ Google Cloud β”‚
          β”‚ Firestore    β”‚  β”‚ APIs         β”‚
          β”‚ Auth + FCM   β”‚  β”‚ Maps/Weather β”‚
          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Tech Stack

  • Frontend: Flutter
  • Backend: Firebase (Firestore, Auth, FCM)
  • AI: Google Gemini + ML Kit
  • Voice AI: ElevenLabs
  • Connectivity: Nearby Connections (P2P Mesh)
  • APIs: Google Maps, Weather, Solar

βš™οΈ How to Run the Project

1️⃣ Install Dependencies

flutter pub get

2️⃣ Run the App

flutter devices

flutter run -d chrome
flutter run -d emulator-5554
flutter run -d iPhone

3️⃣ Build APK (IMPORTANT)

flutter build apk --release

πŸ“¦ Output file:

build/app/outputs/flutter-apk/app-release.apk

πŸ‘‰ Use this APK for:

  • Demo submission
  • Judge testing
  • Direct installation

4️⃣ Run Web Version (Optional)

flutter build web
cd build/web
python3 -m http.server 8080

Open:

http://localhost:8080

πŸ“¦ Dependencies

  • google_fonts
  • flutter_animate
  • google_maps_flutter
  • firebase_core
  • nearby_connections
  • cryptography
  • uuid
  • shared_preferences

🌐 Connectivity Behavior

Feature Online Offline
SOS Cloud sync Mesh broadcast
AI Advanced Basic/local
Maps Full maps Grid fallback
Communication Internet P2P

🎨 Design System

  • Background: #131313
  • Primary: #FFFFFF
  • Accent: Cyan / Teal
  • Error: #FFB4AB
  • Fonts:
    • SpaceGrotesk (Headlines)
    • Inter (Body)

πŸ† Why ResQ Stands Out

  • Works without internet
  • Real-time Panic-Ping emergency system
  • Combines AI + Voice + Mesh Networking
  • Built using Google technologies
  • Designed for real disaster survival

⚠️ Disclaimer

ResQ provides AI-assisted guidance and emergency communication tools.
Always follow official emergency services when available.

🧠 Tagline

β€œIntelligence that survives.”

About

A comprehensive Flutter emergency management platform. Features include Firebase backend, Google Maps integration, Nearby Connections for offline syncing, and Google ML Kit for on-device object detection and translation.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors