DEV Community

Cover image for How To Become An Open Source Developer And Benefit From Open Source Initiatives
KWAN
KWAN

Posted on

How To Become An Open Source Developer And Benefit From Open Source Initiatives

Anyone can contribute to an open-source project regardless of their availability or level of experience!

You have probably already heard of open-source code and used lots of tools built with this type of copyright licensing status.

From Visual Studio Code to Docker and from React to many of the most famous cryptocurrencies like Bitcoin, Ethereum, and even the infamous Dogecoin.

But what does it mean that a project is open source, really?

What is an open-source project?

Open source projects are shared freely for all to see and developed by communities of individuals who add contributions to them. They are not owned by the company itself but rather the product of the communities’ work.

They are usually published on platforms such as GitHub, which heavily encourage this type of transparent collaboration.

Anyone can contribute to a project if they follow the implemented contribution guidelines in each case. Some are stricter than others but as long as a maintainer of a given project approves your contribution your code will be used in the official version and you will be the proud contributor of your favorite project. Even if it’s just fixing a typo you found!

Not everyone can be a full-time open-source developer so someone’s contribution to a codebase can vary from fixing a label on a specific website’s page to developing full-fledged modules of a project.

Advantages of contributing to a developer

1 – Freedom

You are your own boss. You pick what project or feature you want to work on and do it at the time and day that is most suitable to your busy agenda.

Do you feel like working on some Python features to review your knowledge? Find a Python project that you like and go at it.

Are you in more of a low-level code kind of mindset today? Go get yourself a C bug to solve with loads of nasty pointers and all else that you deserve.

Of course, don’t forget to develop what the project requires and leave your code clean so that you don’t add more problems to it down the line.

2 – Work on something you already use

You might use quite a few open-source apps and websites already. As I’ve mentioned, VS Code is a great example of this.

If you have a feature idea, find a bug or just feel like improving the project because you like the tool then you can! And your name will forever be attached to something used by a very large number of people.

After your code is merged and put into production you can go and make use of your own change!

3 – Learn

You will gain a lot of experience in different kinds of problems very quickly after making contributions regularly for a bit of time because you will find all kinds of issues along the way.

There will also be more experienced people (at least when it comes to working on that specific project) reviewing your code before it is merged into the main branch. If they find something wrong with your code or think it could be better written in any way you will be notified and asked to make those changes. Next time your work will come out even better!

4 – Community

As an open-source developer, you get to interact with other like-minded people. Everyone can share knowledge, learn from others, discuss possible improvements, and geek out over a project.

Who knows, maybe you can end up with a few newly found friends!

How to find a project that fits you

For this, I am going to use GitHub as an example because it is one of the most popular platforms for this kind of work.

There, you can search for keywords in projects’ names, usernames, the code itself, commit messages, and other fields using the top-left search bar on the image below.

It is also possible to filter by programming language on the bottom left.

repository results

In this example, I searched for the keyword “maps” and selected Typescript as the wanted language. GitHub found me a total of 6,494 different repositories with that keyword in its title or description that I can explore and see if they accept contributions from other developers.

Below the languages list I picked from, you can find an “Advanced Search” label. This will take you to a different page where you can build your own specific query for projects that absolutely match your needs.

Advanced search

To help you even further, there are usually issues with the label “good first issue” to let people, who are starting out their contributing journey, know which tasks they can pick up on more easily.

You can filter through these using the URL https://github.com///contribute. Just replace the with the name of the organization or user and the with the name of the repository itself.

Using VSCode as an example once more, you can use the link https://github.com/microsoft/vscode/contribute to search for these issues in its repository.

How to make a contribution?

After you’ve found your desired open-source project, read their contribution guidelines so you know how to help.

You can find these somewhere in the project’s README.md file on the repository’s main page or maybe in a separate file specially written for this purpose.

The following are Microsoft/vscode’s guidelines for making contributions:

Contributing

You can contribute by simply creating issues, feature requests, or reviewing other people’s changes, remember that.

If your contribution is code-related, then what you will probably end up doing is cloning the project onto your computer, doing your magic on it, and then committing it to a separate branch.

After everything seems perfect you can create a Pull Request from your branch to the designated branch in the project and wait for a review.

After your PR gets approved you can officially call yourself an open source developer and will eventually see your code working on the main product!

So, what project are you going to contribute to now?

My contribution here is done and now it’s up to you, feel free to use the comment section to ask me any questions!

Let's connect on social media, follow us on LinkedIn!

Article written by Pedro Fonseca, and originally published at https://kwan.com/blog/how-to-become-an-open-source-developer-and-benefit-from-open-source-initiatives/ on October 22, 2021.

See you in the next article!

Top comments (1)

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Actively going looking for a project to contribute to is just plain weird, and not really the best way to get into contributing to open source. It should be something that happens organically - born of a desire to get involved with something you already use, fix a bug you've discovered, correct some documentation etc.

This guy gets it: