An open API service indexing awesome lists of open source software.

https://github.com/evilsocket/gitstats

Git Repository Analyzer.
https://github.com/evilsocket/gitstats

Last synced: 5 months ago
JSON representation

Git Repository Analyzer.

Awesome Lists containing this project

README

          

# Git Repository Analyzer

Inspired by x0rz's [tweets analyzer](https://github.com/x0rz/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](https://github.com/evilsocket/gitstats/releases), 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](https://i.imgur.com/e4kGoAn.png)

## License

gitstats was made with ♥ by [Simone Margaritelli](https://www.evilsocket.net/) and it is released under the GPL 3 license.