BoomBox
Use a raspberry pi or any computer as a media server for audio files.
Dependencies
- Node.js
- npm
- cdparanoia, a CD ripper binary
Installation
- Clone Boombox, making sure to include submodules -
git clone --recursive https://github.com/mborn319/BoomBox.git
- Install node and npm -
sudo apt-get install nodejs npm
- Install Mongo -
sudo apt-get install mongodb
- Install sound library, specifically for
alsa.h
-sudo apt-get install libasound2-dev
- Install package dependencies -
npm install
- Install TLS certificates for security -
cd certstuff;bash make-root-ca-and-certificates.sh "boombox.localhost"
For Development
- Install grunt -
sudo npm install -g grunt-cli
- Run grunt to compile frontend scripts, etc -
grunt
Usage
Copying Audio Files to Boombox
- Place an audio CD in the CD drive
- Navigate to boombox/organize.
cd organize
- Begin the CD rip process with
node ripdisc.js
- Repeat as necessary for each CD.
Start up the web server
- Add
boombox.localhost
to your /etc/hosts file - Start Boombox:
node index.js
- Visit the Boombox homepage:
http://localhost:8080
API docs
API documentation is generated thanks to API Blueprint and Apiary. View API documentation.