r/learnprogramming • u/Old-Development9166 • 5d ago
Resource Ressources on how to start an open-source project and proper documentation
Hello everyone
I am currently working on a project that that I plan to release as open-source.
I am still a student and this project would be part of my portfolio that I will show later to universities I want to Apply aswell as being usefull to some people. This is the perfect Opportunity for me to learn in a real world environement with real feedbacks and gain some experience.
However I struggle on how to create the contributor onboarding and the developer experience.
My question might be a bit vague as I don't even really know what to look or ask for.
I am talking about the README, CONTRIBUTING and how to structure a doc folder with all the .md files.
in short how do I structure an open-source project before even releasing it, What makes a good open-source project and what ressources are there for me to learn everything I need to start.
1
u/Aggressive_Ad_5454 5d ago
A good first step is to find a similar GitHub project with quite a few stars and forks and use it as a model.
If you mention what sort of thing you want to create, maybe somebody here can suggest some good examples.
Don’t delay setting up your GitHub account. There are some hurdles they’ve put in place (for security reasons).
2
u/Spiritual_Pound_9822 5d ago
For a first release you really only need 4 things: a README (what it is, a 30-second quickstart, a screenshot), a CONTRIBUTING.md (how to run it locally + how to open a PR), a LICENSE (MIT is the easy default), and a few issues labeled "good first issue". I'd skip a big docs/ folder until people actually start asking questions, then turn your answers into docs. GitHub's Insights -> Community Standards page gives you a checklist, and opensource.guide covers exactly this.
1
u/yel50 5d ago
don't worry about it. odds are, you won't get much contribution above readme updates. if you even get those.
however you have it structured is fine. you're the maintainer, so do what works best for you.
1
u/drdavidawheeler 5d ago edited 5d ago
You do NOT need to do everything at once. Really you could just start with a README.md (what is this project?) and a LICENSE.md (what license?). If you don't know what license to use, MIT is a fine choice. Then grow over time. I suggest using markdown everywhere for documentation unless you have a reason for something else; AI loves it, and it's nice for humans too. Writing down *some* documentation is helpful for humans and AI too.
I work at the Open Source Security Foundation (OpenSSF) on security. I hope you'll want to make it secure. If that's relevant, I'd encourage you to work on getting a best practices badge here: https://www.bestpractices.dev/ (either the level 1 baseline badge, the "passing" badge, or both). As you go, modify your CI/CD process to try to automatically detect problems as you go. (If you're on GitHub, the easy way to do that is to add GitHub Actions activities over time).
Welcome to the community of open source software communities!