Here is my repo, by the way, if you want to check it out:
So here are 5 of the most important steps to getting more views on GitHub. Feel free to go through them step by step while modifying your own repo. So let's get started.
You might be surprised, but different repo types get very different kind of views. After thorough experimentation, I have found that tutorials on how to code a certain language racks up a lot of views. In fact, mine got 70 stars on the first day it launched without advertising. The second most popular type of repo is one that is not just a game or somewhat, but something that actually makes something better, like IDE plugins, etc. Of course, you could do more experiments on popular repos.
If you are reading this article, I am assuming that you really want more views and stars on your repo and that you have already gone through other articles about a pretty README. I hate to break it to you, but it's true. Spend time on your README! Make sure you get a good logo in black and white for your README. Then maybe add a GIF right below it, followed by some Shields.io. If you need a tutorial on Shields, I recommend this video. The best example for this is my repo on Breakout.
The Social Card is the first image people see when clicking into a sharable link of your repo. People could see that it looks good and star it anyways. The truth is, many people star because it looks nice and appealing, not because it is useful. Spend some time on appearance and you may get crazy results. If you want to know more about how you should create a logo, watch this YouTube video I made, and please subscribe if you like it.
I have found out that Reddit, contrary to public belief, does not actually work a charm. However, posting to Dev.to (this website) actually got me thousands of views a day. Hacker news does not work too good either. Of course, this varies project to project, I am just trying to tell you what happened to my repo.
Here is what I posted to Dev.to:
Go to the Insights tab, click Community, and finish all the tasks there. GitHub is more likely to promote your project if you meet community guidelines. This is a very quick step, but very effective.
This is a project where you can display the names of your stars in a beautiful yet informative way. Huge thanks to NastyOx for this project: https://github.com/nastyox/Repo-Roster
People don't like it when you tell them what they can and can't do. That's why you should choose the Unlicense License, so people are free to copy or reproduce your product.
You can comment down below and give your repo name, and what it does, I will check it out, I promise.