Inspiration

The first minutes of a campus incident are chaos. Witnesses each see a fragment, rumors spread faster than facts, and nobody has one shared picture of what is happening. We wanted to build something for those minutes: a way for bystanders to report what they actually saw, and for a coordinator to turn that into a single brief where every claim traces back to a source.

FirstLink is not a 911 feed, a dispatch system, or a safety authority but, merely a tool that can get more information to the first responders even before they arrive on scene.

What it does

Two essential components:

  • Witnesses open a shared link and submit what they saw as text, a photo, or a voice note up to 45 seconds, with consent captured first.
  • A coordinator reviews every report on a dashboard, refreshes the shared brief, adds corrections, and approves registered volunteers. Each brief claim references the witness report IDs it came from. Disputed and unknown items stay visible instead of being smoothed over.

How we built it

The app is Next.js and TypeScript. On explicit coordinator action, Google's Gemini Interactions API combines photo evidence and voice transcripts into a validated, source-linked brief. ElevenLabs transcribes submitted voice notes and can narrate the current brief; the narration is cached so it is generated once. Neon Postgres persists incidents, reports, brief revisions, coordinator notes, role access, and assignment transitions, with atomic budget reservations for paid actions. The whole app ships as one Docker container on a single Vultr VM behind Caddy for HTTPS, with media stored on a persistent volume.

Every paid action has a persistent cap, input limits, and no automatic retries. Each browser session gets an isolated workspace, and share links are scoped per role.

Challenges and what I learned

Making a robust system that people use in areas of high distress and panic comes with it's own challenges. We have tried to search up and use the best design practices to remove friction that user might run into. Creating a system that uses agentic backend is also very difficult as you need to set the agent to not hallucinate as well as save them from type 1 and type 2 errors.

Built With

Share this project:

Updates

Submission history