A practical guide to releasing and presenting open-sourced projects to be mentioned by other people
TL;DR Treat your open-source project as your product to sell
Notice: trying to get N GitHub stars itself is a bad approach — I just want to help you understand how to make other people notice the work you have done already.
In the end, I will compare two almost identical Python projects that do almost the same. One with 1,000 stars, and another one with 100 stars.
More GitHub stars --> more exposure --> more feedback
If you open-source something then I assume you want others to profit from your work.
Treat your repository as your product that you have to "sell". You sell it for someone's time.
For example, let's take the YCombinator’s Startup School approach:
Apply the same approach to your GitHub repository.
When you create a new repository on GitHub you are asked to fill in a Description. That is a place for your one-liner. It is just one or two phrases to describe what your repository is all about.
In most cases, it is not possible to fit in all the features and functionalities. So, here is my advice — describe the most valuable thing.
Also, make it specific.
The majority of people into coding are first-year/month coders. They do not have a broad understanding of Computer Science (CS) as you might have.
For my first 2–3 years into coding, I could not understand 80% of GitHub projects I saw: the authors always assumed that I already have a decent background.
Plus, even non-CS degrees at universities have some coding classes nowadays. Journalists, economists, mathematicians, chemistry, physics — all students are taught some basics of coding. Whomever. Everyone learns Python nowadays.
If you go back to the gif where I quickly go through 3 of my repositories you will see one similarity — all of them begin with a DEMO.
People are either busy or lazy. Either way, they do not want to read. So, use it as your advantage — record a demo.
People will give you a star just for the knowledge that such a thing exists.
Within one day, my pygooglenews package for advanced Google News data mining got over 500 stars. It has:
When you open it, you realize what YOU can use it for within seconds.
While working on this package, I had to collect lots of information about Google News because there is no official documentation. So, I also checked if there are some Python packages that do something like that already.
To my surprise, there was a package that does the basic stuff. It is not as advanced as the one I did but still many people may want to use it. There was another one that did even more. They had 120 and 20 stars respectively. Why? I think it is because both times I had to dig into the code to figure out what they are all about.
Thousands of people actually could use the code from the other 2 repositories. But they could not understand what those repositories are about.