Skip to content

RehanDias/gempa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ BMKG Earthquake Monitor

BMKG Logo

Real-time Seismic Activity Tracking in Indonesia

Stay informed about seismic events across the Indonesian archipelago

Status Version License Updates

Features โ€ข Installation โ€ข Tech Stack โ€ข Contributing โ€ข Contact


๐ŸŒŸ Highlights

  • ๐Ÿš€ Real-time Monitoring: Live earthquake data updates every 5 minutes
  • ๐ŸŽฏ High Accuracy: Direct feed from BMKG's official data sources
  • ๐Ÿ’ก Smart Features: Intelligent data processing and visualization
  • ๐Ÿ”’ Reliable: Built with robust error handling and failsafes

โœจ Key Features

  • ๐Ÿ”„ Real-time Updates: Automatic data refresh every 5 minutes
  • ๐Ÿ“Š Comprehensive Dashboard:
    • Total events counter
    • Significant events tracker
    • Felt reports summary
    • Last update timestamp
  • ๐Ÿ—บ๏ธ Interactive Map: Dynamic visualization with color-coded markers
  • ๐Ÿ“ˆ Timeline Chart: Historical earthquake frequency analysis
  • ๐Ÿ“ฑ Modern UI: Responsive design with glass-morphism effects
  • โšก Performance: Optimized loading with caching system

๐Ÿ› ๏ธ Technical Implementation

Tech Stack


Tailwind CSS

Chart.js

Leaflet.js

Luxon

Frontend Technologies

  • CSS Framework: Tailwind CSS with custom configurations
  • JavaScript Libraries:
    • Chart.js for data visualization
    • Leaflet.js for interactive maps
    • Luxon for datetime handling
    • FancyBox for image galleries
    • Lodash for utility functions

Data Integration

  • Real-time data from BMKG XML feeds:
    • Latest earthquakes
    • Felt earthquakes
    • Significant events (M 5.0+)

Performance Features

  • Data caching system (5-minute cache duration)
  • Throttled updates to prevent API overload
  • Optimized asset loading
  • Responsive image handling

๐Ÿ’ซ UI Components

Dashboard Cards

  • Latest Earthquake Information
    • Magnitude and depth display
    • Location details
    • Shakemap viewer (when available)
    • Felt reports integration

Interactive Tables

  • Felt Earthquakes Table
    • Time and location
    • Magnitude classification
    • Impact reports
  • Major Earthquakes Table
    • Chronological listing
    • Potential hazard information

Data Visualization

  • Timeline Chart
    • Magnitude trends
    • Interactive tooltips
    • Dynamic date scaling
  • Interactive Map
    • Color-coded markers
    • Popup information
    • Responsive sizing

๐Ÿš€ Quick Start

Prerequisites

  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • Internet connection for real-time updates

Installation Steps

  1. Clone the repository:

    git clone https://github.com/RehanDias/gempa.git

    or visit the live site:

    https://rehandias.github.io/gempa
    
  2. Navigate to the project directory:

    cd gempa
  3. Open index.html in your browser or use a local server for full functionality.


๐Ÿ“Š Features Overview


Dynamic Dashboard
Real-time statistics

Interactive Map
Visual tracking

Time Analysis
Trend visualization

๐ŸŒ Live Demo

Try the live version: BMKG Earthquake Monitor

๐Ÿ“ฑ Mobile View

The dashboard is fully responsive and works seamlessly on mobile devices.

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  • ๐Ÿ› Report bugs
  • ๐Ÿ’ก Suggest features
  • ๐Ÿ”ง Submit pull requests

๐Ÿ“œ Acknowledgements


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ“ž Contact

For questions or feedback about this project, please contact:

For official BMKG information:



If you found this project helpful, consider giving it a โญ

Built with โค๏ธ by rehan dias in ๐Ÿ‡ฎ๐Ÿ‡ฉ

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors