Find file
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (53 sloc) 1.68 KB

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 Attention

Installing dependencies

This application requires:

  • node
  • npm
  • redis

Dependency Installation on OSX

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

Dependency Installation on Linux

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

Running the Application

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 Redis and Server

$ redis-server

In a separate window:

$ node server

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