hey guys, i had a project called clispot (https://clispot.kumneger.dev/) which was a cli based spotify client. back in february spotify changed their api to require premium in dev mode and it kinda broke my app, so i migrated over to youtube music and built yt-tracks.
how it works:
- the tui is written in go and uses yt-dlp + ffmpeg to grab and play audio
- to talk to youtube music (search, playlists, library, lyrics, etc.), it runs python's ytmusicapi over a local connect rpc server (localhost only)
- u don't gotta install python or start any server yourself, the go binary embeds uv + the backend wheel directly so on first run it grabs cpython and starts the backend on its own (or run `yt-tracks setup` to see progress)
- `yt-tracks extract-cookies` pulls your youtube music cookies from chrome, firefox, or safari so u don't gotta copy headers manually
what it can do right now:
- search songs, albums, playlists & browse home/library
- queue + related tracks
- synced lyrics
- like/unlike tracks & create/add/remove playlists
- works on linux, macos (apple silicon), and windows
still gonna add more browsing stuff, so if u wanna try it out or break things, feedback is welcome.
github: https://github.com/Kumneger0/yt-tracks
docs: https://yt-tracks.kumneger.dev