This is a simple wrapper for the youtube API that search and list youtube videos.
For playing music this program uses MPV player and (youtube-dl)[https://github.com/ytdl-org/youtube-dl].
Windows users can use chocolatey:
choco install mpv youtube-dl
Clone the repo and run
go install .
You have to go to Google console. Then create a new project and
enable the for Youtube API v3
for that project.
Finally go to the API pannel and copy the api key.
You can provide the api key using the --key=<key>
flag or setting the YT_PLAYER_KEY
enviroment variable