Skip to content

Elias-Gill/yt_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube music player

This is a simple wrapper for the youtube API that search and list youtube videos.

Dependencies

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

Building

Clone the repo and run

go install .

Usage

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

About

Simple tui wrapper for the youtube API.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages