Rewrite from old code in bitbucket because of GFW
Merge branch 'master' of https://github.com/matrixj/scmonitor