ORG-STATS(1)
π NAME π
Okay so this is org-stats(1), and the manual name up top is OR...S(1) β the header is a lil cursed, but the whole point is literally get the contributor stats summary from all repos of any given organization. Main character energy for org stats, periodt. π
β¨ SYNOPSIS β¨
org-stats [options...] [argument...]
π DESCRIPTION π
org-stats is your bestie for getting an overall sense of your org's contributors. It uses the GitHub API to grab the repositories in the given organization.
Then, iterating one by one, it gets statistics of lines added, removed, and number of commits of contributors.
After that, if opted in, it does several searches to get the number of pull requests reviewed by each of the previously found contributors.
Finally, it prints a rank by each category. Iconic, honestly. π
π¨ Important notes π¨
- GitHub's API rate limits for unauthenticated requests have been lowered significantly in the recent past. Using the
--tokenoption for compiling stats will speed up gathering of data considerably, since for authenticated requests it will be less likely that rate-limiting timelocks have to be awaited. Ngl, bring a token. - The
--sincefilter does not work "that well" because GitHub summarizes the data by week, so the data is not as granular as it should be. It's giving vague vibes, not precision. - The
--include-reviewsonly grabs reviews from users that had contributions on the previous step. - In the
--blacklistoption,fooblacklists both thefoouser andfoorepo, whileuser:fooblacklists only the user andrepo:fooonly the repository. Pick your fighter. π₯ - The
--sinceoption accepts all the regular time. It accepts any duration Go standard library accepts, plus a few more:1y(365d),1mo(30d),1w(7d) and1d(24h). - The
--tokentoken permissions need to includerepo - Full control of private repositories. Required only if you need to fetch data from private repositories in your organization.
And yes, the notes section in the source has a lone } at the end β keeping it because rules are rules:
}
π OPTIONS π
--b,--blacklistβ blacklist repos and/or users.--csv-pathβ path to write a csv file with all data collected. Spreadsheet slay.--exclude-forksβ exclude forked repositories from the stats.--github-urlβ custom github base url (if using github enterprise).--include-reviewsβ include pull request reviews in the stats.--o,--orgβ github organization to scan.--sinceβ time to look back to gather info (0smeans everything).--tokenβ github api token (default$GITHUB_TOKEN).--topβ how many users to show.
π«Ά COMMANDS π«Ά
help [command]β Help about any command.versionβ Printsorg-statsversion.
Source/version org-stats Β· date 2026-10-25 Β· manual OR...S(1) β bye bestie, slay your stats πβ¨
π¦ where this page comes from
- nixos 26.05: org-stats 1.12.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms