Inspiration

During floods, cyclones, and other disasters, communication networks can become unreliable exactly when people need help the most. People may struggle to report emergencies, share critical information, and coordinate available resources.

We wanted to explore a simple but important question: What if emergency reporting could continue even when the internet is unavailable?

That idea inspired us to build CrisisConnect.

What is CrisisConnect?

CrisisConnect is an offline-first disaster reporting and coordination web application designed to help communities record emergency reports, organize assistance requests, and coordinate resources.

Its core principle is simple: When networks fail, help must continue.

Key Features

  • Offline-first emergency reporting: Emergency reports are stored locally in IndexedDB first and queued for synchronization when connectivity returns.
  • AI-powered report suggestions: Firebase AI Logic Hybrid Inference is integrated to generate suggested categories, priorities, and summaries.
  • On-device AI: Report classification is configured to prefer on-device Gemini Nano inference, helping keep report text on the device by default.
  • Optional cloud fallback: Users can explicitly enable cloud AI fallback through Settings.
  • Synchronization: Pending reports are synchronized with Firestore when the device reconnects. Reports are marked submitted only after a successful cloud write.
  • Report management: Users can view, search, and filter their reports and check synchronization status.
  • Community coordination: Resources, volunteers, community updates, and coordinator features support information sharing.
  • Emergency map: Leaflet and OpenStreetMap provide a geographical view. Sample map information is clearly labelled DEMO DATA.
  • English and Tamil interface: Basic interface labels support both languages.

AI-generated suggestions are not verified rescue decisions and should not replace emergency services.

How We Built It

We built CrisisConnect using React 18, Vite, TypeScript, and Tailwind CSS for the frontend.

Firebase provides Authentication and Firestore for user accounts and cloud coordination. Firebase AI Logic is used for hybrid AI inference, with on-device inference as the default for report classification and optional cloud fallback.

IndexedDB stores reports locally, while a synchronization queue handles cloud submission when connectivity is available. Leaflet and OpenStreetMap provide the emergency map.

Challenges We Faced

One of our main challenges was designing an offline-first workflow without falsely telling users that an emergency report had reached the cloud.

We addressed this by saving reports locally first and distinguishing between Pending Sync, Submitted, and Sync Failed states.

Another challenge was integrating hybrid AI inference while keeping report privacy in mind. We designed the default classification flow to use on-device inference and made cloud fallback an explicit user setting.

We also had to consider Firebase security rules, role-based access, connectivity changes, and the limitations of on-device model availability.

What We Learned

Building CrisisConnect helped us understand the importance of offline-first architecture, local data persistence, cloud synchronization, Firebase security, and hybrid AI inference.

We learned that responsible AI in emergency-related applications requires transparency: users should know where inference happens, and AI suggestions must never be presented as verified rescue decisions.

Current Status

CrisisConnect is a working local web application prototype. The interface and development build have been tested locally. Full end-to-end validation with a live Firebase project, Firestore synchronization, and actual Gemini Nano inference remains to be completed.

Sample dashboard information is labelled DEMO DATA and does not represent real emergencies.

Future Improvements

  • Progressive Web App support and improved offline asset caching.
  • Emergency photo attachments.
  • Volunteer-to-report assignment.
  • Duplicate report detection.
  • More complete Tamil translations.
  • Extensive real-world testing with Firebase and supported on-device AI environments.

Built With

Share this project:

Updates

Submission history