EcoTrack: Carbon Footprint Calculator
Open-source sustainability tracking platform that helps individuals measure, reduce, and offset their carbon footprint through gamification, community challenges, and personalized insights.
Project Overview
EcoTrack is a passion project that makes carbon footprint tracking accessible and engaging. Users log daily activities like transportation, energy use, and food consumption, and the app calculates their environmental impact using scientific data from EPA and IPCC sources.
The platform features streak tracking, community challenges, personalized reduction tips, and integration with carbon offset marketplaces. Built with a focus on gamification to encourage sustainable behavior change.
Core Features
Activity Tracking
Log transportation, energy consumption, diet, and shopping with smart categorization and AI-powered suggestions for common activities.
Carbon Calculations
Science-based emission factors automatically calculate impact with category breakdowns and trend visualization over time.
Gamification System
Earn badges for milestones, maintain streaks, compete on leaderboards, and participate in weekly challenges with rewards.
Personalized Tips
AI-generated recommendations based on usage patterns provide actionable steps to reduce footprint with impact estimates.
Community Features
Join challenges with friends, share achievements, compare footprints, and engage in sustainability discussion forums.
Offset Integration
Calculate monthly carbon debt and purchase verified carbon offsets through integration with certified providers.
Technical Implementation
Built with modern web technologies for performance and scalability:
Frontend Architecture
Next.js 14 App Router with TypeScript, Tailwind CSS + shadcn/ui components, Chart.js visualizations, and Progressive Web App support.
Backend & Database
Supabase provides PostgreSQL with Row Level Security, real-time subscriptions, Edge Functions for calculations, and automated daily summaries.
User Experience
Email notifications via Resend, CSV data export, dark mode support, multi-language i18n, and responsive mobile-first design.
Development & Deployment
Vercel hosting with edge functions, GitHub Actions CI/CD, automated testing with Vitest, and Lighthouse performance monitoring.
Results & Impact
User Engagement
2000+ active users tracking their carbon footprint with an average 15-day streak. Users report 25% reduction in emissions after 3 months of use.
Open Source Growth
500+ GitHub stars with 20 contributors adding features. Featured in Vercel's showcase and Product Hunt's top products.
Environmental Impact
Users have offset 150+ tons of CO2 through the platform. Community planted 5000+ trees via partnerships and raised sustainability awareness.
Community Feedback
"EcoTrack made me aware of how my daily choices impact the environment. I've reduced my commute emissions by 40% by switching to public transit." — Emily Green