Carbon Emissions Tracker for Craft CMS
Carbon tracker aims to raise awareness of the carbon emissions created by webpages, by displaying these insights along side the content in Craft's control panel.
The plugin uses the websitecarbon.com API (we're not affiliated, although we do consider them friends 💚), and will only check for new metrics once every 24 hours. That means you won't see new metrics for every update or change you make - as that would result in lots of API calls, defeating the purpose of keeping our footprint as small as possible 🙂.
How does it work?
When publishing a new page, the plugin will call the websitecarbon.com API with the url of the page in question (this is done through a queue job as to not block the user) and a couple of minutes later, you'll see a new block appear in the sidebar of the entry detail page.
Local development
When you install the plugin on a local environment, it will always use websitecarbon.com as the url for which to get the current score, since the API needs a publicly available url)
To install this plugin, copy the command above to your terminal.
This plugin doesn't have any reviews.