Early alpha bot for Jukebox.
Currently working for Slack, looking into compatibility with Mattermost and Matrix. Since Jukebox has no API, Jukes makes use of Nightmare to interact with the page.
To run this you'll need some sort of display server, on a headless server this can be done with xvfb
like so: xvfb-run npm start
.
Then to use with Slack add a custom slash command with the URL set to where Juke runs.
Currently the bot can:
- Create a new room with a random name
- Play and pause the song
- Shuffle the order of the upcoming songs
- Adding semi-random songs from /r/listentothis
- Adjusting the volume (think of ramping it up and down gradually)
- Voting to skip the current song