RapidSOS
One Tap. One Alert.
The problem RapidSOS solves
RapidSOS: Emergency Assistance at Your Fingertips
RapidSOS is a Django-based web application designed to provide a fast, reliable way for individuals to alert their loved ones during emergencies. By bridging the gap between a user's real-time location and their emergency contacts via WhatsApp, it ensures that help can be coordinated instantly when every second counts.
The Problem It Solves
In many emergencies such as medical crises, accidents, or personal safety threats, individuals may be unable to make a phone call or provide precise location details verbally.
Communication Barriers: Traditional calling can be difficult in high-stress or loud environments.
Location Accuracy: Users often don't know their exact coordinates when in an unfamiliar area.
Information Lag: Relying on bystanders or manual messaging takes valuable time that could be saved with automation.
How It Makes Tasks Easier
Centralized Management: Users can manage their emergency contacts and view past alerts through a secure personal dashboard.
Accessibility: Since it is a web app, it doesn't require a heavy installation; it can be accessed from any mobile browser, making it highly portable.
Automated Bridging: By integrating with the Twilio API, the project automates the task of sending messages that would normally require manual typing and navigation, significantly reducing user effort during a crisis.
Challenges we ran into
Twilio Sandbox Session Limits
The Problem: Initially, SOS messages were not reaching the emergency contacts even though the Python logic was correct. I discovered that the Twilio Sandbox requires recipients to opt-in by sending a specific "join" code every 72 hours. If the session expired, the API would return a 403 Forbidden error.
The Solution: I added detailed print debugging in the views.py loop to catch specific Twilio error codes in the VS Code terminal.
I implemented a pre-check step where I verified that all emergency contacts had an active sandbox session before conducting live tests.
