Inspiration
While conventional navigation platforms excel at calculating the shortest travel time or minimal traffic delay, they remain fundamentally blind to personal vulnerability and safety concerns, especially for women commuting after dark. Women frequently navigate unfamiliar roads, dark alleyways, and dead zones with constant apprehension, relying on improvised precautionary measures. We asked ourselves: Why should navigation only optimize for speed instead of safety? This inspired SafeHer—a navigation and crisis companion engineered not just to compute directions, but to actively evaluate every street corner using empirical safety criteria such as lighting, human activity, and historical risk, giving women the autonomy and confidence to navigate urban spaces securely.
What it does
SafeHer is an offline-first, safety-centric navigation and emergency response application tailored for women. Instead of simply plotting the fastest route, SafeHer evaluates alternative paths and generates an intelligent Trust Score (0–100%) based on night-time satellite lighting, pedestrian density, road traffic conditions, and historical SOS incident hotspots. The app renders sleek, clear route lines so the underlying road grid remains visible, paired with an interactive, expandable bottom sheet detailing multi-factor safety metrics and a streamlined transport mode selector (Car, Walk, Bike). Beyond proactive routing, SafeHer incorporates continuous journey monitoring with automated deviation alerts if a user goes off-path, an on-device 1-tap Home navigation shortcut integrated directly into user profiles, a conversational safety assistant (SHEVA), and an instant 3-second hold SOS trigger that broadcasts live GPS coordinates via both Cloud Firestore and native SMS fallback to trusted emergency contacts. Crucially, through its offline-first architecture, verified safe routes and safety features remain fully operational even in total cellular dead zones.
How we built it
The client application was engineered natively using Kotlin and modern declarative Jetpack Compose, integrating Google Maps Compose SDK for dynamic map visualization, navigation tilt, and polyline rendering. On-device persistence and offline resilience were realized using Room Database (SQLite) and Android's WorkManager to cache verified routes and guarantee reliable background syncing. The backend is powered by a high-performance FastAPI Python service coupled with Supabase / PostgreSQL with PostGIS extensions for spatial indexing and geofencing. Street illumination is calibrated at a macro level using NASA Black Marble (VIIRS) nighttime radiance satellite datasets, cross-referenced with OpenStreetMap (OSRM) activity attributes for human presence and commercial density estimation. For crisis management and user authentication, we integrated Firebase Authentication and real-time Cloud Firestore, paired with native Android FusedLocationProviderClient and SmsManager for resilient, zero-internet emergency dispatch.
Challenges we ran into
One of our core hurdles was performing fine-grained spatial safety analysis without introducing unbearable latency during live route searches. Raw satellite data from NASA Black Marble operates on a macro scale, requiring us to design sampling algorithms and PostGIS spatial queries that accurately map orbital radiance measurements to individual road segments. Another significant obstacle was building true offline-first parity: structuring the Room DB schema so complex JSON route geometries, turn-by-turn maneuvers, and safety scores could be saved, retrieved, and animated smoothly without dropped UI frames. Finally, managing multi-tier emergency alerts across unpredictable connectivity required bridging Firebase real-time listeners with direct native SMS fallbacks, ensuring emergency broadcasts never fail when crossing mobile network dead zones.
Accomplishments that we're proud of
We are immensely proud of constructing an end-to-end multi-dimensional safety scoring engine that transforms raw satellite, spatial, and community inputs into an intuitive, actionable Trust Score. We successfully developed a resilient, offline-first navigation architecture that empowers users to navigate safely without requiring an active data connection. On the interface side, we built a polished, user-friendly UI featuring an expandable drag-handle route inspector, clear lightweight route overlays, customizable transport modes, and a dedicated 1-tap home safety module within the user profile. Most importantly, we built a working, fail-safe dual emergency pipeline combining cloud telemetry and hardware-level SMS broadcasting that genuinely prioritizes user life and peace of mind.
What we learned
Throughout the development of SafeHer, we gained deep technical insights into handling geospatial data via PostGIS, calculating real-time path deviation algorithms, and parsing NASA Earth data products for street-level utility. We developed a strong appreciation for offline-first architectural patterns, discovering how reactive frameworks like Kotlin Coroutines, StateFlow, Room DB, and Jetpack Compose interact seamlessly to maintain UI responsiveness under heavy computational loads. Beyond the technical scope, we learned that designing for personal safety requires deep empathy and thoughtful UX—avoiding alarm fatigue, keeping interactions minimal and frictionless during distress, and ensuring every visual indicator provides clarity and calm.
What's next for SafeHer
Looking ahead, we aim to expand SafeHer by integrating crowdsourced live street lighting feedback and community safety ratings to continually refine our neural safety models in real time. We plan to incorporate municipal and police jurisdiction boundary data to enrich the Trust Score with micro-level safety patrol insights. Additionally, we plan to implement automated panic-detection features—such as sudden high-speed route deviation detection, erratic movement recognition using accelerometer sensors, and voice-activated hands-free emergency phrases via our assistant SHEVA. Our ultimate vision is to scale SafeHer across multi-city transit networks, integrating public bus and metro safety feeds to create a comprehensive, universal shield for women's mobility.
Built With
- android
- cloudfirestore
- fastapi
- firebase
- google-maps
- jetpackcompose
- kotlin
- osrm
- python
- supabase