Skip to content

maynkxx/thirdeye-safety-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThirdEye — Real-Time Disaster Monitoring System

Live Demo:
🔗 https://maynkxx.github.io/thirdeye-safety-map/


Overview

ThirdEye is a real-time disaster monitoring web application that visualizes global earthquake activity, detects nearby risk zones, and helps users navigate to the nearest hospital during emergencies.

It combines live disaster data, geolocation, and map-based visualization to improve situational awareness and emergency response.


Features

  • Live global earthquake tracking
  • Detects your current location
  • Nearby danger detection (100 km safety radius)
  • Finds nearest hospitals using OpenStreetMap
  • Auto-routing to closest hospital
  • Real-time dashboard (total quakes, strongest quake, risk level)
  • Earthquake safety Do's & Don'ts panel
  • Auto-refresh disaster data every 60 seconds

Tech Stack

Frontend

  • HTML, CSS, JavaScript
  • Leaflet.js
  • OpenStreetMap
  • Overpass API
  • OSRM Routing API

Backend

  • FastAPI (Python)
  • Live Earthquake Data API
  • Render (Deployment)

Hosting

  • Frontend → GitHub Pages
  • Backend → Render

How It Works

  1. Backend fetches real-time earthquake data.
  2. Frontend displays disasters on an interactive map.
  3. User location is detected using browser geolocation.
  4. Nearby danger is calculated using distance formula.
  5. Overpass API finds nearby hospitals.
  6. OSRM generates route to the nearest hospital.
  7. Dashboard updates every minute automatically.

Project Preview

Screenshot 2026-02-21 at 1 33 11 AM

Installation (Local Setup)

Backend

git clone https://github.com/maynkxx/thirdeye-safety-map.git
cd thirdeye-safety-map

python -m venv venv
source venv/bin/activate   # Mac/Linux
venv\Scripts\activate      # Windows

pip install -r requirements.txt
uvicorn backend.main:app --reload

About

Real-time disaster monitoring web app that visualizes global earthquakes, detects nearby risk, and guides users to the nearest hospital with live routing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors