Skip to content

gabipurcaru/shelltube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ShellTube

I got tired of my YouTube tab burning through my laptop battery, so here you go: YouTube in your console, with a <50 line script!

Usage:

$ ./play.sh armin  # starts playing Armin van Buuren

To Do

  • controls (e.g. space for pause, n for next, etc.)
  • unlimited playing (right now it only plays the first 30 results and stops)

Installation

Dependencies:

  • curl
  • youtube-dl
  • ffplay
  • jq

You can install the dependencies like this:

Ubuntu:

$ sudo apt-get -y install curl youtube-dl ffmpeg jq

Arch:

$ sudo pacman -S curl youtube-dl ffmpeg jq

OSX (not tested):

$ brew install curl youtube-dl ffmpeg jq

Then you can download play.sh like this:

$ curl https://raw.githubusercontent.com/gabipurcaru/shelltube/master/play.sh > play.sh && chmod +x play.sh

About

YouTube player in the shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages