⚠️ Note: This project was submitted as a solution to a hackathon problem statement. It is not a production-ready application.
A mobile application that helps track and reduce carbon emissions in office environments. The app allows users to log their daily activities — such as commute, electricity use (HVAC, lights, computer), and view their total carbon footprint in a visual, engaging way. 🌍
-
🚶 Commute Tracker
Log your commute distance and mode of transport to estimate travel-related emissions. -
🔌 Electricity Use
Track hours of HVAC, lights, and computer usage to compute power-based emissions. -
📊 Real-Time Carbon Footprint
Circular progress visualization showing your daily total emissions as a percentage of a max limit. -
🔽 Dropdown Selection for Commute Mode
Easily choose between car, bus, train, flight, etc. to get more accurate results. -
☁️ Fetched from remote API
Fetch emission values from a remote API to ensure calculations are up to date. -
🧠 Smart UI
Simple and intuitive layout for quick daily logging.
- Flutter – Cross-platform mobile framework
- Dart – Language used for Flutter
- REST API – For dynamic emission factor loading (Emission factors are fetched from a remote API to ensure data is always up to date.)
- percent_indicator – For circular progress display
| HOME PAGE | REWARD PAGE | SUGGESTION PAGE | TREND PAGE |
Follow these steps to set up and run the Green Office Tracker app on your local machine.
- Flutter SDK
- Android Studio or VS Code with Flutter extension
- A physical device or emulator
- Internet connection (for fetching dynamic emission factors)
- Clone the repository
bash git clone https://github.com/Ritesh-9004/green-office-tracker.git cd green-office-tracker
-
Install dependencies
-
Enter "flutter pub get" in Terminal
-
Add emission factor JSON
- Ensure emission_factors.json is placed under the assets folder:
- assets/emission_factors.json
- Ensure emission_factors.json is placed under the assets folder:
-
And update pubspec.yaml to include:
- flutter:
- assets:
- android/assets/emission_factors.json
- assets:
- flutter:
-
Run the App
-
To run on an emulator or a connected device, use:
- flutter run
-
If you encounter issues, try cleaning and rebuilding:
- flutter clean
- flutter pub get
- flutter run
This project is licensed under the MIT License - see the LICENSE file for details.