Hono
React
Vite
PostgreSQL
Redis

BD Quake Monitor: Real-Time Earthquake Tracking

Real-time earthquake monitoring for Bangladesh with USGS data, AI-powered analysis, and multi-channel alerts.

Azraf Al Monzim
Updated June 13, 2026
127 views
Live
BD Quake Monitor: Real-Time Earthquake Tracking cover
Listen to this post··:··

Project Overview

Built in just 2 hours during a real earthquake event in Bangladesh. Integrates USGS API for real-time data, Google Gemini for AI analysis, and supports Email, SMS, and Discord alerts. Interactive map with Leaflet, Redis caching, and PostgreSQL for persistence.

When Bangladesh got hit with several earthquakes in a short time, my feed was full of random posts—none of them matched the real data. I wanted something accurate. So I built it.


💡 The Spark

Scrolling through Facebook during the earthquake events, I noticed a pattern: misinformation everywhere. People sharing outdated data, exaggerated magnitudes, and incorrect locations. Someone mentioned the USGS FDSN Event API, and that's when it clicked.

What if there was a simple, accurate earthquake tracker specifically for Bangladesh?

Two hours of vibe coding later, BD Quake Monitor was live.


🌍 What It Does

Real-Time Earthquake Data

Fetches verified earthquake data directly from USGS—the gold standard for seismic monitoring. No more guessing, no more misinformation.

AI-Powered Risk Analysis

Integrated Google Gemini AI analyzes earthquake patterns and assesses potential risks for Bangladesh. Get intelligent insights, not just raw numbers.

Interactive Map Visualization

See earthquake locations plotted on an interactive Leaflet map. Understand the geography of seismic activity at a glance.

Personal Alert System

Never miss a significant earthquake near Bangladesh:

  • Email Alerts — Instant notifications to your inbox
  • SMS Alerts — Direct to your phone
  • Discord Alerts — For the tech-savvy crowd

🛠️ Tech Stack

Built fast, built right:

Backend

  • Hono.js — Ultrafast web framework
  • Node.js & TypeScript — Type-safe server logic
  • Prisma — Modern ORM for PostgreSQL
  • Redis — Caching and rate limiting

Frontend

  • React & Vite — Blazing fast development
  • TypeScript — End-to-end type safety
  • Leaflet — Interactive mapping
  • Recharts — Data visualization
  • Tailwind CSS — Rapid UI development

AI & Infrastructure

  • Google Gemini API — AI-powered analysis
  • Docker — Containerized deployment
  • Self-hosted — Running on my own server

🏗️ Architecture

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│   React + Vite  │────▶│   Hono.js API   │────▶│   USGS FDSN     │
│   Frontend      │     │   Backend       │     │   API           │
└─────────────────┘     └────────┬────────┘     └─────────────────┘

                    ┌────────────┼────────────┐
                    ▼            ▼            ▼
            ┌───────────┐ ┌───────────┐ ┌───────────┐
            │ PostgreSQL│ │   Redis   │ │  Gemini   │
            │ Database  │ │   Cache   │ │    AI     │
            └───────────┘ └───────────┘ └───────────┘

                    ┌────────────┼────────────┐
                    ▼            ▼            ▼
            ┌───────────┐ ┌───────────┐ ┌───────────┐
            │   Email   │ │    SMS    │ │  Discord  │
            │  Alerts   │ │  Alerts   │ │  Webhook  │
            └───────────┘ └───────────┘ └───────────┘

✨ Key Features

📊 Dashboard

  • Latest earthquake events near Bangladesh
  • Global seismic activity overview
  • Historical data and trends
  • Magnitude and depth visualizations

🗺️ Interactive Map

  • Real-time earthquake markers
  • Magnitude-based marker sizing
  • Click for detailed event information
  • Bangladesh-centered view with global context

🤖 AI Insights

  • Risk assessment for Bangladesh regions
  • Pattern analysis from historical data
  • Plain-language explanations
  • Actionable safety suggestions

🔔 Alert Subscriptions

  • Customizable magnitude thresholds
  • Multiple notification channels
  • Instant delivery on significant events
  • Easy subscription management

⚡ Built in 2 Hours

This was pure vibe coding—the kind of project where you're in the zone and everything just flows:

  1. Hour 1: Backend setup, USGS API integration, basic data processing
  2. Hour 2: Frontend dashboard, map visualization, Gemini AI integration, deployment

Sometimes the best projects come from a simple frustration: I just wanted accurate earthquake data.


🎯 Why This Matters

During natural disasters, accurate information saves lives. Misinformation creates panic. BD Quake Monitor provides:

  • Verified Data — Straight from USGS, not social media
  • Real-Time Updates — Know what's happening as it happens
  • Bangladesh Focus — Relevant events, not global noise
  • Actionable Alerts — Get notified when it matters

🔗 Open Source

The entire project is open source. Check out the code, contribute, or fork it for your own region:

GitHub: github.com/monzim/BD_QuakeMonitor


🚀 Try It

Visit quake.monzim.com to see real-time earthquake data for Bangladesh.


Built with ❤️ during a late-night coding session. #VibeCoding #Antigravity

Technologies:
Hono
React
Vite
PostgreSQL
Redis
Google Gemini
Leaflet
Docker
TypeScript
USGS API
Azraf Al Monzim

Interested in this project?

Feel free to explore the source code, try the live demo, or reach out if you'd like to collaborate.