Skip to content

CLI tool to count all stars under a GitHub Org

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

rustunit/orgstars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orgstars

crates.io discord

A simple command-line tool to query GitHub's API and sum up all the stars across all repositories in an organization.

Installation

cargo install orgstars

Usage

Query stars for any GitHub organization:

orgstars --org rust-lang

With Authentication

To avoid GitHub API rate limits, you can provide a personal access token:

orgstars --org rust-lang --token YOUR_GITHUB_TOKEN

Example Output

Fetching repositories for organization: rust-lang

Results for organization: rust-lang
Total repositories: 232
Total stars: 372526

Repository breakdown:
  rust - 108154 stars
  rustlings - 60798 stars
  mdBook - 20700 stars
  book - 16968 stars
  ...

Features

  • Fetches all repositories from a GitHub organization using pagination
  • Displays total star count across all repositories
  • Shows a sorted breakdown of stars per repository
  • Supports authentication via GitHub personal access tokens
  • Handles rate limiting gracefully

Options

Options:
  -o, --org <ORG>        GitHub organization name
  -t, --token <TOKEN>    GitHub personal access token (optional)
  -h, --help             Print help

License

Licensed under either of

at your option.

About

CLI tool to count all stars under a GitHub Org

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Sponsor this project

 

Languages