Simple way to calculate github repository rating