I wonder how GitHub's trending algorithm works. Any clue ?

twitter logo github logo ・1 min read

In the past the trending algorithm was simple. The number of trending repositories was limited and your repository had to earn more stars than the last one in list to get into it.

Since GitHub changed their algorithm I can't figure out how it works. Someone has an idea ?

Answered by Ankita Singhal: She found a post on github.community with an answer from Lee Dohm community manager at GitHub.

twitter logo DISCUSS (3)
markdown guide

I had the same question in mind when I stumbled across this thread on github community.

Github does not reveal the exact algorithm but does mention that there is an additional criteria apart from stars to decide the trending repos.

Link : github.community/t5/How-to-use-Git....


Didn't know about github.community, thanks! Ok, it answers the question. @Franck Abgrall had the same issue as the author of the post yesterday having a repository gaining around 100 stars in a day and a pull request but didn't get into the trending page. Now I understand why, Thank you Ankita 🙂

Classic DEV Post from Aug 4 '19

You're not worth hiring unless...

🦁 Yvonnick FRIN profile image
Open source advocate at @ZenikaIT. I'm a @NantesJS meetup co-organizer on my spare time.