Understand · Track · Reduce
A Carbon Footprint Awareness Platform built for Hack2Skill's PromptWars Virtual — Challenge 3.
The brief: "Design a solution that helps individuals understand, track, and reduce their carbon footprint through simple actions and personalized insights — not just another calculator or dashboard."
This project goes beyond a one-time number by translating emissions into relatable comparisons, a transparent climate score, and a live "what-if" preview — built to create awareness, not just display data.
🔗 Live App: carbon-platform-621779528210.us-central1.run.app
Calculator — Estimates annual CO₂e from Long-Haul Flights, Home Energy (electricity + gas, split per household member), Diet type, and Shopping & Consumption level.
How You Compare — Benchmarks your total against the Global Average (4,800 kg CO₂e/year) and the Paris 1.5°C Target (2,300 kg CO₂e/year).
Climate Score + Carbon Persona — A 0–100 score and an identity badge (e.g. Frequent Shopper, Urban Commuter, Climate Leader) derived directly from your emission breakdown — fully rule-based and deterministic.
Breakdown by Category — Visual chart across Diet, Shopping & Goods, Transport, and Home Energy.
Impact in Real Terms — Converts your highest-emitting category into something tangible: "Your footprint = 10 short-haul flights, or 27.8 months of household electricity."
Personalised Reduction Plan — Three prioritized, quantified actions, each with a projected saving and timeframe.
Reduction Timeline — Shows your potential savings at 30 days, 6 months, and 1 year, not just a single annual figure.
What-If Toggle — Preview a different diet or shopping habit and see your footprint recalculate live, before committing.
History — Tracks past calculations locally so you can see how your footprint changes over time.
Accessible — WCAG AA color contrast, keyboard navigation, ARIA labels, and screen-reader support throughout.
All emission factors are approximate, IEA/IPCC-aligned global averages (not country-specific), documented in the app's footer. Every insight — the Climate Score, the Persona, the comparisons — is explicitly rule-based and deterministic, not AI-generated. We chose to be transparent about this rather than dress up simple math as something it isn't: every number is traceable back to its formula.
- Frontend: React 18 + Vite
- Styling: CSS Modules, custom design tokens
- Storage: Browser localStorage (history)
- Deployment: Docker (multi-stage build) + nginx, served on Google Cloud Run
- Built with: Google Antigravity — agentic, prompt-driven development
npm install
npm run devnpm run build
gcloud builds submit --tag gcr.io/YOUR_PROJECT_ID/carbon-platform
gcloud run deploy carbon-platform \
--image gcr.io/YOUR_PROJECT_ID/carbon-platform \
--platform managed \
--region us-central1 \
--allow-unauthenticatedBuilt for Hack2Skill PromptWars Virtual — Challenge 3, in partnership with Google for Developers.