stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

AI Footprint

  • 3 Devlogs
  • 25 Total hours

A chrome extension that tracks your carbon footprint based on AI usage

Open comments for this post

9h 10m 21s logged

Devlog #3: TBD

What I have so far:
Since the last devlog, I have added the location personalization and reworked the UI to make it more conducive to new additions. The location personalization, which allows users to input their country and have their emissions calculated from its annual average grid carbon density, uses a database from OurWorldInData. Initially I used Papaparse to try to achieve this, but I was using a small csv so it proved easier to parse the data with vanilla js while avoiding the errors from importing Papa. I also created pages for the pop-up: a main screen, settings, and dashboard. I seperated the code into files for each page because it had begun to get really messy. The settings page includes toggles for an always on display and light/dark mode, both of which are a work in progress, and a place to input your country. (It must be noted that this is optional and the default is set to the US.) I spent a lot of time troubleshooting the buttons because they would often stop working while I was editing unrelated code (usually because I messed with their code on accident), but they finally work consistently!
What I Need To Work On
As I mentioned earlier, I am working on personalization settings such as light/dark mode and an always on display rather than just a pop up when you click on the icon. I also am going to add a history function for the dashboard to track your AI usage over time; the goal is for it to display a week’s worth of time.

0
0
9
Open comments for this post

8h 44m 12s logged

Devlog #2: AI Footprint Detection

What I Have So Far
The extension now accurately detects and displays the stopwatch when the user is on an AI website (specifically ChatGPT, Claude, and Gemini so far). I had some difficulty with this due to certain variables being set at weird times and slight inconsistencies with event listeners, so the time wouldn’t store correctly or keep resetting. Along with fixing that, I added the ability for the stopwatch time to be stored within the user’s chrome storage and a daily reset. Finally, I cleaned up the pop-up appearance.

What I Need To Work On
My next step is user personalization, both in display and the actual calculation, for which certain values are user-dependent (location, device, etc.). I have already begun to draft the location part but the code is commented out right now as to not break the emissions count right now. The ultimate goal is detecting key strokes for a more accurate measure of time using AI, but that’s for the future.

0
0
6
Open comments for this post

7h 27m 46s logged

Devlog #1: AI Footprint (tentative name)

I finally have some semblance of a chrome extension to submit evidence of! This is my first time working on an extension so majority of this time was spent experimenting and figuring out how to structure the program.

The Concept
With the increased usage of AI, I believed it was necessary to bring to light its environmental impacts. Most people think of its costs in general terms: takes up land, a water guzzler, produces carbon dioxide. This chrome extension displays real-time data for people who like the see the actual numbers.

What I Have So Far
The extension opens successfully, the popup displays as intended, and the stopwatch and carbon emissions tracker run when the user is on the Claude website.

What I Need To Work On
At the moment, the extension only detects Claude. I have yet to figure out why it does not work on ChatGPT or Gemini (my two other test subjects) but that is what I’ll focus on next. In addition, it assumes average values for power draw and grid carbon density among others which all depend on geographical location and device processor, which I intend to turn into user inputs at a later point.

0
0
1

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…