An open API service indexing awesome lists of open source software.

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.

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. πŸš¦πŸ“Š