Project SPARK – Technology
Green Digital Transformation
We encourage you to read the article by Damian Wojciech Dudala:
“Green Digital Transformation”
Website Carbon Calculator
The first methodology for calculating the carbon emissions attributed to a website and this free website carbon calculator is here to help raise awareness and inspire a more sustainable internet.
Equipped with Greenpixie’s cloud emissions data, companies can take control of their carbon footprint, enabling cost savings and emissions reduction.
The SME Climate Hub is a non-profit global initiative that empowers small to medium sized companies to take climate action and build resilient businesses for the future.
The Hub is an initiative of the We Mean Business Coalition, the Exponential Roadmap Initiative and the United Nations Race to Zero campaign in collaboration with Normative and the Net Zero team at Oxford University.
CHALLENGE YOURSELF TO MAKE A DIFFERENCE. DOWNLOAD THE MYFOOTPRINT APP
With the My Footprint app, you can choose challenges that suit you, to make small changes in your own life that add up to something bigger.
Join a community of people who care about our planet and do your bit live more sustainably. After all, change begins at home.
Apple Store and Google Play.
Proposed html/javascript code for a website that calculates the user’s CO2. The author of the code is Damian Wojciech Dudala.
HTML/javascript code (beta version)
<title>Your carbon footprint</title>
<style>
.carbon-footprint-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.carbon-footprint-value {
font-size: 14px;
}
</style>
<script>
// Define the variables needed to calculate your carbon footprint
let startTime = new Date();
let CO2 factor = 0.5; // Exemplary energy conversion factor for CO2 emissions
let TaskNumber = 0;
let Device Power consumption = 0.001; // Sample energy consumption of the device per second in kWh
let EnergyconsumptionServerOnDemand = 0.0001; // Sample on-demand server power consumption in kWh
function calculateCarbonFootprint() {
let durationInSeconds = (new Date() – startTime) / 1000;
let energyConsumptionDevice = durationInSeconds * zużycieEnergiiUrządzenie;
let carbonFootprintDevice = energyConsumptionDevice * wspolczynnikCO2;
let carbonFootprintServer = #Task * energy consumptionOnDemandServer * CO2 factor;
let totalCarbonFootprint = carbonFootprintDevice + carbonFootprintServer;
return totalCarbonFootprint.toFixed(2);
}
function updateCarbonFootprint() {
let carbonFootprintElement = document.getElementById(“carbonFootprint”);
carbonFootprintElement.innerHTML = calculateCarbonFootprint();
}
setInterval(updateCarbonFootprint, 10000);
</script>
<div class=”carbon-footprint-container”>
<p style=”text-align: center;”><span style=”color: #adff2f;”><span style=”font-size: 20px;”><strong>Your carbon footprint on this page after the next 10s is:</strong></span></span></p>
<div class=”carbon-footprint-value” id=”carbonFootprint”>0.00</div>
<p>kg CO2</p>
</div>