Skip to content

ABHAYZZ/SOSMate-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚨 SOSMate pro – Emergency Response Web App

SOSMate pro is a lightweight, offline-first Progressive Web App (PWA) designed to save lives in emergency situations. Built using modern web technologies, it delivers real-time assistance with critical first aid, SOS signaling, and quick emergency contact features – all accessible from any browser, with or without internet.


πŸ›‘οΈ Key Features

🩹 First Aid Guide

  • CPR Instructions – Step-by-step cardiopulmonary resuscitation procedures
  • Choking/Heimlich Maneuver – Life-saving airway clearance methods
  • Severe Bleeding Control – Techniques to manage and stop bleeding
  • Burn Treatment – Safe protocols for minor and major burns
  • Fracture Management – Bone injury immobilization techniques

πŸ“ž Emergency Contacts

  • Preloaded Indian emergency numbers – 112, 100, 101, 108
  • Add custom personal contacts for one-tap calling
  • All data stored using localStorage – persists offline
  • Direct calling via device dialer with one click

πŸ”Š SOS Mode

  • Flashing screen animation for visual distress signals
  • Loud alarm sound using the Web Audio API
  • Device vibration pattern support for mobile alerts
  • Auto-detect GPS location for emergencies
  • 5-minute auto-shutoff to save battery

πŸ“ Location Sharing

  • High-accuracy geolocation
  • Share location using:
    • Clipboard
    • Native Share API
    • Google Maps links
  • Works even without internet

⚑ Offline-First Design

  • Full Service Worker integration for offline usage
  • Installable PWA on mobile or desktop
  • Data persistence through localStorage
  • Offline banner alerts users when offline

πŸŒ™ Smart Features

  • Auto Dark Mode (6Am to 8PM)
  • Battery Monitoring with low-battery alerts
  • Wake Lock – keeps screen active during SOS mode
  • Keyboard Shortcut – Ctrl+Shift+S triggers emergency
  • Responsive Design – mobile-first, works on all screen sizes

🎯 Real-World Problem Solving

  • βœ… No Internet? Still works thanks to offline caching
  • βœ… No App Store? Instantly runs in any modern browser
  • βœ… Need Help Fast? One-click emergency SOS, GPS sharing, and first-aid
  • βœ… Panic-Friendly UI – Large buttons, clear visuals, intuitive layout
  • βœ… Professional Accuracy – Follows global emergency protocols

πŸ“¦ Installation


πŸ§ͺ How to Use

  1. Try the SOS button – feel the full alert experience
  2. Add a personal contact and test one-tap calling
  3. Simulate offline mode (Airplane Mode) and test app features
  4. Share your location using the Share Location button

πŸ› οΈ Developer Info

Made with love to save lives in emergencies.
Designed for simplicity, speed, and cross-device accessibility.

Feel free to fork, contribute, or deploy your own version!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages