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

#492 in Command line utilities

Download history 25/week @ 2024-01-04 8/week @ 2024-01-11 3/week @ 2024-01-18 8/week @ 2024-01-25 15/week @ 2024-02-08 196/week @ 2024-02-15 39/week @ 2024-02-22 122/week @ 2024-02-29 11/week @ 2024-03-07 2/week @ 2024-03-14 137/week @ 2024-03-28 38/week @ 2024-04-04 1/week @ 2024-04-11

176 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

~18MB
~391K SLoC