Skip to content

ChronalLabs/EcoTrack-Personal-Carbon-Footprint-Intelligence-System-Using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ EcoTrack โ€“ Personal Carbon Footprint Intelligence System

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.


๐Ÿš€ Project Vision

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

๐Ÿ›  Tech Stack

Backend

  • Python
  • Flask
  • SQLite (for data storage)

Frontend

  • HTML5
  • Bootstrap 5
  • Vanilla JavaScript
  • Chart.js (for graphs)

Additional Tools

  • CSS Custom Styling (Artisan Theme Inspired)
  • PDF Report Generation (Optional Feature)
  • Carbon Score Algorithm

๐ŸŽจ UI Theme

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

โœจ Core Features

1๏ธโƒฃ Carbon Footprint Calculator

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

2๏ธโƒฃ Real-Time Preview (JavaScript Powered)

  • Instant footprint estimation
  • Dynamic updates without page reload

3๏ธโƒฃ Graphical Visualization

  • Monthly breakdown chart
  • Annual projection chart
  • Comparison against average emissions

4๏ธโƒฃ Carbon Score System

Users receive a score out of 100:

  • ๐ŸŸข Green (Low Impact)
  • ๐ŸŸก Moderate
  • ๐Ÿ”ด High Impact

5๏ธโƒฃ Smart Recommendation Engine

Personalized suggestions based on user data:

  • Reduce car travel
  • Switch to LED lighting
  • Adopt plant-based meals
  • Use public transport

6๏ธโƒฃ Carbon Offset Estimator

  • Shows number of trees required to offset emissions
  • Suggests approximate carbon neutrality cost

7๏ธโƒฃ Gamification

Badges:

  • ๐ŸŒฟ Eco Beginner
  • ๐ŸŒณ Green Warrior
  • ๐ŸŒŽ Climate Champion

8๏ธโƒฃ Save & Track History

  • Stores previous calculations in SQLite
  • View past footprint trends
  • Download environmental report (optional)

๐Ÿ“‚ Project Structure

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


๐Ÿงฎ Carbon Calculation Logic

Travel Emissions (per km)

  • Car โ†’ 0.21 kg COโ‚‚
  • Bus โ†’ 0.10 kg COโ‚‚
  • Train โ†’ 0.05 kg COโ‚‚
  • Flight โ†’ 0.25 kg COโ‚‚

Electricity

  • 0.82 kg COโ‚‚ per kWh

Diet (Monthly Estimate)

  • Vegan โ†’ 50 kg COโ‚‚
  • Vegetarian โ†’ 100 kg COโ‚‚
  • Non-Vegetarian โ†’ 200 kg COโ‚‚


๐Ÿ“Š Future Improvements

  • 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

๐ŸŒฑ Real-World Impact

EcoTrack promotes:

  • Climate awareness
  • Sustainable lifestyle adoption
  • Carbon neutrality mindset
  • Data-driven environmental responsibility

๐Ÿ“Œ Why This Project Stands Out

  • Full-stack implementation
  • Real-world environmental relevance
  • Clean, professional UI
  • Data visualization
  • Scalable to SaaS
  • Hackathon-ready
  • Resume-worthy

๐Ÿ‘จโ€๐Ÿ’ป Author

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.


๐Ÿ“„ License

This project is open-source and available under the MIT License.


๐ŸŒ Let's Build a Greener Future

โ€œSmall lifestyle changes, when multiplied by millions, create massive environmental impact.โ€

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors