Skip to content

Latest commit

Β 

History

History
83 lines (56 loc) Β· 3.13 KB

File metadata and controls

83 lines (56 loc) Β· 3.13 KB

Conscious Query- A Chrome Extension

🌱 Track Your Searches & Their Environmental Impact

The increasing amounts of AI integration within our day to day lives it makes it harder to see the environmental impact of our searches. ConscienceQuery is a Chrome extension that monitors your search activity on Google, tracking the number of queries made with or without AI. This data is converted into a summary which shows the total enviromental cost for your searches.


πŸš€ Features

βœ… Search Tracking - Monitors Google search queries and Gemini interactions.
βœ… Environmental Impact Metrics - Calculates the estimated COβ‚‚ emissions generated from search activities.
βœ… Background Monitoring - Runs in the background and logs data persistently.


πŸ“‚ File Structure

πŸ“¦ ConscienceQuery
┣ πŸ“œ manifest.json      # Chrome Extension Manifest (Permissions & Scripts)
┣ πŸ“œ background.js      # Tracks search queries & tab activity
┣ πŸ“œ contentScript.js   # Observes changes in Google
┣ πŸ“œ popup.html         # UI for displaying data
┣ πŸ“œ popup.css          # Styling for popup.html
┣ πŸ“œ README.md          # Documentation
┣ πŸ“¦ images             # Icons
┣-- πŸ“œ icon_16.png      # Extension icon small
┣-- πŸ“œ icon_32.png      # Extension icon medium
┣-- πŸ“œ icon_128.png     # Extension icon large

πŸ”§ Installation

1️⃣ Download the Source Code
Clone this repository or download the ZIP file.

2️⃣ Enable Developer Mode in Chrome

  • Open Chrome and go to chrome://extensions/
  • Enable Developer Mode (top-right corner).

3️⃣ Load the Extension

  • Click "Load Unpacked"
  • Select the folder where you saved the extension files.

4️⃣ Start Tracking!

  • Open Google and start searching!
  • The extension will count searches and estimate environmental effects.

🌍 Environmental Impact Calculation

  • Each Google search consumes energy, mainly due to data center operations. However, the difference in emmissions with every AI overview is night and day.
  • The estimated COβ‚‚ emissions per search is based on studies. A normal google search is esitmated to be 0.2g COβ‚‚ per query. However with the AI Overview that number jumps up to 4.3g COβ‚‚ per query an almost 20x increase.
  • Over time, it tracks your carbon footprint from searches.

Sources

The carbon footprint of Chat-GPT

What is the environmental impact of AI


πŸ›‘οΈ Permissions

The extension requires the following permissions:

Permission Reason
storage To store search count data.
tabs To detect active tabs and URL changes.
host_permissions To access Google Search and ChatGPT pages.

πŸ“œ License

This project is open-source under the MIT License.