Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reintroduce carbon estimate #18

Open
fershad opened this issue Feb 24, 2022 · 1 comment
Open

Reintroduce carbon estimate #18

fershad opened this issue Feb 24, 2022 · 1 comment

Comments

@fershad
Copy link

fershad commented Feb 24, 2022

Would there be an appetite to add web page carbon estimates back to the results (removed in #16) without depending on an external API?

The calculations outlined in this post https://sustainablewebdesign.org/calculating-digital-emissions/ could be used. They are the same as is used by the Website Carbon API which was previously used.

I'd be happy to contribute a PR (with some guidance).

@fershad
Copy link
Author

fershad commented Aug 8, 2022

Continuing on from Twitter thread https://twitter.com/dgrammatiko/status/1546984584092467200

Implementation would be a modified version of #7 using the latest version of https://github.com/thegreenwebfoundation/co2.js.

  • Carbon estimates would use the Sustainable Web Design model.
  • Estimates would not include the assumptions that the model makes about caching and return visitors.
  • This would effectively give a carbon estimate for the first time a page is viewed by a visitor/cold cache visit.
  • As a result, the carbon estimates would be higher that those generated by a tool like Website Carbon Calculator.

@zachleat is it okay with you if I raise a PR to reintroduce a carbon estimate to the leaderboard?

@fershad fershad changed the title Reintroduce carbon estimate (??) Reintroduce carbon estimate Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant