The State of Public Code: check the new edition

stateofpubliccode.org releases the 2026-10 edition of The State of Public Code, which measures the share of governments worldwide in the source code archived by Software Heritage. This edition matters: finer detection of public sector domain names; repositories holding anything other than software set aside; figures from the Software Heritage graph of June 2026.
The result: over 240,000 repositories and over 82,000 public sector contributors from 164 countries. One finding holds firm: a state’s digital maturity predicts its public code output better than its wealth. The PDF report and the dataset (CC BY 4.0) can be downloaded from the website.
Help us find out who counts as “government”government”
Everything rests on a seemingly simple question: which domain names belong to a public administration? world-gov-domain-names answers it country by country, but it is far from complete: many states are covered at the central level only. Do you know your country’s administration? Contribute from the repository!
Need a tailored software analysis?
Behind this report, the Software Heritage Insights team knows how to query the world’s largest source code archive. A landscape of a country’s or an institution’s open code, the critical dependencies of a sector, the trajectory of an ecosystem: if your organisation needs a specific analysis of source code and wants to support the project, get in touch!
