A simple React app that shows a QR code for joining a Spotify Group Session. The idea here is to have this app running fullscreen on a Raspberry Pi connected to a monitor. Then, use patchbay to update the url being encoded in the QR.
Realistically, the only thing that makes this specific to Spotify is the design of the app. You could easily use this project to show any QR code you like, and utilize patchbay to update it.
This project was bootstrapped with Create React App.
Install the dependencies:
yarn
Run the kiosk with:
yarn start
View the kiosk at:
http://localhost:3000
Change the kiosk with the admin controller:
http://localhost:3000/admin?token=your-token
Or send a message to the kiosk manually:
curl "https://patchbay.pub/pubsub/<token>" -d '{"title":"Spotify Group Session","body":"Scan the code to join!","url":"www.spotify.com/groups/some-id"}'