So I wrote a simple YouTube downloader that is written in Kotlin/Go. It uses a Go library written by someone else.
Since downloading videos is against YouTube’s terms of service I do not recommend you use the app. But for educational purposes I provide it here.
You can either enter a URL manually or share a link to the app and it will auto download.
The source code is on github.