This is the official source code for klimatkollen.se.
Free our climate data! Klimatkollen is an open source and citizen-driven climate data platform aimed at visualising local climate data.
The problem: Most of Sweden’s 290 cities and municipalities are not slashing carbon emissions fast enough to be in line with the Paris Agreement. Furthermore, climate data that can help us is often locked behind paywalls or sits in complex government databases. If we can’t clearly see how much CO2 is being emitted, from which sources and how quickly we need to decarbonise – we can’t create a public opinion strong enough to change the course of our future.
This needs to change.
That’s why we’re building a data-driven movement of climate-savvy developers to help us find and visualise climate data for the public.
Please climb onboard to help us set our climate data free! #Klimatkollen /#FreeClimateData
Detailed step-by-step setup instructions, including getting the code and installing dependencies, can be found in doc/getting-started.md.
We use next.js and Typescript and it's pretty straightforward to get started. Just clone the repo and run:
npm ci
npm run dev
This opens up a webserver on http://localhost:3000. Just edit the code and see the live refresh.
The project can also be run with docker (although with much slower refresh time):
# builds the image
docker build -t klimatkollen .
# starts the container
docker run -t -i --rm -p 3000:3000 --name klimatkollen klimatkollen
The idea behind Klimatkollen is to give citizens access to the climate data we need to meet the goals of the Paris Agreement – and save our own future.
Do you have an idea for a feature you think should be added to the project? Please develop it and create a pull request where you explain what you've done. If you can't develop the feature yourself, please submit an issue where you explain your suggestion.
Looking for ideas on what needs to be done? Take a look at our issues and/or pull requests. Testing, bug fixes, typos or fact checking our data is highly appreciated.
Feedback? Either submit an issue or send an email to [email protected].
Please star this repo if you want to follow the progress and feel free to join our Discord.
Please see full description here.
Feel free to explore the repository to understand more about how we collect, process, and display climate data.
This work wouldn't have been possible without the support from
Google.org, Postkodstiftelsen.
We'd also like to thank our current and former partners
ClimateView, Klimatklubben.se, Researcher's Desk, Exponential Roadmap, WWF, We Don't Have Time, Våra Barns Klimat, Argand, StormGeo, Iteam, Precisit.
MIT Copyright (c) Klimatbyrån