Skip to content

Ritesh-9004/Green-Office-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 Green Office Tracker

 Status Flutter Dart License

⚠️ 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. 🌍


📱 Features

  • 🚶 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.


📦 Tech Stack

  • 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

📷 Preview

Home Page Reward Page Suggestion Page Trend Page
HOME PAGE REWARD PAGE SUGGESTION PAGE TREND PAGE

🛠️ Getting Started

Follow these steps to set up and run the Green Office Tracker app on your local machine.

✅ Prerequisites

  • Flutter SDK
  • Android Studio or VS Code with Flutter extension
  • A physical device or emulator
  • Internet connection (for fetching dynamic emission factors)

🚀 Installation

  1. Clone the repository

bash git clone https://github.com/Ritesh-9004/green-office-tracker.git cd green-office-tracker

  1. Install dependencies

  2. Enter "flutter pub get" in Terminal

  3. Add emission factor JSON

    • Ensure emission_factors.json is placed under the assets folder:
      • assets/emission_factors.json
  4. And update pubspec.yaml to include:

    • flutter:
      • assets:
        • android/assets/emission_factors.json
  5. 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

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Flutter carbon tracker app for office sustainability

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors