LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ytfzf

Search and play YouTube videos with fzf

TLDR

Search with thumbnails
$ ytfzf -t [search_pattern]
copy
Play audio in loop
$ ytfzf -m -a -l [search_pattern]
copy
Download from history
$ ytfzf -d --choose-from-history
copy
Play all audio results
$ ytfzf -m -A [search_pattern]
copy
Show trending videos
$ ytfzf --trending --ext-menu [search_pattern]
copy
Search PeerTube
$ ytfzf --peertube [search_pattern]
copy

SYNOPSIS

ytfzf [OPTIONS] [SEARCH]

DESCRIPTION

ytfzf is a POSIX shell script for finding and playing videos from YouTube and other platforms. It uses fzf for selection and mpv for playback.The tool supports searching, streaming, and downloading videos with thumbnail previews.

PARAMETERS

-t, --show-thumbnails

Show thumbnail previews
-m, --audio-only
Play only audio
-a, --auto-select
Auto-select first result
-l, --loop
Loop playback
-d, --download
Download instead of play
-A, --select-all
Select all results
--trending
Show trending videos
--peertube
Search PeerTube instead of YouTube
--ext-menu
Use external menu program

INSTALL

sudo pacman -S ytfzf
copy
sudo apk add ytfzf
copy
nix profile install nixpkgs#ytfzf
copy

CAVEATS

Requires fzf, mpv, and yt-dlp or youtube-dl. Thumbnail preview requires ueberzug or similar.

SEE ALSO

yt-dlp(1), youtube-dl(1), mpv(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid