How github detect trending repositories?

In list https://github.com/trending there are only information about  stars per interval, but it seems that the increase in the number of stars  is not only one  criteria for become in “trending”

5 Likes

Hi @insolita,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the How to use Git and GitHub board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.

Cheers!

That doesn’t help people that get to this page. Do you have a link to where you moved it to?

This page is the page that it moved to. The direct link is https://github.community/t5/How-to-use-Git-and-GitHub/How-github-detect-trending-repositories/m-p/5954#M1946

Sorry, my mistake. I misunderstood the part where you stated the converation could continue here.

No worries! :slight_smile:

It’s almost exclusively stars per interval plus some logic to prevent star farming and the like. What is your concern about the system?

If what you are saying is true then my repo could have been trending list for today …

What could be the potential reason its not visible in the trending ???

https://github.community/t5/Project-Development-Help-and/My-github-repo-got-300-stars-today-but-its-not-visible-in-Github/m-p/26428

1 Like

As I stated, there is logic to prevent gaming of the system. Gaming of the system isn’t always or even necessarily often committed by the owner of the repository, but can also be undertaken by overenthusiastic fans of the repository, or even …

worldburn-top.jpg

Because of this, we don’t describe our exact system for determining repository trends. I can understand that this is frustrating. Unfortunately, it’s the best way we’ve found to maintain the integrity and usefulness of the trending system.

I hope that helps!

Yes i understand Githubs concern’s … and i do respect them … but the stars i received on my github repo was becasue it was trending on the Hacker News front page … 

Hacker news -one of the most respected websites … has one of the best Human Moderators who are trying to prevent GAMING the system … its nearly impossible to Game the hacker news and get trending there …

To validate my claims … you can visit the link : https://news.ycombinator.com/item?id=20292104

For open-source project … github is one of the few sources which can bring visibility to the interested audience … 

Because we dont have funds to pay for advertizing … 

4 Likes

Hi @that-pat,

pretty much the same story for me.

https://github.com/neomjs/neo was a featured top story inside hacker news yesterday:

HN.png

The repository got a lot of traffic and the stars went up from 86 to 172.

Looking at the trending pages (e.g. filtered for Javascript), neo.mjs was not listed, but other repos which gained 13 stars were.

This current logic is extremely frustrating and unfair.

Best regards,

Tobias

2 Likes

Hacker News and GitHub uses different definitions of “trending”. GitHub’s definition takes into account a longer term definition of trending and uses more complex measurement than sheer number of stars which helps to keep people from farming the system. This is why it is possible to gain so many stars and still not show as “trending” on GitHub.

I don’t think stars have much to do with it. My repo https://github.com/mifi/editly got 900+ stars in 16 hours from hackernews and no trending, not even on “today”, while 900 should be the most starred repos of the whole day. I see most of the repos trending “today” have around or less than 100 stars today, so it must be something else. If it’s not about stars, then how to be “trending”? Or is “trending today” delayed and actually yesterdays trending?

Ok, so “trending today” is calculated from some sum of stars from the previous N days?

My repo got around 30 start in last 24 hours still it’s not showing on trending list. while other repos with 8-10 starts in a day are showing in list. Not sure how Github us preparing trending list of repos. Is there any other criteria which we need to look for?

Unfortunately, it does not help.

I believe the intention is good, but the system is abused does not mean transparency is bad, it only means the algorithm is not good enough.

Hiding everything behind the scene confuses people and is definitely a bad idea, especially in the open source community. The result is less and less people take “trending” seriously or even look at it anymore, because it does not provide the information they’re seeking for.