剑客
关注科技互联网

快听!!GitHub 在唱歌!!

GitHub Audio

Listen to music generated by events happening across GitHub

Imitation is the sincerest form of flattery.
Oscar Wilde

But seriously,listen-to-wikipedia by@slaporte and@mahmoud is the hotness.

Use
ULTIMATE_DREAM_KILLER

to filter all events except closed PRs.

Media

Installation on OSX

$ brew install nodejs
$ brew install npm
$ brew install redis

Installation on Linux

$ sudo apt-get update
$ sudo apt-get install nodejs
$ sudo apt-get install npm
$ sudo apt-get install redis-server

Install node packages

Navigate to the project directory and run

$ npm install

Environment variables

$ export GITHUB_OAUTH_KEY=<your_github_oauth_key>

Note: Without the GitHub oauth key the number of requests is throttled at 60 per hour. It can be increased to 5000 per hour by using an oauth key.

Run server

$ node server

Note: For production run export NODE_ENV="production"
before starting the server.

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址