Teams and community / Discover
What moves a repository's rank
You maintain a public repository, and you want to know why it ranks where it does on Explore, and how to move it up. The rank counts what other people do with your project on Source, and recent days count the most.
6 min read
Other people visit your project, read it, clone it, fork it and contribute to it. Your own work, agents and bots never count.
1. Find your rank
Open your repository. The header shows its rank next to Bookmark, for example Popular #12. The link opens that list on Explore.
- If the repository is in the top 3 of Trending, and that rank is better, the header shows the Trending rank.
- A top 3 place has a trophy (1st) or a medal (2nd and 3rd).
- A repository with no points has no rank, and the header shows no link.
- The header shows the rank from the last ranking run, which runs every 15 minutes. So it can be up to 15 minutes behind Explore, for example after another repository turns public or private.

2. Learn what earns points
Each signal counts one person one time for each repository and UTC day. When one person opens ten pages of your repository on one day, that is one visitor.
| Signal | Points | Most points for each repository and day |
|---|---|---|
| A person visits a page of the repository | 1 | No limit |
| The person keeps one page visible for 30 seconds or more | 1 more | No limit |
| A person clones the repository | 3 | No limit |
| A person forks the repository | 5 | 25 |
| A person opens an issue or a pull request | 2 | 20 |
| A person replies on an issue or a pull request that someone else opened | 3 for each item with a reply | 30 |
| A person writes a Community post or an answer | 4 | 20 |
| A maintainer merges the pull request of an outside person | 12 | 60 |
The daily limits stop a burst of forks, issues or replies from buying a rank. Most points come from what other people do with your work, not from how much work you make.
A merged pull request counts only when all of these are true:
- A person clicked merge by hand. A merge by an agent session, a CI job, the Source bot or auto-merge does not count.
- The person who merged is not the author.
- The author has an account on Source, does not have write access to the repository, and counts as a person (see step 3).
The forks, issues, pull requests, replies, Community posts and merges of one person count in 5 repositories a day at most. These are the first 5 repositories that the person acts in on that UTC day.
3. Know who counts
A person counts when all of these are true:
- The person is signed in, with an account that is 7 days old or more.
- The person does not have write access to your repository. Maintainers never count.
- The person acts by hand. The work of agent sessions, CI jobs and the Source bot never counts.
- The account is not banned, and has no burst flag.
- The person did not turn off Share usage analytics. See What Source tracks.
These never count:
- Signed-out visitors and detected crawlers.
- Bookmarks. They are private and have no public counts.
- A fetch or a pull that updates a clone that the person already has.
- Activity in a private repository or on a private issue, also after the repository becomes public.
Note
A clone does not prove that the person installed or used the project. Accounts that work together can still move a rank, and the daily limits only reduce how far. A rank measures activity on Source, and says nothing about quality.
4. Know how recent days weigh
The points of a day lose half of their weight after each half-life. With a half-life of 7 days, a visit 7 days ago has half the weight of a visit yesterday, and a visit 14 days ago has a quarter.
| List | Window | Half-life | Signals |
|---|---|---|---|
| Popular | 60 days | 7 days | All |
| Trending | 14 days | 2 days | All |
| Most visited | 60 days | 7 days | Visits and reading time |
| Most cloned | 60 days | 7 days | Clones and forks |
| Most contributed | 60 days | 7 days | Issues, pull requests, replies, Community and merges |
Rising has no decay. It compares the points of the last 7 days with the 7 days before. A repository rises when all of these are true:
- The earlier week has 20 points or more.
- The points grew by 20 or more.
- The repository earned points on 3 of the last 7 days or more.
Each window ends at the last complete UTC day, so the activity of today counts from tomorrow. Source computes the scores again every 15 minutes, and Explore shows when it last did. If the analytics database is not available, the last scores stay.
On the Popular list, "Up 2 vs 7 days ago" compares the rank with the Popular rank of 7 days before.
Done
You now know which actions of other people move your rank, which never count, and how long each one lasts. A good month can also win your project a monthly award.
Public access
Rankings include only repositories that an anonymous person can read. Private fork ancestors, private monorepo members and companion repositories exclude a repository. These rules apply before ranks, organization totals, top repository names and list limits. Signing in as the owner does not change public discovery.
Fresh ranking queries apply the access rules and return no public ranking for an excluded repository. Stored repository ranks update on the next ranking run. A repository page can retain cached public ranking details for up to one minute. An already open page does not update automatically.
Read rankings from tools
src repo rankings --sort popular --limit 20
src repo rankings --sort contributed --topic database --json
src repo rankings --orgs --sort trending
--sorttakespopular(the default),trending,rising,visitors,clones,contributedorrecent.--topicand--queryfilter repositories. They do not change a rank.--orgsranks organizations by the sum of the scores of their public repositories that are not forks. It takes--sort popularortrending.--jsonalso gives the score of each list. The web shows ranks and counts only.
REST has GET /api/v1/rankings, with sort, topics, query, limit and subject=orgs. MCP has repository_rankings, with the same options.
The metadata of a repository (get_repo, GET /api/v1/repos/{owner}/{repo}) has its ranking, and its monthly awards in awards. The ranking is null for a repository that Explore does not list, for example a private one. Like the header, it comes from the last ranking run.