NexCommand is an intelligent, rapid crisis response platform designed to aggregate emergency feeds and instantly allocate resources. During an urban crisis, control rooms are flooded with fragmented data, causing critical delays. NexCommand bridges this gap by acting as an AI-assisted "control tower."
Experience the live prototype here: NexCommand on Vercel
Powered by Leaflet.js with CartoDB Dark Matter tiles, providing geographic awareness in a high-stress environment.

Uses Google's live gemini-flash-latest model. Click "AI Brief" to instantly analyze incident parameters and generate immediate tactical response advice.

Automated matching of crises with the nearest available physical assets (Ambulances, Fire Engines, Drones).

A premium, dark-themed command center built to reduce operator eye strain and highlight severe alerts using neon accents.
While the live Vercel link is the easiest way to experience NexCommand, you can also run it locally.
- Node.js must be installed on your machine.
- A free Gemini API Key from Google AI Studio.
- Clone this repository.
- Create a
.env.localfile in the root directory and add your key:VITE_GEMINI_API_KEY="YOUR_GEMINI_API_KEY_HERE"
Double-click the start.bat file in the root folder, OR run:
start.batchmod +x start.sh
./start.shnpm install
npm run devThe terminal will provide a local URL (usually http://localhost:5173/).
- Build Tool: Vite
- Frontend: Vanilla HTML, CSS3 (Custom Properties & Glassmorphism), ES6 JavaScript
- Mapping: Leaflet.js
- Artificial Intelligence: Google Gemini 1.5 Flash API
This prototype is built primarily using open-source libraries and free-tier CDN assets (like CartoDB basemaps and Phosphor Icons). The Gemini API key must be supplied locally via .env.local or securely injected via Vercel Environment Variables, keeping the public codebase 100% secure.