Youtube client in terminal for music ( lightweight youtube client )
Youtube client in terminal for music ( lightweight youtube client )
Listen to music from youtube inside terminal with sleek tui
NOTE: since the dependency libmpv seems not to be maintained anymore,
you will probably need to build from source in any platform. See section Build From Source below.
Download latest binary from release page. If binary is not available for your platform, head on to build from source
Give it executable permission and from downloaded directory, in shell:
ytui_music runYtui-music depends on mpv and youtube-dl. You may refer to the official websites of mpv and youtube-dl.
If you have choco for windows or brew in mac or one of popular package manager in Linux you may run:
choco install mpv youtube-dlbrew install mpv youtube-dlsudo apt update -y
sudo apt install -y youtube-dl libmpv1 libmpv-devFor other distributions, install youtube-dl and mpv packages in your preferred methods
Before you start with ytui-music, make sure that the following directory exists and that you have write permission to ytui-music in order to save configuration file.
C:\Users\\AppData\Roaming or env var {FOLDERID_RoamingAppData}
/Users//Library/Application Support or $HOME/Library/Application Support
$HOME/.config/ or /home//.config or env var $XDG_CONFIG_HOME
Ytui-music is written entirely in Rust and building it from source is dead simple. All you have to do is download source, install rust and build with cargo.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shgit clone [email protected]:sudipghimire533/ytui-musiccd into source root and do:git submodule init
MPV_BUILD=mpv-build/ cargo build --all --release --features build_libmpvThe compiled binary is located in target/release/ directory. Copy the ytui_music binary and place it somewhere where it is easy to run. Preferrably under $PATH.
Ytui-music is now ready to fire. Head over to usage
ytui-music is single binary so it shouldn't be difficult to run. Just make sure you have installed the required dependencies.
ytui_music runytui_music helpytui_music info shortcutsytui_music infor version/ to go to search boxmusic:Bartika Eam Rai to search only for music result for query "Bartika Eam Rai"playlist:Soft pop hits to search only for playlist for query "Soft pop hits"artist:Bibash Jk to search only for artist for query "Bibash Jk"Coding music to search all of playlist, music and artist at once for query "Coding music"Enter keyLeft arrow or Backspace for backward and Right arrow or Tab key for forward to move between Sidebar, Musicbar, Playlistbar and ArtistbarUp arrow or Down arrow to move up or down in the list which will highlight the list itemEnter key to select an itemSpace key to pause/unpause the playbacks key to toggle suffle/unsuffler key to repeat single or all item in playlist> for forward and `Click to see screenshots
No open issues yet, or sync has not completed.