If you maintain an open source and want to attract contributors to it but don’t know where to start, the OSPO is here to help! This guide will walk you through setting up the essential documentation and infrastructure a contributor-friendly project needs.
Every OSS project seeking contributors needs to have the following files in the root directory of the project’s repo:
The first page a potential new user will see when investigating your project will be its README.md
file, which is usually written in Markdown.
Your README should definitely contain:
And if you have a bit more time, you could add:
Users considering contributing to your project will look for its CONTRIBUTING.md
file to find guidelines on:
You might also like to set up templates for contributors to use when creating issues and pull requests:
All OSS projects need a Code of Conduct (COC) to establish expectations of behavior, and there’s no shortage of templates to use for ideas. The Contributor Covenant is a great place to start!
A project can’t be open source without a license, and the Office of the President has created a guide to choosing a license that makes sense for your project and meets UC requirements.