A visualizer of git repository statistics like the 'github grass'.
Blog
This repository includes two tools.
- Repository data collector
- Repository data visualizer
The collector is ruby script, and the visualizer is Node.js application. So, a environment which works ruby and Node.js work is required.
Development of these tools are on environments below:
Install gems.
bundle install --path=vendor/bundle
Install npm packages.
npm install
Run the collector to generate repository data and save the output as name public/logs.json
,
because the file name of repository data is hard-corded in visualizer (currently).
bundle exec ruby ./bin/log_collector.rb -r /path/to/repository > ./public/logs.json
Options:
-n COUNT
: number of logs-p
: pretty-print
Run visualizer with HTTP server. (localhost:8000
in default.)
npm run serve
npm run serve
npm run serve
npm run build
npm run lint