A curses-based interface to browse YouTube, with vi-like keybindings.
Powered by mplayer and youtube-dl.
Disclaimer: CLITube is a pet project initiated for fun after seeing this command line. I don't maintain it anymore, mainly because the code is pretty messy.
WARNING: CLITube rely on html.unescape()
, python3.4+ only!
If your default python
is python2, you'll get the message [ERROR] CLITube requires python3.4 and above.
.
You should use python3 setup.py install
, python3 -m pip install
or pip3 install
in this case.
[sudo] pip install clitube
git clone https://github.com/NiZiL/clitube.git
cd clitube
[sudo] python setup.py install
Key | Action |
---|---|
: | enter a command |
/ | shortcut for the search command |
n | load more result |
j | move down in the result list |
k | move up in the result list |
G | go at the last result |
g | go at the first result |
SPACE | select/unselect result at current position |
ENTER | add selected results into the playlist. If no results are selected, add result at current position |
p | pause |
m | mute/unmute |
+ | increase volume |
- | decrease volume |
Command | Effect |
---|---|
search pattern | search pattern on Youtube |
quit (q) | quit |
next (n) | next soundtrack on the playlist |
previous (p) | previous soundtrack on the playlist |
clear (clr) | clear the playlist |
download (dl) file_path | download result at current position into file_path |
Download- Playlist manipulation
- Save & load playlist
- Search results filtering
- Real vi-like keybinding (e.g. :2n)
- Python2 compatibility