voicetube

Voice controlled YouTube music player in the browser, ideal for hands-free environments.

ISC License

Stars
27

What is this?

Voice-controlled music powered by YouTube. Say the name of a song, and poof, it plays!

Web powered, built for mobile devices.

Caveats

Desktop: Chrome, Opera

Mobile: Chrome

Only works on Chrome at the moment across desktop, Android, and iOS, and Opera on desktop.

HTTPS

The app gets served over HTTPS; otherwise Chrome presents more permission dialogs to the user. This means you'll need to either generate/use your own SSL keypair and certificate and pass them in as arguments, or let the app generate a pair for you.

If you generate your own or let the app generate an SSL key and certificate, you'll need to go through the rigamarole of telling Chrome "yes I'm sure this site is not trying to steal my dog" on your first visit.

Online Only

The Chrome Web Speech API requires an internet connection. Lame.

Installation

$ npm install -g voicetube

generate key + cert

You'll need to generate a keypair and certificate for your use. Generating your own isn't too hard.

Usage

  1. run npm run build
  2. run voicetube
  3. open a browser to https://localhost:4000
  4. tap on the microphone icon
  5. say the name of a song (e.g. "horse with no name")
  6. enjoy the tunes

The Future!

  • fully hands-free (able to tell the playback when to stop, or to start listening for a new song)
  • support different media backends (public domain music, vimeo, ...)
  • hyperboot support

License

BSD