Skip to content
HelpBridge

HelpBridge

Help is Just a Click Away

Created on 22nd March 2026

•

HelpBridge

HelpBridge

Help is Just a Click Away

The problem HelpBridge solves

Every day, thousands of lives are impacted by sudden, everyday crises—a severe road accident, an unexpected medical emergency, or a family suddenly losing shelter and needing basic humanitarian aid.

The core problem isn't a lack of people willing to help; it's the chaos of communication and logistics. When emergencies happen, local NGOs, paramedics, and social safety networks are flooded with chaotic, unverified data. They struggle with a "noisy queue" where a critical medical emergency is placed in the exact same line as a request for blankets. In a crisis, a lack of prioritization costs lives.

HelpBridge solves this by acting as an intelligent, real-time triage and dispatch engine. Here is how it makes emergency response faster, easier, and safer for everyone involved:

  1. Eliminating the "Noisy Queue" with AI Triage
  • The Problem: Dispatchers have to manually read through hundreds of requests to figure out who is in immediate danger.
  • The HelpBridge Solution: We integrated Google Gemini AI to act as a digital 911 dispatcher. The moment a request is submitted, the AI instantly analyzes the description and categorizes it. Severe injuries or life-threatening situations are immediately flagged as HIGH priority, while requests for food or shelter are routed as MEDIUM priority. Responders instantly know who to save first.
  1. Eradicating Location Confusion
  • The Problem: In a panic, victims or bystanders often struggle to explain exactly where they are, delaying rescue teams.
  • The HelpBridge Solution: Users don't need to type their address. With one click, the system uses high-accuracy browser GPS combined with OpenStreetMap reverse geocoding to automatically extract and pinpoint the exact street location of the crisis.
  1. Preventing Spam & Verifying the Crisis
  • The Problem: Prank calls and fake requests waste extremely valuable responder time and resources. It is also hard to assess what kind of help is needed without seeing the scene.
  • The HelpBridge Solution: We implemented a strict Live Camera Capture feature. Users cannot upload old photos from their gallery; they must take a live picture of the situation directly through the web app, providing instant, verifiable visual proof to the NGOs.
  1. Bringing Order to Dispatchers
  • The Problem: NGOs manage resources using fragmented tools, spreadsheets, or chaotic WhatsApp groups.
  • The HelpBridge Solution: Verified NGOs get access to a Live Dispatch Map. They can view a real-time, interactive map of their city plotting all active emergencies. They can filter by need (Medical, Food, Rescue), instantly accept a mission to claim it, and mark it as completed—bringing complete operational clarity to humanitarian efforts.

What people can use it for:

  • Good Samaritans / Bystanders: A proxy-reporting toggle allows a passerby to quickly report a severe road accident on behalf of an unconscious victim.
  • Vulnerable Individuals: Someone who suddenly loses their home can request emergency shelter and food assistance directly from local NGOs.
  • NGOs & Paramedics: A centralized command center to deploy ambulances to HIGH priority medical crises, while simultaneously sending volunteer relief vehicles to deliver food to MEDIUM priority requests.

Challenges we ran into

Building HelpBridge involved combining multiple real-time technologies—Live Geolocation, AI processing, and Real-time Databases. Naturally, integrating these seamlessly led to several major technical hurdles:

  1. The Server-Side Rendering (SSR) vs. Interactive Maps Clash
    The Hurdle: We chose Next.js for its speed and SEO, and Leaflet for our Live Dispatch Map. However, Leaflet relies heavily on the browser's window object. During Next.js's server-side build process, window is undefined, causing the entire application to crash with Minified React error #306 and module resolution errors. Furthermore, if a user submitted a request with a blocked GPS, Firebase would occasionally store NaN or undefined for coordinates, which completely broke the Leaflet bounding box logic.

The Fix: We decoupled the map from the server build using Next.js next/dynamic imports with ssr: false. To fix the crashes caused by bad data, we built a strict data interceptor in the MapUpdater component that filters out any request missing valid numerical lat and lng types before calculating the map bounds.

  1. Making the AI Triage "Decisive"
    The Hurdle: Integrating the Google Gemini 1.5 Flash API to categorize emergencies was a game-changer, but initially, the AI was "playing it too safe." It would default almost all requests to MEDIUM priority, rarely assigning HIGH even for critical injuries. Additionally, the AI would sometimes wrap its response in markdown backticks (json ... ), breaking our JSON parser.

The Fix: We heavily refined the prompt engineering. We explicitly defined what constitutes a HIGH priority (e.g., severe bleeding, trapped individuals, accidents) and set the API's temperature parameter to 0.1 to force rigid, predictable formatting. We also wrote a robust regex cleaner to strip out markdown wrappers before parsing, and implemented a local algorithmic fallback just in case the API was ever rate-limited.

  1. The Firebase Storage CORS Nightmare & Live Camera
    The Hurdle: To prevent spam, we wanted users to snap live photos of the emergency rather than uploading from their gallery. After building the HTML5 camera integration, we tried sending the images to Firebase Storage, but were immediately hit with strict CORS policy blocks (Response to preflight request doesn't pass access control check). Fixing this required complex Google Cloud CLI configurations that weren't feasible during the rapid development phase.

The Fix: We completely bypassed Firebase Storage. Instead, we routed the live video feed into a hidden HTML5 <canvas>, scaled the image down to a maximum width of 500px to heavily compress it, and converted it into a Base64 data string. We then saved that highly compressed string directly into the Firebase Firestore document alongside the text data.

  1. The "Ocean Drop" Geolocation Issue
    The Hurdle: Early in testing, if a user's browser delayed the GPS ping, the system would submit default fallback coordinates, causing emergency pins to render in the middle of the ocean on the NGO dashboard. Additionally, raw coordinates aren't helpful to dispatchers who need street names.

The Fix: We enabled enableHighAccuracy: true on the browser's Geolocation API. We then integrated the free OpenStreetMap Nominatim API for both reverse geocoding (turning GPS into a readable street address) and forward geocoding (turning a manually typed address into GPS coordinates). If GPS completely fails, the system now safely defaults to the user's manually typed address and centers the fallback location onto realistic land bounds.

Tracks Applied (2)

AI/ML

Open Innovation

HelpBridge fits the Open Innovation track perfectly because it uses everyday technologies in entirely new ways to solve ...Read More

Discussion

Builders also viewed

See more projects on Devfolio