git clone git://git.codemadness.org/frontends cd frontends make
As you can see, there's more than Youtube.
Now, install mpv, yt-dlp and pick:
pkg_add mpv yt-dlp pick
mpv is the video player, yt-dlp download the video and pick gives a nice selection menu.
Now, search a video, then enjoy it without any browser.
./youtube/cli -t scilabus | cut -f2- | pick | awk '{print $1}' |xargs mpv
Once again, Hiltjo Posthuma did an amazing work. I'm impressed by its code and have to read it carefully to improve my poor C skills.
I'd like to see it ported on OpenBSD too.