DEV Weekend Challenge: Earth Day
What I Built
Most climate tools diagnose. EcoTwin prescribes.
EcoTwin is a personalized climate action coach that turns a few everyday inputs, like commute habits, food choices, home energy use, and travel frequency, into a practical action plan with estimated annual CO2e savings.
Instead of stopping at a “guilt score,” EcoTwin estimates a baseline footprint, shows a before/after projection, and recommends the highest-impact changes first.
Users get:
- A baseline annual footprint estimate
- A personalized set of top climate actions
- Projected annual CO2e savings
- A concise AI coaching summary powered by Gemini (with fallback if a key is unavailable)
Demo
Live demo:https://ecotwin-qsgv.onrender.com/
Quick walkthrough:
- Open the app
- Enter a city and lifestyle inputs
- Click Generate My Climate Plan
- Review before/after footprint and recommended actions
- Read the AI coach summary
Code
Source code is in the project folder and includes:
-Backend:Flask API for scoring, recommendations, and AI summary
-Frontend:HTML/CSS/JS dashboard with interactive results
-Data:Curated action library with estimated CO2e savings
Core implementation highlights:
- Transparent footprint estimation model
- Rule-based personalization by user profile
- Gemini API integration for natural-language coaching
- Stable local fallback summary for reliability
How I Built It
I built EcoTwin as a focused full-stack Flask app to keep it easy to run, easy to demo, and easy to judge.
Architecture flow:
- Frontend collects a lightweight user profile
- Backend computes annual baseline emissions
- Action library is filtered by relevance and sorted by impact
- App calculates projected reductions and renders before/after metrics
- Gemini generates a short personalized coaching summary
Design decisions:
- Kept input friction low so users can get value in seconds
- Prioritized practical behavior-change suggestions over abstract climate theory
- Added clear before/after visuals to make impact tangible during a live demo
Prize Categories
This submission is for:
- Best Use of Google Gemini
- Best Use of GitHub Copilot
Team
Solo submission.
For further actions, you may consider blocking this person and/or reporting abuse
