When choosing a tool (especially an open-source one) to use, what's your thought process? What are the factors that matter to you?
Here's one obvious metric I'm sure you will also investigate: its GitHub stars.
We know, you can't fully trust a project's GitHub stars alone. It is, however, a good way to determine if a tool is an adequate one and if it's likely to grow, if you use it correctly.
Even if a project has hundreds of millions of stars now, doesn't mean that it's still gaining popularity or maintained. Or if the project had an explosive breakout in the past? There's no way of knowing these simply from gazing at the stars count. Here's when Star History comes in handy: it shows how the number of GitHub stars of a project is increasing over the years. And - it's free and open-source.
It's just a simple search box, how hard could it be? Simplicity is indeed Star History's No 1 design principal. On the other hand, it also provides some handy features for power users. Below we will show you:
To add a repo, you can:
https://github.com/star-history/star-history
star-history/star-history
star-history
. However, for something like hashicorp/terraform
, you can't do hashicorp
nor terraform
, cuz they don't match and you need to specify hashicorp/terraform
.After adding one repo, you can continue adding more by just typing the next repo in the input box. They will be rendered in the same chart.
For example, if you were wondering about which database change management tool to use, here we have the history of their growth. Both Flyway and Liquibase started way back and are gaining popularity over the years, but in reccent years, Bytebase is picking up rapidly and has already bypassed Liquibase. You can not naively choose the project based on mere stars, while stars and its trajectory give you a hint about those projects worth looking at.
By checking Align timeline, the chart will be rerendered.
Instead of removing a repo from the chart, you can switch visibility of it by clicking the name in its label box.
Star History is free to use, but it uses GitHub API to retrieve repository metadata, which means you need to add your personal access token from GitHub to start using Star History. Rest assured, no personal data is needed in this process.
Login to your GitHub account, go to Personal Access Tokens: https://github.com/settings/tokens.
Click Generate new token.
Click Generate new token (classic).
Fill in the form on the token details page,
When you are done, click Generate token at the bottom of the page.
Visit extension page
Go to any GitHub repo and click the extension. There will be a hovering
Play around and let us know @StarHistoryHQ what you think!
Special thanks to https://kajiblo.com/git-hub-star-history/ for inspiring this post.