This plugin helps estimate the carbon emissions generated during ChatGPT usage, encouraging more environmentally responsible AI interaction.
- 🔢 Estimates CO₂ emissions from ChatGPT usage
- 🧩 Plugin-ready for integration
- 💡 Encourages sustainable tech practices
- ⚙️ MIT licensed and open-source
git clone https://github.com/raghavtalwar7/Sustainable_plugin_ChatGPT.git- After cloning the repository go to this chrome://extensions/ url and enable developer mode.
- There will be a load unpacked option on the top left of this page.
- Click on it and navigate to the location where you cloned this repository. Select the folder
carbon-emissions. Now you should be able to see the plugin.
-
cd Sustainable_plugin_ChatGPT - Change line 33 in
manifest.jsonfrom"service_worker": "background.js"to"scripts": ["background.js"]. - Go to about:debugging and select "This Firefox".
- Click on "Load Temporary Add-On...".
- Navigate to the
carbon-emissionsfolder and select any file in it. You should now be able to use the plugin.
Thank you for your interest in contributing! This project thrives with your help.
-
Fork the Repository
Click the "Fork" button at the top right of the GitHub page.
-
Clone Your Fork
git clone https://github.com/<your-username>/Sustainable_plugin_ChatGPT.git cd Sustainable_plugin_ChatGPT
-
Create a Feature Branch
git checkout -b feature/your-feature-name
-
Make Your Changes
-
Add your code
-
Add/modify tests if applicable
-
Update documentation if needed
-
-
Push to Your Fork
git push origin feature/your-feature-name
-
Create a Pull Request
- Go to the original repo
- Click "Compare & pull request"
- Describe your changes and submit
-
Follow the existing code style
-
Keep pull requests focused and minimal
-
Add meaningful commit messages
-
Use comments for clarity when needed
Open an issue to ask questions or suggest ideas. We'd love to hear from you!