Skip to content

co2data/co2data-org

Repository files navigation

Co2data

This is a repository for co2data.org, a website that provides open and transparent data on carbon dioxide (CO2) emissions.

The website aims to inform and empower individuals, organizations, and policymakers to take action on climate change by providing reliable and accessible data on CO2 sources.

The website is built with Next.js and hosted by Vercel. The data is sourced from various public databases such as the Global Carbon Project (GCP), the Carbon Dioxide Information Analysis Center (CDIAC), the Emissions Database for Global Atmospheric Research (EDGAR), and the World Bank.

The website is open source under the MIT license. Contributions are welcome. Please see the contributing guidelines for more details.

Contribute

Local development

  1. Clone/fork the repo
  2. pnpm install (pnpm needs to be installed.)
  3. docker compose up -d (Docker needs to be installed.)
  4. Run infra/db/schema.sql and infra/db/seed.sql in your favorite SQL client
  5. Create .env from .env-example
  6. pnpm dev

Pull request

If you want to make a pull request, please check the following list:

  • Write a unit and/or e2e test
  • Update infra/db/schema.sql and infra/db/seed.sql if needed