listen-to-youtube-cli

2.0.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    1
  • 1.0.0
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i listen-to-youtube-cli

Weekly Downloads

1

Version

2.0.0

License

ISC

Unpacked Size

5.15 kB

Total Files

5

Last publish

Collaborators

  • derhuerst