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-machineTo 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 *.goThis 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 *.goAnd in the second run:
$ cd $GOPATH/src/github.com/celrenheit/trending-machine/web
$ gulpThis project is inspired by https://github.com/josephyzhou/github-trending.