Skip to content

ParvikaShekhawat/safety-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Safety-Web

Safety Web is a simple yet powerful emergency companion platform that allows users to store trusted contacts and send SOS alerts with live location when in danger — especially useful for women's safety, late-night commutes, or any emergency.


🚀 Features

  • 📍 Live Location SOS Alert: Sends your current GPS location to all saved trusted contacts.
  • 📞 Trusted Contacts List: Add, view, and remove emergency contacts stored in local storage.
  • ⚠️ Triple-Tap SOS Button: Press the SOS button 3 times to activate emergency help.
  • 🌐 Mobile-Friendly UI: Fully responsive and easy to use across all devices.

🧠 How It Works

  1. Add Trusted Contacts
    User adds names, phone numbers, and locations of people they trust into the app.

  2. Location Access
    When SOS is triggered, the browser asks for permission to access your current GPS location.

  3. Send SOS Alert
    When triggered (by clicking SOS 3 times), the app captures the current location and sends a custom emergency message (via backend) to all contacts.

  4. Contacts Receive Alert
    Contacts receive a message like:
    "Emergency! Please help me. Here's my location: [Google Maps link]"


⚙️ Tech Stack

  • Frontend: HTML, CSS (Tailwind), JavaScript
  • Backend: Node.js + Twilio (for SMS service)


🔐 GitHub Safety Practices To protect sensitive data:

.env files and credentials are excluded via .gitignore

Use environment variables for keys and secrets

If secrets are accidentally pushed, use BFG Repo-Cleaner


📌 Future Improvements

  • ✅ User authentication
  • 🌍 Global language support
  • 📡 Real-time alert status tracking
  • 📱 PWA support for offline and installable experience

🙏 Acknowledgements


📃 License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors