RSSAmplifier

The CS-Chad Blog · Sep 1, 2022

Watch YouTube from the command line with Ytfzf

0
Sign in to vote or save

ᴀ̲ɴ̲ᴀ̲s̲ ̲ʙ̲ᴏ̲ᴜ̲ʙ̲ᴇ̲ᴄ̲ʜ̲ʀ̲ᴀ̲ · The CS-Chad Blog


Demo Video

Install dependencies

# On Debian and Ubuntu based distributions :
sudo apt update && sudo apt install jq curl fzf ueberzug

# On Fedora Workstation
sudo dnf install jq curl fzf ueberzug

# On Arch Linux based distributions
sudo pacman -S jq curl fzf ueberzug

Install YTfzf

# Yay users :
yay ytfzf

# Paru users :
paru ytfzf

For any other Linux Distribution users, you can directly install it by typing the following in the Terminal :

git clone https://github.com/pystardust/ytfzf
cd ytfzf
sudo make install doc

Playing Videos

For the sake of simplicity, let’s create an alias for ourselves so that the launch process becomes a lot easier to use. Type the following in your terminal

alias yt='ytfzf -t'
source .bashrc
Enjoy !

Read the original on blog.cschad.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.