EcoTrack is a full-stack environmental web application that helps individuals calculate, analyze, and reduce their personal carbon footprint.
Built using Python (Flask), HTML5, Bootstrap 5, and Vanilla JavaScript, the platform provides real-time calculations, graphical analysis, personalized recommendations, and environmental impact insights.
Climate change awareness is growing, but most individuals do not know how much carbon they personally emit daily or monthly.
EcoTrack solves this problem by:
- Calculating individual carbon footprint
- Providing monthly & yearly projections
- Offering smart reduction suggestions
- Encouraging sustainable lifestyle changes
- Gamifying eco-friendly behavior
- Python
- Flask
- SQLite (for data storage)
- HTML5
- Bootstrap 5
- Vanilla JavaScript
- Chart.js (for graphs)
- CSS Custom Styling (Artisan Theme Inspired)
- PDF Report Generation (Optional Feature)
- Carbon Score Algorithm
The UI follows a soft artisan-style environmental theme:
- Earthy green & orange palette
- Cream background
- Rounded cards
- Illustrated hero section
- Minimal and modern layout
Color Palette:
- Primary Dark:
#243c3f - Accent Orange:
#e76f51 - Soft Green:
#84a98c - Cream Background:
#f4e8d5
Users input:
- Travel distance (Car / Bus / Train / Flight)
- Electricity usage (kWh)
- Diet type (Vegan / Vegetarian / Non-Vegetarian)
- Fuel consumption
System calculates:
- Total monthly COโ emissions
- Yearly projection
- Instant footprint estimation
- Dynamic updates without page reload
- Monthly breakdown chart
- Annual projection chart
- Comparison against average emissions
Users receive a score out of 100:
- ๐ข Green (Low Impact)
- ๐ก Moderate
- ๐ด High Impact
Personalized suggestions based on user data:
- Reduce car travel
- Switch to LED lighting
- Adopt plant-based meals
- Use public transport
- Shows number of trees required to offset emissions
- Suggests approximate carbon neutrality cost
Badges:
- ๐ฟ Eco Beginner
- ๐ณ Green Warrior
- ๐ Climate Champion
- Stores previous calculations in SQLite
- View past footprint trends
- Download environmental report (optional)
eco-track/ โ โโโ app.py โโโ requirements.txt โโโ database.db โ โโโ templates/ โ โโโ base.html โ โโโ index.html โ โโโ result.html โ โโโ static/ โ โโโ css/ โ โ โโโ style.css โ โโโ js/ โ โ โโโ script.js โ โโโ images/ โ โโโ utils/ โโโ calculator.py
- Car โ 0.21 kg COโ
- Bus โ 0.10 kg COโ
- Train โ 0.05 kg COโ
- Flight โ 0.25 kg COโ
- 0.82 kg COโ per kWh
- Vegan โ 50 kg COโ
- Vegetarian โ 100 kg COโ
- Non-Vegetarian โ 200 kg COโ
- AI-based carbon prediction
- Location-based emission factors
- API integration for real electricity data
- Social sharing & leaderboard
- Mobile app version
- NGO partnership for real tree plantation tracking
EcoTrack promotes:
- Climate awareness
- Sustainable lifestyle adoption
- Carbon neutrality mindset
- Data-driven environmental responsibility
- Full-stack implementation
- Real-world environmental relevance
- Clean, professional UI
- Data visualization
- Scalable to SaaS
- Hackathon-ready
- Resume-worthy
By :- Ananya Tiwari and Ananya Sharma Linkedin :- Ananya Sharma [https://www.linkedin.com/in/ananya-sharma-dev/] Ananya Tiwari [https://www.linkedin.com/in/ananya-tiwari-devs/]
Developed as an environmental technology initiative to promote sustainable living through digital innovation.
This project is open-source and available under the MIT License.
โSmall lifestyle changes, when multiplied by millions, create massive environmental impact.โ