About
## Challenges we ran into
---
## ๐ฑ For the rider *(Expo / React Native)*
- ๐ **One tap, four emergencies**, each routed by straight-line distance.
- โ **Honest live status:** the rider sees only steps a responder really took. Help is never promised before someone accepts. If nobody does: *"No responder answered. Call 112."*
- ๐ **Drive Mode:** a crash needs speed context, a hard impact **and** a sudden stop, so a speed breaker never triggers it. Then a **20-second alarm countdown** with a cancel button, and an automatic Accident SOS if not cancelled.
- ๐ก **Weak-signal ladder:** with no data the alert is saved on the phone, a **Morse SOS** flashes on screen for people nearby, and it is retried when signal returns.
- ๐ช **Family alert (simulated):** a clearly labelled demo record. No one is messaged.
## ๐ฅ๏ธ For the responder *(web console + accept page)*
- ๐ Live alert queue, on-duty switch, and role views for hospital, police, mechanic and fuel pump.
- ๐ค **Accept or Can't respond**, then responder-set **On the way โ Arrived โ Resolved**, with an optional estimate typed by the responder. The system never computes an ETA.
- โญ๏ธ **Escalation:** a decline or timeout moves the alert to the next-nearest responder. When everyone is tried, it becomes *unanswered*.
- โฑ๏ธ A measured SOS-to-first-dispatch time from our own logs, plus session history and live counts.
---
## โถ๏ธ See it in 60 seconds
1. Tap **Medical SOS**
2. The alert appears on the **console** 3. Press **Accept**, and the rider's timeline updates 4. Press **Simulate crash**, watch the countdown, then the automatic Accident SOS goes to hospital **and** police 5. Ignore an alert and watch it **escalate**
---
## ๐ Safety and honesty
- Accept links use random, hashed, expiring tokens.
- The API is rate-limited and validated, and motion data stays on the phone.
- RakshaLink **supports India's 112 and does not replace it.**
## โ Real vs simulated
| | What |
|:--|:--| | โ **Real** | triage rules, distance matching, escalation, the responder-controlled status flow, the countdown, the offline queue, live updates | | ๐งช **Simulated and labelled** | the responder network (sample points seeded from OpenStreetMap) and dispatch (**"SIMULATED DISPATCH"**). No real hospital, police or emergency service is contacted. | | ๐ฌ **Prototype** | crash detection is tested on replayed traces, not real crashes. We make no accuracy claim. |
## ๐ฃ๏ธ What's next
- Validate crash detection on real devices
- Add real SMS and voice dispatch
- Pilot one highway corridor, with responder onboarding alongside 112
*These are proposals, not partnerships.*
## The problem it solves
# ๐ RakshaLink ### Not just an SOS button. A triage agent that knows exactly who to call, online or off.
---
## ๐จ The problem
> ### 1,72,890 lives lost on Indian roads in 2023 > *Source: MoRTH, Road Accidents in India 2023*
On a highway, help depends on **seconds** and on **signal**. The victim may have:
- ๐ต **no network**
- ๐ **a locked phone** - ๐ค **no way to speak**
A generic SOS button sends one kind of alert to one kind of place, and does nothing if nobody taps it.
---
## ๐ก Our idea: a triage agent, not just an SOS button
RakshaLink works out **who** should be called, alerts them, waits for a **real answer**, and tells the rider the truth about what is happening.
| Emergency | Who is notified |
|:--|:--| | ๐ฅ **Medical** | nearest hospital | | ๐ **Accident** | nearest hospital **and** nearest police | | ๐ง **Breakdown** | nearest mechanic | | โฝ **Fuel** | nearest fuel pump |
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.










