Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 2.13 KB

README.md

File metadata and controls

55 lines (37 loc) · 2.13 KB

Build Status

You know those cool graphs and statistics you can get for a repository on github? The things is that (unfortunately) not all git repositories are hosted on github for various reasons. This is the tool for rendering graphs for your repository that can be hosted anywhere, and it looks great.

Features (v1.0.0)

Graphs that are included:

  • Commits by date
  • Commits by hour of day
  • Commits by day of week
  • Commits by contributor

Requirements

  • PHP 5.3
  • Git

Installation

Start by clone this repository and setup your web server

Install dependencies using Composer, e.g. php composer.phar install

Clone the repository you want to graph in the root of the folder for git-pretty-stats. Using folder name repository is recommended since it's the default path, e.g. git clone <repository-url> repository

To manually set the repository path, copy config.example.php to config.php. Then change the value of repositoryPath in the config file relative to the folder where your desired git repository is located.

Now go to your web browser and go to the URL where you've set everything up.

Disclaimer: the tool has been tested to work on repositories up to 10 000 commits. If your repository have a higher number of commits than that you might experience issues.

Screenshots

Commit activity


Commit activity


Powered by

TODO

  • Cache for larger repositories
  • Handle multiple repositories
  • Additions / deletions for contributors