Skip to content
forked from pystardust/ytfzf

A posix script to find and watch youtube videos from the terminal. (Without API)

License

Notifications You must be signed in to change notification settings

A1RWALK3R/ytfzf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Discord

A POSIX script that helps you find Youtube videos (without API) and opens/downloads them using mpv/youtube-dl


This is a little showcase


Table Of Contents


Dependencies

There is only 1 required dependency, however the rest may require some configuration before you can replace them.

Requried dependencies

Recommended dependencies

  • mpv (the default video and audio player)
  • fzf (the default menu selection screen)

Optional dependencies

  • yt-dlp (for downloading)
  • dmenu (only if using the -D option)
  • ueberzug (if using thumbnails (-t) on x11)
    • chafa (if using thumbnails (-t) on wayland, sadly it's not as good as ueberzug)

Install

  1. Install the dependancies listed above
  2. Run the following commands
git clone https://github.com/pystardust/ytfzf
cd ytfzf
sudo make
  • ytfzf may be in some repositories, such as the AUR, however the above way is the recommended way to install.

Features

  • Subscriptions
  • Thumbnails
  • Watch history
  • Downloading
  • Queueing multiple videos

Examples

Search with thumbnails

ytfzf -t <search>

Use dmenu as the menu instead of fzf

ytfzf -D <search>

Print the link of the selected video instead of playing it

ytfzf -L <search>

Search Odysee instead of youtube

ytfzf -cO <search>

Todo

  • More sites
  • Playlists
  • Subscriptions
  • Thumbnails

Bugs

  • dwm with swallow patch: Images don't render with ueberzug when looped (ie, option -l)
  • if thumbnails are not working .Xauthority might be causing it. Try deleting it and relogging into your computer.

About

A posix script to find and watch youtube videos from the terminal. (Without API)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 98.6%
  • Makefile 1.4%