This has been my first year as a developer and I've learned a lot by contributing to multiple open source projects. I've heard from other Dev's that they've had trouble finding open source projects and just generally knowing where to start in the open-source community so I decided to write about resources & tips that helped me.
What is Open Source?
Open Source is a term that refers to software bases or platforms with source code (GitHub, Gitlab, Bitbucket, etc.) that is accessible and can be modified or enhanced by anyone.
Open source projects are a great way to collaborate with other Developers and build a network. Contributing to open source projects can help you develop & learn and make an impact to important projects in Tech. Some popular examples of open source include- Mozilla Firefox, Linux, WordPress, Bitcoin, and Android. β Learn more at opensource.com, digitalocean.com, and github.com.
Where to Start?
I first started learning and contributing to open source during a Hackathon event. I was able to start my own open source project and found other developers to help grow the project. It was a great opportunity to connect and collaborate on some code.
It's important to have an understanding of your skills level and to know the basics of GitHub and git (git clone, git pull, git push, git status, git status, etc.) β git cheatsheet
1. Find Open Source Projects:
- firsttimersonly.com has links to everything you need to get started on open source.
- goodfirstisssues.com & goodfirstissue.dev are the sites where I found open source repos that needed help and let me filter by the programming language (HTML, CSS, JavaScript, etc.). Anyone regardless of skill level can use these sites.
- Devpost has a list of multiple hackathons that you can participate in. You DON'T need to do a Hackathon to contribute to open source it is just a good resource for new dev's.
2. Once you've found a project your interested in...
- Go to the repo's README.md
- Look at the Contributing section to find out the project's requirements and instructions on how to contribute. β οΈ Make sure to find a project that clearly states the instructions for contributors. This is especially important if you are new to open source. *Be sure to read the Code of Conduct before getting started on any project you contribute to!
3. Look at the project's open issues:
- Most open source projects will have open Issues that describe errors, updates, enhancements, and other things that are needed for the project.
It is good to look through all the open issues and see if you can contribute & complete that issue. If there are no open issues and you would like to make your own contribution be sure to look at the README.md (mentioned in Step 2) for instructions.
4. Fork & Clone the project down to your machine and start coding!
5. Make a Pull Request
An open source project pull request template should include the following:
- PR Title/Subject
- Description of code changes, enhancements, etc.
- Reason for submitting PR (fixes bugs, enhancement, etc.)
- Tests or Checks performed on code
- Any other documentation...
π¨ The most important things for any Pull Request is to write a clear and concise message of the changes you made. Proofread and correct any types in your code before you make a PR! * Be sure to do a git pull so you have the up to date code.
I hope you find this brief guide helpful. Contributing to Open Source is a great way to connect, contribute, learn, and develop some awesome code! I highly recommend any new Dev's to find an Open Source project and show off some of your skills! Best of luck to you in your coding journey! π»πͺπ«
π Connect with me on LinkedIn
I plan on writing additional posts on how to Create a PR, Write a good README.md, Repo Basics (Maintainer, Labels, Issues, Deployment, Code of Conduct, License, etc.), and good Collaboration with other Dev's tips. Being a Junior Dev I hope to pass on some tips to other Dev's who are starting out. Stay tuned for more updates!
This article was originally published on Dev.to on January 15, 2022, by @kwing25.
Top comments (4)
Ty for the information! Really helpful!"
Bookmarked!
Great article you are right open source is such an easy way to get into programming.
Once I get a bit more experience I would love to contribute to open source projects.