12 releases

0.1.11 Apr 1, 2024
0.1.10 Mar 1, 2024
0.1.9 Feb 18, 2024
0.1.6 Jan 31, 2024

#368 in Command line utilities

Download history 25/week @ 2024-01-02 7/week @ 2024-01-09 4/week @ 2024-01-16 8/week @ 2024-01-30 10/week @ 2024-02-06 177/week @ 2024-02-13 52/week @ 2024-02-20 130/week @ 2024-02-27 12/week @ 2024-03-05 4/week @ 2024-03-12 101/week @ 2024-03-26 72/week @ 2024-04-02

179 downloads per month

Custom license

252 lines


Crates.io Version Crates.io Total Downloads

git-commit-stats is a command-line tool designed to provide insightful analysis of Git repositories. It analyzes commit histories, providing users with valuable information about coding habits and patterns. The tool aims to enhance your understanding of code changes over time.


  • Commit Analysis: git-commit-stats extracts commit messages and performs analysis, including word frequency and coding patterns.
  • Insights: Gain insights into frequently modified files, commit frequencies, and coding habits.
  • User-Friendly: Simple command-line interface for ease of use.
  • Customization: Tailor the analysis by specifying parameters such as the repository path and time range.

Getting Started


  • Ensure you have cargo installed on your machine.


  1. Install the cli with cargo:
cargo install git-commit-stats
  1. Run the cli:
git-commit-stats --help


We welcome contributions! If you find any issues or have ideas for improvements, please open an issue or submit a pull request.


This project is licensed under the MIT License. Feel free to use, modify, and distribute it as needed.


  • Git2 for interacting with Git repositories.
  • Clap for command-line argument parsing.
  • Regex for parsing commit messages.
  • Itertools for efficient iteration.
  • Chrono for date and time parsing.


~391K SLoC