Explore Github's trending page in the past.
This project is intended to be an example of the spider package.
Is has a list of pre-defined languages defined in the settings.json. It could be done for all languages but it will put too much load on the Github's servers.
You need Go, Node.js, NPM, Gulp and Bower installed on your computer. For the database you'll need MongoDB.
$ go get -u github.com/celrenheit/trending-machine
To install the dependencies of the web app you need to run:
$ cd $GOPATH/src/github.com/celrenheit/trending-machine/web
$ npm i && bower i && gulp build --prod
$ cd $GOPATH/src/github.com/celrenheit/trending-machine
$ go run *.go
This will launch a web server. Open a new tab/window in your browser pointing to http://localhost:3000.
Open two terminal windows. In the first one run the following:
$ cd $GOPATH/src/github.com/celrenheit/trending-machine
$ go run *.go
And in the second run:
$ cd $GOPATH/src/github.com/celrenheit/trending-machine/web
$ gulp
This project is inspired by https://github.com/josephyzhou/github-trending.