← Back to work

Early Warning · Disaster Intelligence

GitHub verified

SerenityEWS

Serenity EWS Bogor Logo **Serenity EWS Bogor** is a comprehensive Early Warning System (EWS) designed to provide timely and accurate information about weather and potential natural disasters in the Bogor City and Regency areas. Built with modern web technologies and powered by Generative AI, this application aims to enhance community preparedness and safety.

Next.jsTypeScriptPostgreSQLGoogle AIGenkit

Language

TypeScript

Stars

1

Forks

0

Last push

Jul 2, 2025

Overview

Repository evidence
Serenity EWS Bogor Logo **Serenity EWS Bogor** is a comprehensive Early Warning System (EWS) designed to provide timely and accurate information about weather and potential natural disasters in the Bogor City and Regency areas. Built with modern web technologies and powered by Generative AI, this application aims to enhance community preparedness and safety.

Problem

Not documented
Not documented in the repository README.

Solution

Not documented
Not documented in the repository README.

Architecture

Repository evidence
• src/app/: Contains all the pages and routes for the application, following the Next.js App Router structure. • src/components/: Shared React components used across the application, including UI components from ShadCN. • src/ai/: • flows/: All Genkit AI flows are defined here. Each file typically encapsulates a single AI-driven task. • genkit.ts: Genkit configuration file. • src/lib/: • db.ts: PostgreSQL database connection setup. • utils.ts: Shared utility functions. • *.ts: Mock data sources and type definitions for various disaster types (e.g., weather.ts, earthquake.ts). • src/contexts/: React Context providers, such as the LanguageProvider. • src/locales/: JSON files for internationalization (i18n) strings (English and Indonesian). • public/: Static assets, including the application logo. • schema.sql: The SQL schema for the database tables. --- This project was developed within Firebase Studio.

Engineering Highlights

Repository evidence
• **Real-time Weather Monitoring**: Get current weather conditions and a 7-day forecast for Bogor City and Regency. • **AI-Powered Recommendations**: Receive daily AI-generated suggestions for activities and clothing based on the weather forecast. • **Multi-Disaster Information Pages**: Dedicated dashboards for monitoring: • 🌊 **Floods**: Tracks water levels at key dams like Katulampa. • 🌍 **Earthquakes**: Shows the latest seismic activity details. • ⛰️ **Landslides**: Assesses and displays current landslide risks. • 🔥 **Fires**: Reports on active fire incidents. • 🌋 **Volcanoes**: Monitors the status of nearby volcanoes like Mount Salak. • 🌪️ **Whirlwinds/Typhoons**: Provides alerts on tropical storms. • **Nearby Hazard Alerts**: Uses your device's location to provide real-time, personalized safety alerts if you are near a potential hazard. • **Community Reporting**: A crowd-sourcing platform for citizens to report incidents with photos and descriptions. Reports are analyzed and summarized by AI. • **Annual Disaster Reports**: Interactive charts and AI-driven trend analysis of disaster data by year and location (Bogor City/Regency). • **Bilingual Support**: Fully available in both English and Indonesian.

Technology

Repository evidence
• **Framework**: Next.js (with App Router) • **Language**: TypeScript • **UI**: React, ShadCN UI, Tailwind CSS • **Generative AI**: Google AI & Genkit • **Database**: PostgreSQL • **Deployment**: Firebase App Hosting (or any Node.js compatible platform)
Source: GitHub repositoryRepository updated Jul 3, 2025