Skip to content

neo4reo/gitstats

 
 

Repository files navigation

Git Repository Analyzer

Inspired by x0rz's tweets analyzer, gitstats is a simple tool which goal is to perform commits activity analysis on git repositories and visualizing statistics such as as:

  • Per user activity distribution.
  • Daily commits distribution (per hour).
  • Weekly commits distribution (by day).
  • Monthly commits distribution.
  • Yearly commits distribution.
  • Words distribution in commits logs.

Usage

You can download precompiled releases of gitstats here, if instead you want to build it from source, make sure you have Go >= 1.8 installed and configured, then clone this repository, install the dependencies and compile:

git clone https://github.com/evilsocket/gitstats $GOPATH/src/github.com/evilsocket/gitstats
cd $GOPATH/src/github.com/evilsocket/gitstats
make vendor_get
make

To use gitstats simply:

/path/to/gitstats -repo /path/to/repo

Or filtering by author:

/path/to/gitstats -repo /path/to/repo -authors "some@one.com, some.one@else.ru"

Example output:

output

License

gitstats was made with ♥ by Simone Margaritelli and it is released under the GPL 3 license.

About

Git Repository Analyzer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 83.0%
  • Makefile 12.0%
  • Shell 5.0%