Fork me on GitHub

GitCrossStats

This is tiny GitStats clone written in Scala by Lukas Stefaniak to learn Scala.js

Source code available at GitHub: lustefaniak/gitcrossstats

How to use

It uses dc-js, crossfilter, d3 and bootstrap on the frontend.

To use it, generate your own data/log.json file using /bin/git-log2json.sh script. Just go to the directory of your git repository checkout and redirect output of the script to file: bin/git-log2json.sh > data/log.json

You can also point it to commits endpoint of restfulgit.

Format of the commit log used should be also compatible with Gihub API, but I didn't check that.

Fork and code

If you want to play with some code just launch sbt in main directory.

Example for spray-json:

Commits