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 :)
This instance is running on ThoughtWorks infrastructure to allow its employees to create an account and interact with the rest of the Fediverse.
DISCLAIMER: The views or opinions expressed by the users of this instance are solely their own and do not necessarily represent the views or opinions of ThoughtWorks, Inc.