๐Ÿšจ CRISES COMPASS

Real-time Crisis Intelligence & Response Platform

Turning chaos into coordinated action using AI + real-time data + interactive mapping.


๐ŸŒ Problem

During emergencies (natural disasters, accidents, urban crises), information is:

  • Scattered
  • Delayed
  • Unverified

This leads to:

  • Slow response times
  • Poor coordination
  • Increased casualties

๐Ÿ’ก Solution

Crises Compass is a real-time crisis management platform that:

  • ๐Ÿ“ Maps incidents live on an interactive dashboard
  • ๐Ÿค– Provides AI-powered emergency guidance
  • ๐Ÿ“Š Visualizes impact metrics for decision-makers
  • ๐Ÿงญ Enables coordinated response via a command center

โœจ Key Features

๐Ÿ—บ๏ธ Live Crisis Map

  • Real-time incident visualization using Mapbox GL JS
  • Location-based alerts and updates
  • Interactive markers with details

๐Ÿค– AI Emergency Assistant

Powered by OpenAI API

  • Instant guidance during emergencies
  • Context-aware responses
  • Helps users make critical decisions fast

๐Ÿง‘โ€๐Ÿš’ Command Center Dashboard

  • Centralized control interface
  • Live stats & metrics
  • Incident tracking and prioritization

๐Ÿ“Š Impact Analytics

  • Real-time data insights
  • Visual dashboards
  • Helps authorities allocate resources effectively

๐Ÿงช Demo Mode (Hackathon Ready)

  • Preloaded data
  • Fully functional without backend setup
  • Perfect for live judging demos

๐Ÿ› ๏ธ Tech Stack

Layer Technology
Frontend React + Vite
Styling Tailwind CSS
Backend Supabase
Maps Mapbox GL JS
AI OpenAI API
Deployment Vercel / Netlify

โš™๏ธ Getting Started

1. Clone the repo

git clone https://github.com/your-username/crises-compass.git
cd crises-compass

2. Install dependencies

npm install

3. Setup environment variables

Create a .env file:

VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_key
VITE_OPENAI_API_KEY=your_openai_key
VITE_MAPBOX_TOKEN=your_mapbox_token

4. Run the app

npm run dev

5. Open in browser

http://localhost:5173

๐ŸŽฏ Demo Guide (For Judges)

  1. Open the platform
  2. Enable Demo Mode
  3. Explore:
  • ๐Ÿ“ Live Map โ†’ view incidents
  • ๐Ÿค– AI Assistant โ†’ ask emergency questions
  • ๐Ÿ“Š Dashboard โ†’ see analytics
  • ๐Ÿงญ Command Center โ†’ simulate coordination

๐Ÿง  Architecture Overview

User โ†’ React Frontend โ†’ Supabase (DB/Auth)
                      โ†’ OpenAI (AI Assistant)
                      โ†’ Mapbox (Geospatial UI)

๐Ÿš€ What Makes This Special

  • Combines AI + geospatial intelligence
  • Designed for real-world emergency use
  • Fully interactive + scalable architecture
  • Built with demo-first mindset for hackathons

โš ๏ธ Limitations (Honest + Smart)

  • Requires API keys for full functionality
  • AI responses depend on external API availability
  • Real-time data currently simulated in demo mode

๐Ÿ”ฎ Future Improvements

  • Live government / IoT data integration
  • SMS & offline emergency alerts
  • Multi-language AI support
  • Mobile app version

๐Ÿ‘ฅ Team

Built during a hackathon with a focus on:

  • Speed โšก
  • Impact ๐ŸŒ
  • Real-world usability ๐Ÿงญ

๐Ÿ“„ License

MIT License


โค๏ธ Final Note

In a crisis, minutes matter. **Crises Compass helps people act faster, smarter, and together

Share this project:

Updates