https://github.com/chenliu-1996/gitstarpercentile

Ever wondered how popular your GitHub repo is compared to others?

https://github.com/chenliu-1996/gitstarpercentile

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.8%) to scientific vocabulary

Keywords

eb1 eb1a eb1b github github-star github-star-count github-star-percentile github-stars niw
Last synced: 5 months ago · JSON representation

Repository

Ever wondered how popular your GitHub repo is compared to others?

Basic Info
  • Host: GitHub
  • Owner: ChenLiu-1996
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 120 MB
Statistics
  • Stars: 14
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
eb1 eb1a eb1b github github-star github-star-count github-star-percentile github-stars niw
Created 6 months ago · Last pushed 6 months ago
Metadata Files
Readme License

Readme.md

GitStarPercentile

[![Twitter](https://img.shields.io/twitter/follow/ChenLiu-1996.svg?style=social)](https://twitter.com/ChenLiu_1996) [![LinkedIn](https://img.shields.io/badge/LinkedIn-ChenLiu-1996?color=blue)](https://www.linkedin.com/in/chenliu1996/)
[![Latest PyPI version](https://img.shields.io/pypi/v/git-star-percentile.svg)](https://pypi.org/project/git-star-percentile/) [![PyPI download 3 month](https://static.pepy.tech/badge/git-star-percentile)](https://pepy.tech/projects/git-star-percentile) [![PyPI download month](https://img.shields.io/pypi/dm/git-star-percentile.svg)](https://pypistats.org/packages/git-star-percentile) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)


🤔 Have you ever wondered how popular your GitHub repository really is?

😠 Frustrated that GitHub doesn’t show star percentiles anywhere?

Maybe you’ve thought:

"I have 200 stars — but is that a lot?"

"Where does my repo rank compared to the other repos?"


GitStarPercentile tells you instantly:

Enter your star count and instantly see your percentile, calculated from GitHub-wide data.

🚀 Features

  • 📊 Instant percentile lookup — get your repo’s rank in milliseconds.
  • 🖥 Simple CLI — just type git-star-percentile and enter your star count.
  • 💾 Big data — computation is based on over 1 million public repos, stratified by creation date.

📦 Installation

From the command line:

bash pip install git-star-percentile --upgrade

⚡ Usage

From the command line:

bash git-star-percentile

You’ll be prompted to enter the number of stars for your repository:

bash Enter the number of GitHub stars: 200 Your repo is approximately among the top xx.xxxx%.

📄 Data Source

If we count all public repositories:

GitHub Stars Distribution

If we only count public repositories with at least 1 star:

GitHub Stars Distribution
  • Star statistics are pulled from all public GitHub repositories.
  • Data is stored in stats/githubrepostars.csv.
  • Want fresher stats? Run the stats counter yourself and submit a pull request. bash python count_all_repo_stars.py --github-token $YOUR_GITHUB_TOKEN

    The line above would run over all public repositories. For a more manageable run, sample 1 million instead. bash python count_all_repo_stars.py --github-token $YOUR_GITHUB_TOKEN --sample-size 1000000

    Note I will not consider merging results with --sample-size below 1 million.

Owner

  • Name: Chen Liu
  • Login: ChenLiu-1996
  • Kind: user
  • Location: New Haven
  • Company: Yale University

CS PhD student at @KrishnaswamyLab, @YaleUniversity. Reviewing Committee member at NeurIPS, ICLR, ICML.

GitHub Events

Total
  • Watch event: 10
  • Push event: 35
  • Create event: 2
Last Year
  • Watch event: 10
  • Push event: 35
  • Create event: 2

Dependencies

setup.py pypi
  • pandas *