sitespeedio / sitespeedio/sitespeed.io

Adding optional input parameter "Country code" from electricitymaps

Open
#3,935 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.