Inspiration

During urgent medical procedures, families waste critical golden hours searching scattered WhatsApp groups and outdated spreadsheets to find compatible blood donors nearby. In moments of panic, people often do not know which blood groups are medically compatible with the patient's, struggle with complex English-only forms, and continue receiving spam calls days after the blood requirement has already been met. We built LifePulse to replace this chaotic, fragmented process with a fast, privacy-first, location-based voluntary donor network.

What it does

LifePulse is a complete 3-horizon voluntary blood coordination platform designed around speed, donor consent, and real-world hospital workflows:

  • Multilingual & Voice-Enabled SOS Requests: Users select their preferred language (English, Hindi, Marathi, Gujarati) upon entry and can dictate urgent blood requests using Voice-to-Text instead of typing during an emergency.
  • Smart Blood Compatibility Engine: Automatically maps compatible donor and recipient blood types ($O-$, $AB+$, etc.) and filters verified donors across hyperlocal radii ($2\text{ km}$, $5\text{ km}$, $10\text{ km}$), alongside a live fallback tab for nearby verified Blood Banks.
  • 20-Second Pre-Donation Eligibility Quiz: Intercepts donor acceptance with a quick 4-question medical safety check (recent antibiotics, tattoos, weight, and health status) to prevent wasted hospital trips and automatically re-route alerts if a donor is ineligible.
  • Consent-Based Live Tracking & Geofencing: Once a donor taps "Start Journey to Hospital", families get a live map with real-time ETA and a one-tap option to sponsor an Uber/Ola/Rapido ride. Tracking automatically terminates once the donor enters a $100\text{-meter}$ hospital geofence to protect their privacy.
  • Auto-Expiring WhatsApp SOS Cards & Tier-2 Escalation: Generates a smart shareable status card that automatically flips from URGENT to FULFILLED — Please stop calling once donors are confirmed. If no donor responds within 10 minutes, Tier-2 Escalation expands the radius to $25\text{ km}$ and connects directly to $24\times7$ Government/Red Cross blood banks.
  • Proactive Ecosystem Support: Includes Scheduled Blood Buddy Circles for recurring Thalassemia transfusions, local Donation Camp slot bookings, a post-donation Health Vault, and a Near-Expiry Stock Exchange for hospitals.

Disclaimer: LifePulse is a community coordination prototype and must not be treated as an emergency medical service.

How we built it

  • Frontend & UI Architecture: Built using React, TypeScript/JavaScript, and Tailwind CSS with a dynamic CSS-variable theme switcher (including High-Contrast Dark Mode for nighttime hospital environments).
  • Geolocation & Spatial Filtering: Integrated the browser Geolocation API (navigator.geolocation) and the Haversine Formula ($d = 2r \arcsin(\sqrt{\sin^2(\Delta\phi/2) + \cos(\phi_1)\cos(\phi_2)\sin^2(\Delta\lambda/2)})$) to calculate exact donor-to-hospital distances and trigger the $100\text{ m}$ privacy geofence.
  • Voice & Deep-Link Integrations: Used the Web Speech API for hands-free emergency dictation, along with structured deep-links for WhatsApp, SMS Fallback Mode, and ride-hailing apps.
  • Modular Service Layer: Architected with a decoupled state and persistence layer (LocalStorage + API-ready service hooks) and an integrated Demo Role Switcher (Requester, Donor, and Hospital Admin) to test the full lifecycle seamlessly.

Challenges we ran into

  • Balancing Speed with Donor Privacy: Making urgent discovery fast without exposing donors' phone numbers or home addresses required strict PII masking—ensuring contact details and live GPS coordinates unlock only after explicit donor consent and auto-terminate upon arrival.
  • Preventing Information Overload in Emergencies: Designing an interface that supports multi-language onboarding, voice input, compatibility rules, and live tracking without overwhelming a panicked user took multiple UI iterations to keep the layout clean and intuitive.
  • Handling Edge Cases: Designing fallback workflows for low-signal hospital basements (Offline SMS Mode) and zero-donor scenarios (Tier-2 Escalation to blood banks) required thinking beyond standard happy-path user flows.

Accomplishments that we're proud of

  • Building a complete end-to-end workflow that bridges both immediate emergencies and long-term recurring care (Thalassemia support and near-expiry hospital stock transfers).
  • Creating an accessible, stress-reducing user experience featuring regional languages, voice dictation, a customizable color theme switcher, and an auto-expiring WhatsApp SOS card that solves real-world post-emergency spam calls.

What we learned

  • Healthcare technology requires designing for human panic and physical constraints—features like a 20-second eligibility check or an offline SMS string matter just as much as core matching algorithms.
  • Privacy-by-design (consent gates, contact masking, and geofenced auto-stop tracking) is essential to building trust with voluntary blood donors.

What's next for LifePulse

  • Production Backend & Real-Time Sockets: Connecting our decoupled service layer to a Node.js / Spring Boot backend with MongoDB 2dsphere geospatial indexing and **WebSockets (Socket

Built With

  • api
  • apis
  • bank
  • blood
  • click-to-chat
  • deep-link
  • e-raktkosh
  • gateway
  • google
  • gps
  • inventory
  • leaflet.js
  • maps
  • ola
  • otp
  • rapido
  • sms
  • speech
  • storage
  • uber
  • uri
  • web
  • whatsapp
Share this project:

Updates

Submission history