Skip to content
Provides a simple way of implementing a jukebox running from nodejs and youtube
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.

Youtube jukebox

Known Vulnerabilities
This project provides a simple way of implementing a jukebox running from nodejs and youtube.


Node modules


Download the repository and extract if in a zip, then run. npm install This will install all the required modules. If you would like to use the supplied batch file to make the server reboot automatically then run either npm install nodemon or npm install -g nodemon to install it globally


  • port
    • The port to run the webserver on
    • Type: integer
    • Default: 3000
  • youtubeAPIKey
    • Your API key for the youtube API.
    • Can be obtained from here and this API needs to be enabled.
    • Type: string
    • Default: 'youtube api key here'
  • defaultPlaylist
    • The default playlist to play if there is no songs queued. If it is set to '' then it will be disabled.
    • Type: string
    • Default: 'PLx0sYbCqOb8Q_CLZC2BdBSKEEB59BOPUM' (UK Top 40 Songs)
  • defaultRandomOrder
    • True if you want the default playlists songs to be played in a random order.
    • Type: boolean
    • Default: true
  • playerControls
    • Should the youtube player controls be shown.
    • Type: boolean
    • Default: false
  • playerLockedHosts
    • Should the player page be restricted to certain connection domains.
    • EG: would be denied but if navigated to localhost then it would be accepted.
    • Type: boolean
    • Default: true
  • playerLockedHostsList
    • Domain list for above setting.
    • Type: string array
    • Default: ["localhost", ""]


You can’t perform that action at this time.