An open API service indexing awesome lists of open source software.

https://github.com/hackergrrl/voicetube

:musical_note: Voice controlled YouTube music player in the browser, ideal for hands-free environments.
https://github.com/hackergrrl/voicetube

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

## 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.

![](https://noffle.github.com/screenshots/voicetube.png)

[**Live demo on eight45**](https://eight45.net:4000)

## Caveats

### Desktop: Chrome, Opera
### Mobile: Chrome

Only works on Chrome [at the
moment](http://caniuse.com/#feat=speech-recognition) 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](https://docs.nodejitsu.com/articles/HTTP/servers/how-to-create-a-HTTPS-server)
isn't **too** hard.

## Usage

1. run `npm run build`
1. run `voicetube`
2. open a browser to https://localhost:4000
3. tap on the microphone icon
4. say the name of a song (e.g. "horse with no name")
5. 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](https://github.com/substack/hyperboot) support

## License
BSD