2.0.0 • Published 4 years ago

listen-to-youtube-cli v2.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

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.

npm version build status ISC-licensed minimum Node.js version chat with me on Gitter support me via GitHub Sponsors

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.