A Software Heritage product

The State of Public Code

How are governments contributing to Open Source?

288,411 Repositories with public sector contributions
92,831 Public sector contributors with at least 1 commit
112/193 UN Member States with contributions to more than 10 repos

Source: Software Heritage archive snapshot, March 2026

Preliminary findings

Slide: world map of contributors and chart of contributors by ministry type
Environment, Science & Research and Health ministries lead the contributors base.
Slide: heatmap of shared projects between countries
Cross-border collaboration happens even without formal agreements across governments.
Slide: bar chart of contributors by country
Open source contributions correlate most with a higher e-government index.

As a citizen, I want to discover open source projects made by the administration.

Got a minute? Want to learn more?

Let us know if you're open to a brief interview. Your input directly drives the metrics and methodology of the next report.

Get involved