Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shield Icon

NexCommand 🚨

Intelligent Rapid Crisis Response & Resource Allocation Dashboard

Live Demo Built with Vite AI Powered


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."


🔗 Live Prototype

Experience the live prototype here: NexCommand on Vercel


🌟 Core Features

1. Interactive Tactical Map

Powered by Leaflet.js with CartoDB Dark Matter tiles, providing geographic awareness in a high-stress environment. Tactical Map

2. Gemini AI Situation Briefs & Live Feed

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

3. Intelligent Resource Dispatch

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

4. Glassmorphism UI

A premium, dark-themed command center built to reduce operator eye strain and highlight severe alerts using neon accents.


🚀 Quick Start (For Local Testing)

While the live Vercel link is the easiest way to experience NexCommand, you can also run it locally.

Prerequisites

Setup

  1. Clone this repository.
  2. Create a .env.local file in the root directory and add your key:
    VITE_GEMINI_API_KEY="YOUR_GEMINI_API_KEY_HERE"

For Windows:

Double-click the start.bat file in the root folder, OR run:

start.bat

For Mac / Linux:

chmod +x start.sh
./start.sh

Manual Boot:

npm install
npm run dev

The terminal will provide a local URL (usually http://localhost:5173/).


🛠️ Tech Stack

  • Build Tool: Vite
  • Frontend: Vanilla HTML, CSS3 (Custom Properties & Glassmorphism), ES6 JavaScript
  • Mapping: Leaflet.js
  • Artificial Intelligence: Google Gemini 1.5 Flash API

🔒 Security Note

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.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages