Skip to content

Print repo contributions and give authors their well-deserved kudos! 🎉

License

Notifications You must be signed in to change notification settings

brenocq/git-kudos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


git-kudos

git-kudos is an open source project that lists the contributions of each author in a Git repository. It shows who has written the most lines of code, making it easy to recognize and celebrate everyone's hard work. Give them their well-deserved kudos! 🎉

Usage

~ ❯ git-kudos --help
Usage: git-kudos [-d | --detailed] [<paths>] [-x | --exclude <paths-to-exclude>]

Options:
  -h, --help                        Print this help message
  -v, --version                     Print version
  -d, --detailed                    Output detailed list of files
  -x, --exclude <paths-to-exclude>  Exclude specified paths
  -D, --days <num-days>             Specify number of days back to include
  -M, --months <num-months>         Specify number of months back to include
  -Y, --year <num-years>            Specify number of years back to include

Examples:
  git-kudos                                   Kudos for current path
  git-kudos include/menu/ file.txt data/*.js  Kudos for specified files and folders
  git-kudos out[A-C].csv                      Kudos for outA.csv outB.csv outC.csv
  git-kudos alg[15].rs                        Kudos for alg1.rs alg5.rs
  git-kudos **.{h,c,hpp,cpp}                  Kudos for by C/C++ files
  git-kudos src/**/test.js                    Kudos for text.js files inside src/
  git-kudos src/**/test/*.cpp                 Kudos for .cpp files inside test folders
  git-kudos src/**Renderer*.*                 Kudos for files that contain "Renderer"
  git-kudos src/**.{h,cpp} -x src/*/test/     Kudos for C++ files and exclude test folders
  git-kudos **.c -M 3                         Kudos for lines in C files added during the past 3 months
  git-kudos **.py -d                          Detailed kudos for .py files

Installation

  Source

cd git-kudos
cmake -S . -B build
cmake --build build
sudo cmake --install build

 

  Linux

For most Linux users, it is available in snap.

sudo snap install git-kudos

For Arch users, it is also available in the AUR.

yay -S git-kudos

 

Contributing

All contributions are welcome! Whether you're reporting issues, suggesting new features, or submitting pull requests, your help is greatly appreciated. 🫶

License

MIT © brenocq

About

Print repo contributions and give authors their well-deserved kudos! 🎉

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published