Build with AI: Code for Communities β Second Edition | Track: Sustainability
BRICS 2026 Pillar: Building for Resilience, Innovation, Cooperation and Sustainability
Team: Arun & Co (Arun Β· Sairam Β· Persis)
| Component | Platform | Live URL / Asset |
|---|---|---|
| πΎ Citizen Capture PWA | Netlify | https://vesperaero-citizen.netlify.app/ |
| ποΈ Policy Command Center | Netlify | https://vesperaero-gov.netlify.app/ |
| β‘ Forensic Backend API | Railway | https://web-production-9805d.up.railway.app/api/health |
| π± Standalone Android APK | GitHub Releases | Download VesperAero-Release-v1.0.apk |
Major BRICS cities monitor macro-level air quality but consistently miss hyper-local and cross-border pollution events β industrial emissions, stubble burning, brick kiln emissions, and chemical flares. The absence of real-time granular forensic data prevents coordinated climate action.
VesperAero turns citizens into hyper-local pollution sensors:
- πΈ Citizen Capture: A citizen snaps an optical emission or uploads an incident.
-
π§ Google Gemini 1.5/2.5 Flash Vision AI: Multimodal inspection classifies source, computes opacity (1β10), and extracts hazardous chemical signatures (
$PM_{2.5}, SO_2, CO, NO_x$ ). - π¨ Atmospheric Physics (Gaussian Plume Dispersion): Live meteorological wind vectors from Open-Meteo model 2D dispersion cones across state and international borders.
- π°οΈ NASA FIRMS Ground-Truthing: Satellite thermal anomalies (MODIS/VIIRS) correlate ground reports with orbital data.
-
ποΈ Government Command & Dispatch: Regulators triage live incidents, inspect plume trajectories, and broadcast standardized
BRICS-AERO-FED-v1.0alerts.
flowchart TD
A[π± Citizen PWA / Flutter Mobile App] -->|Photo + GPS + Voice| B(π Express API Gateway)
B -->|Fetch Wind Vectors| C[β
Open-Meteo Meteorological API]
B -->|Multimodal Optical Forensics| D[π§ Google Gemini Vision AI]
B -->|Satellite Thermal Overlay| E[π°οΈ NASA FIRMS Satellite API]
B -->|Cache / Deduplication| F[β‘ Redis / SHA-256 Quota Shield]
B -->|Object Storage| G[πͺ£ MinIO S3 Storage]
B -->|Real-time SSE Stream| H[ποΈ Gov & Policy Command Center]
H -->|Gaussian Dispersion Physics| I[π¨ Transboundary Plume Cone]
H -->|Dispatch Alert| J[π’ BRICS Inter-Agency Federation]
| Defense Layer | Mechanism | Benefit |
|---|---|---|
| π Isolated API Keys | 100% Backend Server Isolation | Zero Gemini API key exposure in DevTools or client apps. |
| β‘ SHA-256 Quota Shield | In-Memory Hash Caching | Identical photos served in 1ms with 0 API calls. |
| π Judge VIP Fast-Track | X-Judge-Token: vesper-eval-2026 |
Evaluators bypass rate limits during testing. |
| π’ Global Circuit Breaker | 1,000 call/day limit auto-fallback | 100% uptime guaranteed; falls back to calibrated physics engine. |
| π DoS Memory Guard | 10MB payload size limits | Prevents memory exhaustion and reverse-proxy header spoofing. |
- Multimodal AI Forensics: Google Gemini classifies smoke plumes, estimates opacity, detects fraudulent/blank submissions, and prescribes regulatory remedies.
- Atmospheric Dispersion Physics: 2D Gaussian plume projection calculating trajectory downwind based on atmospheric stability classes (A through F).
- NASA Satellite Correlation: Matches ground incidents against orbital thermal hotspots.
- Multilingual Support: 5 BRICS languages (English, ΰ€Ήΰ€Ώΰ€¨ΰ₯ΰ€¦ΰ₯, PortuguΓͺs, Π ΡΡΡΠΊΠΈΠΉ, δΈζ).
- Offline-First PWA & Native Android: Standalone release APK with live GPS locking and camera integration.
- 100% Open-Source Infrastructure: Express, PostgreSQL, Redis Alpine, and MinIO S3 bucket.
- Node.js 18+ (or Docker & Docker Compose)
- (Optional) Free Google Gemini API Key from Google AI Studio
# Clone the repository
git clone https://github.com/Cherie05/The-Vespers.git
cd The-Vespers
# Install all dependencies
npm install
# Start Backend Server, Citizen PWA, and Gov Dashboard concurrently
npm run dev- Citizen App:
http://localhost:5173 - Gov Command Center:
http://localhost:5174 - Backend API:
http://localhost:5000
# Run Express API, Redis 7, PostgreSQL 16, and MinIO S3 Object Storage
docker compose up -d --buildRun the full security and forensic test suite:
npm test- Results:
7 passed,47 total tests (100%) - Security Audits:
0 vulnerabilitiesacross all sub-packages.
When testing the live API programmatically or via Postman/cURL, include the judge VIP token to bypass rate limiters:
curl -X POST https://web-production-9805d.up.railway.app/api/reports/pollution \
-H "Content-Type: application/json" \
-H "X-Judge-Token: vesper-eval-2026" \
-d '{
"category": "Stubble Burning",
"latitude": 31.634,
"longitude": 74.872,
"description": "Thick smoke visible across border fields"
}'This project is part of my independent open-source work.
I build and share software because I believe useful technology should be accessible to people who want to learn, experiment, solve problems, and build upon existing ideas.
Maintaining open-source projects requires continued development, testing, documentation, and improvements.
If this project has helped you learn something, solve a problem, or develop your own work, you can support its continued development through GitHub Sponsors.
Sponsorship is entirely voluntary. The software remains freely available regardless of whether you choose to contribute.
Support my open-source work on GitHub Sponsors
This project is licensed under the MIT License β see the LICENSE file for details.