Wrote a little utility in Nim to search and play YouTube videos directly from the command line.
This is partly due to my dissatisfaction with the ytview script from the Bash-Snippets package.
ytview.sh - 210 LoC
clitube.nim - 44 LoC
Size of release binary: 637 KB (amd64)
Used only the standard library, no dependencies.
I might prefer Nim to Bash/Python for small portable utilities in the near future.
@dtluna This literally is a wrapper over mpv + youtube-dl
I don't know nim at all, I'm going to go check it out now though :)
@njoseph_1 youtube-dl does part of this minus the search. It would be nice it if supported invidio.us !
@federico3 Added support for invidious, but I think I'll end up making this an alternative for invidious.