thegreenwebfoundation / lighthouse-plugin-greenhouse

Lighthouse, but for running sites on renewable power instead of fossil fuels
Apache License 2.0
56 stars 4 forks source link

Update the text to point clarify fossil fuels and green power #17

Open mrchrisadams opened 2 years ago

mrchrisadams commented 2 years ago

From an inbound support email:

I use your lighthouse plugin – thanks for that! We do more and more audits for customers to make their websites greener.

One thing I wanted to ask: A lot of servers seems to run by green energy – so I wanted to know if “green” means only renewables or also nuclear energy. Because the failure title in the plugin says: “Page is built using resources from servers running on fossil fuels”. That’s why I ask the question.

And as I write to you already one more question comes to my mind: Does “green” say, that they only use green energy or are also servers “green” for which the climate damage is compensated?

We really should update the language in the greenhouse-audit part here, and it wouldn't be that complicated to do so.

https://github.com/thegreenwebfoundation/lighthouse-plugin-greenhouse/blob/master/src/audits/greenhouse-audit.js#L19-L27

It's probably worth updating this to use the co2.js npm module now as well actually, so the sitespeed, and lighthouse action both use the same libary

Here's some information we use to refer to green energy in this context - it contains links to where it in turn bases these ideas.

https://www.thegreenwebfoundation.org/what-we-accept-as-evidence-of-green-power/

michael-voit commented 2 years ago

thanks for opening this. The inbound mail was from me and so I am interested help fixing it. Have just to see what day next two weeks could be a good time for me for that.

Do you have a link / more info about the co2.js npm module in the meantime?

mrchrisadams commented 2 years ago

Sure.

You can see it here:

https://github.com/thegreenwebfoundation/co2.js/

And it's in use here by Wikipedia in sitespeed.io:

https://www.sitespeed.io/sitespeed.io-12.1-and-browsertime-8.1/ https://www.thegreenwebfoundation.org/news/how-to-build-a-more-sustainable-web-with-a-little-help-from-sitespeed-io/

I've been meaning to update it, but I've been holding off because I had some questions about the methodology here:

https://github.com/thegreenwebfoundation/co2.js/issues/2

Ideally, a new release would implement the methodology outlined here:

https://github.com/Green-Software-Foundation/software_carbon_intensity