64studio / plegger

PiDeck Bootlegger
http://pideck.com/
1 stars 0 forks source link

The PiDeck Bootlegger is designed to record whenever audio is present on the default ALSA input device. It uses sox to record 192k MP3s and timestamp them.

These files are made available through a web browser interface on a local wireless network to anyone with the WiFi password, which can then be uploaded to a sharing service such as Mixcloud.

Build with:

dpkg-buildpackage -aarmhf -I.git

Or:

  1. Install dependencies manually. e.g. for Debian stretch which has node 4.7:

sudo apt-get install sox libsox-fmt-mp3 dnsmasq hostapd nodejs wireless-tools

  1. Or on Debian before stretch, install nodejs from 4.x branch:

curl -sL https://deb.nodesource.com/setup_4.x | sudo bash - sudo apt-get install -y nodejs

  1. Clone this repo:

git clone https://github.com/64studio/plegger.git

  1. Add configs from the conf directory to their respective places:

sudo nano /etc/dnsmasq.conf sudo cp conf/hostapd.conf /etc/hostapd/

  1. Update the path for hostapd config in /etc/default/hostapd as follows:

DAEMON_CONF=/etc/hostapd/hostapd.conf

  1. Set a local domain in /etc/hosts

10.0.0.1 hw.plegger

See https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/

Installation

cd /usr/share/plegger/webapp sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10 sudo npm install sudo npm install -g browserify sudo browserify src/client/plegger_client.js -t babelify --outfile web/pleg_cfe.js