if icon indicating copy to clipboard operation
if copied to clipboard

Manifest for the IF docs website

Open jawache opened this issue 1 year ago • 7 comments

What Create a manifest file that uses CO2js to estimate the carbon emissions from our IF docs website

Why

To dogfood our own tech!

Context

For a first attempt at capturing our website carbon emissions, we can use the Green Web Foundation's CO2js package, invoking the Sustainable Web Design Model. This uses the amount of data transferred when a site loads as a basis for a top down estimate of the carbon emissions for that website.

I'll also look into bottom-up approaches while this top-down model is being implemented.

The way I'd like to do this is for @manushak to create a manifest file that initializes the CO2js plugin and passes all the arguments that are accepted by the CO2js perVisitTrace function, returning all the response parameters as output data.

The idea would be that it a) clarifies precisely what information I need to source in order to estimate the website carbon emissions, and b) when that data is available, I just have to slot it into the right place in the manifest and run it.

SoW

  • [ ] @manushak creates a template manifest that runs with dummy data
  • [ ] @jmcook1186 sources real data for each model parameter
  • [ ] Real data is inserted into the manifest - running the manifets yields an estimate of CO2e/visit

Acceptance Criteria

  • [ ] A manifest is available that can be run using IF to yield a carbon emission per visit.

jawache avatar Jul 16 '23 22:07 jawache