Git Product home page Git Product logo

clitube's Introduction

CLITube

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.

screenshoot

Installation

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.

Using pip
[sudo] pip install clitube
Manual
git clone https://github.com/NiZiL/clitube.git
cd clitube
[sudo] python setup.py install

Key-bindings

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

Commands

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

Roadmap

  • Download
  • Playlist manipulation
  • Save & load playlist
  • Search results filtering
  • Real vi-like keybinding (e.g. :2n)
  • Python2 compatibility

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.