sitespeedio / sitespeedio/sitespeed.io
Adding optional input parameter "Country code" from electricitymaps
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 624
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 2
Description
Feature/improvement
Hi @Sitespeed,
to get more specific CO2 numbers /measurements, I would raise the idea to add a possibility to add a country code from https://app.electricitymaps.com/zone/DE , as optional input in the sustainability plugin.
Best,
Martin
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the sustainability plugin and its electricitymaps integration in the repository, then trace how plugin input parameters are defined and passed through. Confirm the expected country-code format from the linked electricitymaps zone example, and verify that providing it produces more specific measurements while leaving the option optional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100