20 releases

0.1.19 Dec 1, 2024
0.1.18 Nov 1, 2024
0.1.17 Oct 1, 2024
0.1.14 Jul 1, 2024
0.1.10 Mar 1, 2024

#1104 in Command line utilities

Download history 141/week @ 2024-08-30 11/week @ 2024-09-06 26/week @ 2024-09-13 11/week @ 2024-09-20 148/week @ 2024-09-27 28/week @ 2024-10-04 8/week @ 2024-10-11 3/week @ 2024-10-18 130/week @ 2024-11-01 7/week @ 2024-11-08 3/week @ 2024-11-15 128/week @ 2024-11-29 14/week @ 2024-12-06

145 downloads per month

Custom license

15KB
252 lines

git-commit-stats

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.

Features

  • 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

Prerequisites

  • Ensure you have cargo installed on your machine.

Installation

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

Contributing

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

License

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

Acknowledgments

  • 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.

Dependencies

~16MB
~344K SLoC