My project Disaster Alert is a Progressive Web App (PWA) designed to provide users with real-time disaster notifications, whether natural or man-made.
Users can report potential disasters by sharing photo or video evidence within a group chat. This media is automatically analyzed using an integrated machine learning model to verify the authenticity of the event.
Once verified:
✅The admin (e.g., a senior disaster response authority , police, Fire Brigade etc) is notified.
✅All users are alerted with the exact location of the disaster.
✅The affected area is marked as a red zone on an interactive map, helping others stay informed and avoid the danger zone.
✅This system enables community-driven, AI-powered disaster detection and response, ensuring faster alerts and improved public safety.
( 👇demo video is attached below.)
disaster.alert.mp4
| Requirement | Details / Version |
|---|---|
| Node.js | v14+ |
| npm | v6+ (comes bundled with Node.js) |
| Python | 3.x |
| Python Packages | torch, numpy, pillow |
| Node.js Packages | express, socket.io, |
| ML Model File | model/model3.pkl (required for disaster detection) |
| Web Browser | Latest version of Chrome, Firefox, Edge, etc. |
Frontend : HTML5 ,CSS3, JavaScript
Backend : Node.js, Express.js , Socket.io
ML Model : Python 3x
💠Real-time disaster reporting via group chat
💠Media-based disaster proof submission
💠ML model integration for automatic disaster verification
💠Admin alerts and broadcast notifications
💠Risk zone detection on live map (red zones)
Step 1: Install Node.js Dependencies
npm installStep 2: Ensure Python and Required Packages Are Installed
pip install torch numpy pillowStep 3: Start the Node.js Server
node server.jsStep 4: Open the Application in Your Browser and go to
http://localhost:3000/front.htmlmodel // pkl file