I wanted TIDAL without leaving the keyboard, so I wrote a client in Rust on Ratatui: vim keys, / to filter, s to search, no mouse anywhere. It is a full client rather than a remote: it browses, searches and plays on its own, with the same home rows, Explore pages and mixes the web client shows.
**
What it does**
- Home with the web client’s rows and tabs, Explore (genres, moods, decades), Mixes & Radio
- Search across tracks, albums, artists and playlists
- Album pages with the review and the “more by”, “other versions” and related rows; artist pages with top tracks, albums, similar artists, radio and a scrollable biography
- Your playlists, albums, artists and favourites, each as its own view
- A queue with shuffle and repeat, playback history kept between runs
- Playback up to 24-bit hi-res: FLAC in fragmented MP4 over DASH, decoded by rodio
- Cover art through the terminal’s image protocol via ratatui-image, half blocks where there is none
- Media keys and the desktop’s player widget: MPRIS on Linux, Now Playing on macOS
- Device-flow login: a code and a link, confirmed in the browser
Ratatui bits that might interest this forum
- Horizontal rows of cover cards, as the web client draws them. Nothing upstream does horizontal scrolling (the RFC reached no consensus,
tui-scrollviewwas archived without it), so the carousel follows the maintainers’ guidance: offset windowing at the data layer, compute which cards are visible and render only those. Each row keeps its own cursor, so leaving and coming back lands where you were. - A card’s width in columns is not a constant. It depends on the shape of a terminal cell, which varies by terminal and font. It is measured once at startup from what ratatui-image’s picker reports, otherwise a selected card’s shading comes out lopsided on cells that are not exactly 2:1.
/filters any list the way people type: accents ignored (“angele” finds Angèle), words in any order and across fields (“kendrick good” finds the album by artist and title), and symbols read as letters, so “asap” finds A$AP Mob and “kesha” finds Ke$ha. No fuzzy matcher does that last one, since$is notsto any of them.- Biographies use
Paragraph::line_countbehindunstable-rendered-line-infoto know how far they can scroll. Pinned in Cargo.toml, worth it. - Input comes from crossterm’s
EventStreaminto onetokio::select!loop with the network and the player, no polling. - Covers through ratatui-image, with a half-block renderer when the terminal has no image protocol.
Caveats, up front
Unofficial, no affiliation with TIDAL. It talks to TIDAL’s undocumented internal API, which can change at any time. Full-quality playback is only granted to TIDAL’s own applications, so, like every third-party TIDAL client, it identifies as one of them. The README explains why and leaves the decision to you. You need your own paid subscription.
Install
Binaries for Linux (x86_64, aarch64) and macOS 12+ on the releases page, or cargo install ratidal. MIT.
Repo: GitHub - ColinTenaguillo/ratidal: ratidal — TIDAL terminal client (TUI) with hi-res playback · GitHub
Crate: crates.io: Rust Package Registry
Happy to answer questions, and to hear what other Ratatui music clients do about cover art in terminals without an image protocol.