dorkhub

youtube-terminal

:tv: Stream YouTube videos as ascii art in the terminal!

mathiasvr
JavaScript1138 forksMITupdated 7 years ago
git clone https://github.com/mathiasvr/youtube-terminal.gitmathiasvr/youtube-terminal

YouTube Terminal

npm downloads dependencies license

Stream YouTube videos as ascii art in the terminal!

usage

YouTube Terminal will play the first found search result:

$ youtube-terminal [options] 'cyanide and happiness'

options

-l, --link [url]         Use YouTube link instead of searching
-i, --invert             Invert brightness, recommended on white background
    --color              Use 16 terminal colors [experimental]
-c, --contrast [percent] Adjust video contrast [default: 35]
-w, --width [number]     ASCII video character width
-m, --mute               Disable audio playback
    --fps [number]       Adjust playback frame rate
-h, --help               Display this usage information

Note that setting the --invert flag had the opposite effect in earlier releases, and was changed based on this poll.

install

$ npm install -g youtube-terminal

Be sure to have FFmpeg installed as well.

Ubuntu/Debian users should have ALSA installed as well:

$ sudo apt-get install libasound2-dev

related

ascii-pixels

license

MIT

more like this

thorn

a pure lazy functional programming language to make ASCII art animations (and other things too)

Rust50

search

search projects, people, and tags