github-audio
github-audio copied to clipboard
Listen to music generated by events happening across GitHub :octocat: 🎷
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
If you are running locally then run local redis server
$ redis-server
On heroku, you can set up Heroku Redis
add-on and it sets REDIS_URL
enviornment variable.
In a separate window:
$ node server
Note: For production run export NODE_ENV="production"
before starting the server.