Show HN: A command-line tool to share your commit stats

1 month ago 2

A command-line tool to share your commit stats from local git repositories.

Test

brew tap radulucut/gitbrag brew install gitbrag
scoop bucket add gitbrag https://github.com/radulucut/scoop-gitbrag scoop install gitbrag

Download the latest binary from the releases page.

gitbrag ./ --since '2025-01-01' --author '[email protected]' -O stats.png -B 000 -C fff
gitbrag ./ --since 2024-01-01 gitbrag ./ --since 2024-01-01 --until 2024-12-31 gitbrag ./ --since 7d

Filter by author name or email

gitbrag ./ --author "John Doe" gitbrag ./ --since 7d --author [email protected]

Output statistics to PNG file

gitbrag ./ -O stats.png gitbrag ./ --output stats.png --background "#282a36"

Use custom background and foreground colors

gitbrag ./ -O stats.png -B fff gitbrag ./ -O stats.png --color "#50fa7b" gitbrag ./ -O stats.png -B "#282a36" -C "f8f8f2" gitbrag ./ -O stats.png -B 000 --color fff
Read Entire Article