Community-driven climate early warning platform for Nigerian farmers and residents — report hazards, verify them collectively, get AI-powered safety advisories from Gemma 4 running fully offline. Built for Build with Gemma: GenAI for SDGs (Kwara State University).
# 🌍 ClimateGuardian AI
**Community Climate Intelligence** — an AI-powered climate resilience platform for Nigerian communities, built for the **Build with Gemma: GenAI for SDGs** hackathon (Kwara State University).
> Early, community-verified reporting turns local observations into real-time risk intelligence — helping communities detect, respond to, and recover from climate and environmental hazards before they escalate.
---
## 🎯 SDG Alignment
- **SDG 11 — Sustainable Cities and Communities**: Strengthens local capacity for inclusive, community-driven disaster risk management by putting reporting and verification directly in residents' hands.
- **SDG 13 — Climate Action**: Builds adaptive capacity and early-warning infrastructure for climate-related hazards in communities that are otherwise underserved by formal monitoring systems.
---
## 👥 Who It's For
| Role | Use Case |
|---|---|
| 🌱 Crop Farmers | Report crop disease, drought, pest infestation |
| 🐄 Livestock/Poultry Farmers | Report livestock disease, heatwave impact |
| 🐟 Fish Farmers | Report fish pond issues, water quality problems |
| 🏠 Community Residents | Report flooding, erosion, infrastructure damage |
---
## ✨ Features
- **Authentication & Profiles** — registration with State → LGA → Community selection, secure bcrypt password hashing, security-question password recovery
- **Incident Reporting** — structured reports (type, severity, description, photo evidence) tied to exact location
- **Community Verification** — Confirm / False / Unsure voting on reports, with one vote per user per report enforced at the database level
- **Trust Scoring** — reporter trust score and badge, computed from how often their reports are community-verified
- **Live Community Risk Monitor** — a real-time risk score derived from report volume and severity
- **Government-Style Safety Advisories** — auto-generated guidance based on current risk level, multilingual-ready (English / Yoruba / Hausa / Igbo)
- **Live Wea …