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.
- Host: GitHub
- URL: https://github.com/hackergrrl/voicetube
- Owner: hackergrrl
- License: isc
- Created: 2015-12-12T17:43:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-19T16:28:35.000Z (over 9 years ago)
- Last Synced: 2024-12-28T21:44:06.295Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 27
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

[**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