youtube-listen-cli

1.0.0 • Public • Published

Command line youtube listener

How it works

Using the ytdl library it starts a streaming download from youtube. That gets processed with FFMPEG library and transformed into mp3, it will use the system available codec library for that. The mp3 will then get streamed into an mplayer process that will play the audio.

Requirements:

  • Node.js
  • NPM
  • ffmpeg
  • mplayer

Installation

OS X:

brew install ffmpeg mplayer
npm install youtube-listen-cli -g

Optional:

Set alias for faster access

alias ytl=youtube-listen

Usage

youtube-listen <url>

TODOs

  • Add minimal interface

    • Currently the mplayer output gets displayed in the console. I would like to implement a basic interface displaying the available information about the current track like name, and process percentage.
  • Implement seeking in track

    • h, j, k, l keys

License

MIT

Package Sidebar

Install

npm i youtube-listen-cli

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • peteyycz