|
|
7 months ago | |
|---|---|---|
| .. | ||
| README.es.md | 7 months ago | |
| README.fr.md | 7 months ago | |
| README.hi.md | 7 months ago | |
| README.it.md | 7 months ago | |
| README.ja.md | 7 months ago | |
| README.ms.md | 7 months ago | |
README.ms.md
Carbon Trigger Browser Extension: Complete Code
Using the CO2 Signal API tmrow to detect electricity usage, build a browser extension so you fit get reminder for your browser about how heavy your region electricity use be. Using this extension specifically go help you make decisions about your activity based on this information.
Start Here
You need to install npm. Download copy of this code to folder for your computer.
Install all the packages wey you need:
npm install
Build the extension from webpack
npm run build
To install for Edge, use the 'three dots' menu for the top right corner of browser to find Extensions panel. From there, choose 'Load Unpacked' to load new extension. Open the 'dist' folder on request and the extension go load. To use am, you need API key for CO2 Signal API (get one here via email - enter your email inside the box for this page) and code for your region wey match the Electricity Map (for Boston, for example, I use 'US-NEISO').
Once the API key and region don enter into the extension interface, the coloured dot for the browser extension bar go change to show your region electricity usage and give you idea about the kind heavy activities wey make sense for you to do. The concept behind the 'dot' system dem give me from Energy Lollipop browser extension for California emissions.
Disclaimer: Dis document don translate wit AI translation service Co-op Translator. Even though we dey try make am correct, make you sabi say automated translations fit get mistakes or no too correct. Di original document wey e base for e own language na di correct source. If na important tins, na professional human translation better. We no dey responsible for any wahala or wrong understanding wey fit happen from dis translation.

