https://github.com/5amogh/crowd-pulse
Real-time public transport crowd monitoring and predictive analytics MVP. Designed to help authorities and commuters visualize crowd density, detect risks, and optimize train operations.
https://github.com/5amogh/crowd-pulse
crowdcontrol disaster-management public-transport publicinteresttech safety socialimpact
Last synced: 11 months ago
JSON representation
Real-time public transport crowd monitoring and predictive analytics MVP. Designed to help authorities and commuters visualize crowd density, detect risks, and optimize train operations.
- Host: GitHub
- URL: https://github.com/5amogh/crowd-pulse
- Owner: 5Amogh
- Created: 2025-07-05T19:27:26.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-07-06T08:27:05.000Z (12 months ago)
- Last Synced: 2025-07-06T09:29:49.207Z (12 months ago)
- Topics: crowdcontrol, disaster-management, public-transport, publicinteresttech, safety, socialimpact
- Language: JavaScript
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π¦ Crowd-Pulse
**Real-time public transport crowd monitoring and predictive analytics MVP.**
Designed to help authorities and commuters visualize crowd density, detect risks, and optimize train operations.
> Built collaboratively by **Amoghavarsh Desai** and **ChatGPT (OpenAI)** π€
---
## π§ What is Crowd-Pulse?
Crowd-Pulse is a demo prototype (MVP) that simulates how public transport systems (e.g., metros, subways) can:
* π Track real-time **platform crowd density**
* π Compare **expected vs actual train loads**
* π Raise **alerts** for overcrowding or sensor inconsistencies
* π Visualize **historical crowd trends**
* π Enable smart, data-driven transit decisions
Itβs designed as a starting point for cities, researchers, or civic tech hackers who want to reduce stampedes, delays, and discomfort in public transport.
---
## ποΈ Project Structure
```
Crowd-Pulse/
βββ backend/ # Express.js API for mock crowd simulation & risk analysis
β βββ index.js
β βββ crowd_history.json
β βββ package.json
βββ frontend/ # React + Material UI + Chart.js dashboard
β βββ src/
β β βββ CrowdTrendDashboard.jsx
β βββ vite.config.js
β βββ package.json
βββ README.md
```
---
## βοΈ Features
β
Crowd Estimation from:
* Ticket check-ins
* Device ping approximations (simulated)
β
Insights Engine:
* Calculates density (people/mΒ²)
* Computes train load vs capacity
* Flags high-risk conditions (e.g., overcrowding)
β
Historical Logging:
* Saves every simulation step to JSON
* Visualized with line charts
β
Frontend Dashboard:
* Station selector
* Auto-refresh every 10s
* Responsive and clean UI using Material UI
---
## π Getting Started
### 1. Backend Setup
```bash
cd backend
npm install
npm start
```
Starts the mock server at: [http://localhost:8000/mock-crowd](http://localhost:8000/mock-crowd)
### 2. Frontend Setup
```bash
cd frontend
npm install
npm run dev
```
Opens the dashboard at: [http://localhost:5173](http://localhost:5173)
---
## πΈ Screenshots
Coming soon!
---
## π€ Authors
* [Amoghavarsh Desai](https://github.com/5Amogh) β Ideation, Design, Engineering
* [ChatGPT (OpenAI)](https://openai.com/chatgpt) β Rapid prototyping, logic architecture, and code generation
---
## π‘ Future Ideas
* Live integration with metro check-in APIs or IoT devices
* SMS/push alerts to passengers
* Multi-station congestion forecasting
* Admin panel for transport authorities
---
## π License
MIT β Free to use, fork, or modify.
> Letβs make cities safer, smarter, and commuter-friendly β one pulse at a time. π¦π