https://github.com/standard-for-public-code/standard-for-public-code
The Standard for Public Code - a model for public organizations to build their own open source solutions to enable successful future reuse by and collaboration with similar public organizations in other places.
https://github.com/standard-for-public-code/standard-for-public-code
publiccode standard
Last synced: about 1 month ago
JSON representation
The Standard for Public Code - a model for public organizations to build their own open source solutions to enable successful future reuse by and collaboration with similar public organizations in other places.
- Host: GitHub
- URL: https://github.com/standard-for-public-code/standard-for-public-code
- Owner: standard-for-public-code
- License: cc0-1.0
- Created: 2019-02-20T09:55:27.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2025-08-27T11:47:22.000Z (about 1 month ago)
- Last Synced: 2025-08-27T20:48:05.087Z (about 1 month ago)
- Topics: publiccode, standard
- Language: Shell
- Homepage: https://www.standardforpubliccode.org/
- Size: 2.16 MB
- Stars: 134
- Watchers: 16
- Forks: 40
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Governance: GOVERNANCE.md
- Roadmap: docs/roadmap.md
- Authors: AUTHORS.md
- Publiccode: publiccode.yml
Awesome Lists containing this project
README
# Standard for Public Code
The Standard for Public Code gives public organizations a model for preparing open source solutions to enable collaborations with similar public organizations in other places.
It includes guidance for policy makers, city administrators, developers and vendors.
[](http://creativecommons.org/publicdomain/zero/1.0/)
[](#help-improve-this-standard)[](https://github.com/standard-for-public-code/standard-for-public-code/actions/workflows/pages/pages-build-deployment)
[](https://github.com/standard-for-public-code/standard-for-public-code/actions/workflows/test.yml)The Standard for Public Code is in a draft format.
We are preparing it for a version 1.0 release.
Currently, we are testing it on a small number of codebases.## Applying the Standard for Public Code to your codebase
If you want to apply the Standard for Public Code to your codebase, just go ahead, it's an open standard and free for anyone to use.
If you wish to advertise the codebase community's aspiration to meet the criteria of the Standard for Public Code, link the documentation of this commitment from the [standard-for-public-code-commitment badge](assets/standard-for-public-code-commitment.svg).
To see how ready your codebase is, you can do a quick [eligibility self assessment](https://publiccodenet.github.io/assessment-eligibility) that will give you a rough idea of how much work you may need to do to meet all criteria.The standard *should* be mostly self-explanatory in how to apply it to your codebase.
If anything in the standard is unclear, we encourage you to open an issue here so that we can help you and anyone else who feels the same as you.
For inspiration, look at the [community built implementation guide](https://standard-for-public-code.github.io/community-implementation-guide-standard/) which contains examples and other tips.## Request for contributions
We believe public policy and software should be inclusive, usable, open, legible, accountable, accessible and sustainable.
This means we need a new way of designing, developing and procuring both the source code and policy documentation.This standard sets a quality level for codebases that meets the needs of public organizations, institutions and administrations as well as other critical infrastructural services.
The standard lives at [www.standardforpubliccode.org/](https://www.standardforpubliccode.org/).
See [`index.md`](index.md) for an overview of all content.## Help improve this standard
We are looking for people like you to [contribute](CONTRIBUTING.md) to this project by suggesting improvements and helping develop it. 😊
Get started by reading our [contributors guide](CONTRIBUTING.md).
Since it is such a core document we will accept contributions when they add significant value.
We've described how we govern the standard in the [governance statement](GOVERNANCE.md).Please note that this project is released with a [code of conduct](CODE_OF_CONDUCT.md).
By participating in this project you agree to abide by its terms.
Please be lovely to all other community members.## Preview, build and deploy
The repository builds to a static site deployed at [www.standardforpubliccode.org/](https://www.standardforpubliccode.org/).
It is built with [GitHub pages](https://pages.github.com) and [Jekyll](https://jekyllrb.com/).The content is made to be built with [Jekyll](http://jekyllrb.com/), which means you will need ruby and ruby-bundler installed, for example:
```bash
sudo apt-get install -y ruby ruby-bundler ruby-dev
```If `ruby` and `bundle` are installed, one can install the ruby dependencies:
```bash
bundle config set --local path 'vendor/bundle'
bundle install
```After which the site can be rendered locally:
```bash
script/serve.sh
```### Testing
A variety of test scripts are included.
The script `script/test-all.sh` wraps running of all local tests.See the scripts in the [script](https://github.com/standard-for-public-code/standard-for-public-code/tree/main/script) folder.
### Printing the Standard for Public Code
See [printing.md](docs/printing.md).
## License
© [The authors and contributors](AUTHORS.md)
The standard is [licensed](LICENSE) under CC 0, which also applies to all illustrations and the documentation.
This means anyone can do anything with it.
If you contribute you also grant these rights to others.
You can read more about how to help in the [contributing guide](CONTRIBUTING.md).