Lasha
7 supporters
My first Open Source project

My first Open Source project

Jul 19, 2020

I have always wanted to start an open source project, a library that would grant other developers the rights to use, study, change, and distribute the software for any purpose. I always believed that no matter the outcome, launching your own project is a great way to learn how open source works.

It will feel scary to share your work with the world, you might get nervous about what people might say about you, but the only way to get better is to practice, and showing it to the rest of the world is a great way to get a feedback.

I soon found out that one of my the most rewarding experience, comes from the relationships that I build with other developers facing up against the same issues as me.

How it started

Not to long ago, while I was working on one of my projects on Upwork, I came across a interesting task, I had to programmatically generate an array of color gradients by providing start and finish colors, as well as the required number of midpoints.

Alt Text

Initially, I started to look for solutions on the web, I found one library which was exactly what I was looking for, but as it was published 7 years ago, with no recent updates, I decided to create one myself.

The project I was working on was a React web application, I could create the open source project using the same library, which would help me save some time, but I thought about other developers who could potentially be facing the same issue, I decided to stick to plain JavaScript and as a result, make my solution more accessible.

Publishing the library

As my client was okay with me open sourcing this snippet of a code from the project, I quickly rushed to npm Docs, to see how I could set up and publish my first ever library.

Feedback

The project was a success, on the very first week it reached over 800 weekly downloads, developers were using it in all sorts of web applications.

Shortly after, I got my new issues from the users, and as it weird as it sounds, I was very exited to solve the errors that were connected to my library and further improve it.

About the project

You can view the live preview on Codesandbox or check the source code.

Enjoy this post?

Buy Lasha a pizza

More from Lasha