Skip to content

Latest commit

 

History

History
97 lines (77 loc) · 2.15 KB

README.md

File metadata and controls

97 lines (77 loc) · 2.15 KB

gh-star-history

:octocat: Show star history of repositories. ⭐

Usage

$ gh star-history --owner cli --repo cli --per-month
Aggregate stars of cli/cli ...
2019-10 1
2020-01 513
2020-02 5462
2020-03 985
2020-04 584
2020-05 1285
2020-06 942
2020-07 608
2020-08 617
2020-09 6586
2020-10 1221
2020-11 702
2020-12 699
2021-01 568
2021-02 448
2021-03 521
2021-04 970
2021-05 456
2021-06 352
2021-07 361
2021-08 989
2021-09 500
2021-10 521
2021-11 410
2021-12 404
$ gh star-history --owner cli --per-year
Aggregate stars of cli/browser ...
Aggregate stars of cli/cli ...
Aggregate stars of cli/crypto ...
Aggregate stars of cli/gh-extension-precompile ...
Aggregate stars of cli/go-gh ...
Aggregate stars of cli/oauth ...
Aggregate stars of cli/safeexec ...
Aggregate stars of cli/scoop-gh ...
Aggregate stars of cli/shurcooL-graphql ...
Aggregate stars of cli/survey ...
2019    1
2020    20469
2021    6683

Install

gh-star-history can be installed as a standalone command or as a GitHub CLI extension

Install as a GitHub CLI extension

$ gh extension install k1LoW/gh-star-history

Install as a standalone command

Run gh-star-history instead of gh star-history.

deb:

Use dpkg-i-from-url

$ export GH-STAR-HISTORY_VERSION=X.X.X
$ curl -L https://git.io/dpkg-i-from-url | bash -s -- https://github.com/k1LoW/gh-star-history/releases/download/v$GH-STAR-HISTORY_VERSION/gh-star-history_$GH-STAR-HISTORY_VERSION-1_amd64.deb

RPM:

$ export GH-STAR-HISTORY_VERSION=X.X.X
$ yum install https://github.com/k1LoW/gh-star-history/releases/download/v$GH-STAR-HISTORY_VERSION/gh-star-history_$GH-STAR-HISTORY_VERSION-1_amd64.rpm

apk:

Use apk-add-from-url

$ export GH-STAR-HISTORY_VERSION=X.X.X
$ curl -L https://git.io/apk-add-from-url | sh -s -- https://github.com/k1LoW/gh-star-history/releases/download/v$GH-STAR-HISTORY_VERSION/gh-grep_$GH-GREP_VERSION-1_amd64.apk

homebrew tap:

$ brew install k1LoW/tap/gh-grep