Skip to content
This repository has been archived by the owner. It is now read-only.
Trending Machine - Explore Github's trending page in the past.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hubspider
web
.gitignore
LICENSE
Procfile
README.md
db.go
main.go
settings.json

README.md

Trending Machine License

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.

Installation

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

Usage

$ 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.

Developpement

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

Inspiration

This project is inspired by https://github.com/josephyzhou/github-trending.

License

MIT License

You can’t perform that action at this time.