Cli Tube
Tired of being interrupted by ads in YouTube I decided to make a tool to watch videos from the terminal with the help of youtube dl, curl and mpv
Installation
Clone the repo go into the directory and build the source code:
$ git clone https://github.com/jvech/cli-tube.git
$ cd cli-tube
$ make install
Usage
To use it you just have to put the following:
$ cli-tube search the thing you want
Checkout the code here.
Conclusions
I learned how to interact with other programs using C and also realize that the
function fscanf
is more powerful than I thought.
Despite the fact that it was an interesting project to do and learn, I found myself using the program occasionally. Not having a thumbnail or the video duration are the main reasons, maybe later I will improve it.