๐จ 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)
- Open the platform
- Enable Demo Mode
- 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
Log in or sign up for Devpost to join the conversation.