listen-to-youtube-cli
v2.0.0
Published
Stream YouTube audio and listen to it.
Downloads
3
Maintainers
Readme
listen-to-youtube-cli
Stream YouTube audio and listen to it.
When piping it, it will write raw audio (PCM) to stdout
. Otherwise, it will use speaker
.
Installing
npm install listen-to-youtube-cli
Usage
Usage:
listen-to-youtube <url>
Examples:
listen-to-youtube 'https://www.youtube.com/watch?v=rFtP7Xc_Fbo'
Magic UNIX
# add ./node_modules/.bin to your $PATH
# computer 1
npm i listen-to-youtube-cli airpaste
listen-to-youtube 'some-youtube-url' | airpaste
# computer 2
npm i airpaste speaker-cli
airpaste | speaker
Contributing
If you have a question or have difficulties using listen-to-youtube-cli
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.