Methodology
GitStars.io reads the public star and fork counts of GitHub and GitLab repositories once a day and charts how they change.
Daily data points
Every tracked repository gets one data point per day: its counts at the last reading of that day, in UTC. Charts place the point on that day.
A gain compares the latest point with the point 24 hours, 7 days or 30 days earlier; if that day has no point, the closest earlier one counts. Only points GitStars.io recorded itself are used. If a repository has not been tracked long enough, the gain reads “Not enough history yet” instead of 0.
History before tracking
For GitHub repositories, GitStars.io also imports the star history from before tracking began, using the public list of stargazers. For large repositories this history is sampled, so it is an estimate.
Charts draw this part thinner and mark the day daily tracking started. Forks have no imported history.
Rankings and windows
Rising and Fork growth are ranked separately for 24h, 7d and 30d. Trending uses the same score for every window; there the window selects which gains are shown.
New & Hot uses the same score for 24h and 7d. The window sets the gains shown and who qualifies: at least 3 stars gained in 24 hours or 15 in 7 days, or growth of at least 25% in that window.
In every ranking, repositories tracked for less than the selected window are listed after the others, because their gain for that window is not known yet.
Counts are read once a day. Rankings are recalculated several times an hour from the latest data.
Scores
Scores turn gains into rankings. Gains count on a logarithmic scale: the tenth new star weighs more than the ten-thousandth.
- Trending score Ranks Trending
- Mostly stars gained in the last 24 hours, then stars gained in 7 days, forks gained in 7 days, growth relative to size and recent activity, plus a small bonus while the repository is listed on GitHub Trending.
- Star momentum Ranks Rising
- Stars gained in the selected window, weighted by growth relative to size, forks gained and age. For the same gain, younger and smaller repositories score higher.
- Fork momentum Ranks Fork growth
- Forks gained in the selected window, weighted by stars gained, fork growth relative to size and age.
- New & Hot score Ranks New & Hot
- Stars gained in 24 hours and 7 days and growth relative to size, with a bonus for repositories up to 180 days old and up to 2,000 stars. The New & Hot list only contains repositories within both limits.
- Rising score Shown on repository pages
- Mostly stars gained in 24 hours, weighted by growth relative to size, forks gained and recent activity.
- Activity score Sort option in Explore
- 1 right after activity in the repository, falling steadily to 0 over 7 days without activity.
Scores have no fixed maximum. Compare them only within one ranking.
The public API and the embed chart are described in the docs. Open the docs