ytm: YouTube Music from the terminal, with background playback

Wait 5 sec.

Hello r/commandline, I’ve been working on ytm, a small CLI/TUI for using YouTube Music without keeping a browser open. It has search, queue management, playlists, lyrics, radio/autoplay and a full terminal UI. Playback is handled by mpv running in the background, so you can close the TUI and the music keeps playing. The CLI talks to the same player, so things like ytm play, ytm next, ytm pause and ytm queue work without opening the interface again. Under the hood it uses ytmusicapi for YouTube Music, yt-dlp for resolving streams and mpv for playback. There’s also offline caching, media key support and JSON output if you want to use it in scripts. It’s still something I’m actively working on, so feedback from people who actually live in the terminal would be really useful. Repo: https://github.com/MaheshBhushan/yt-music-cli   submitted by   /u/vertically_ded5808 [link]   [comments]