MusicBox, a node app waiting for button pushes. Every push plays a new track from a chosen Spotify playlist.
Deployed on a Raspberry Pi, connected via GPIO 2 and 17 to a button and a LED. Playing music using Mopidy with the Spotify extension.
Some environment values needs to be added:
The button blinks for 10 seconds with a 20 seconds interval. During this time it is active. When a song is played, a tweet is made about it.
Docker image: asalilje/portablemusic.
Link to blogpost on how to set up your pi and run this using Docker: http://reallyshouldblogthis.blogspot.se/2018/03/build-raspberry-pi-musicbox-using.html