Deadwax: A Terminal Player for Navidrome
Deadwax is a terminal music player for Navidrome and other Subsonic servers. It streams through mpv, draws album art right in the terminal, scrobbles to your server, and can tell Discord what you’re listening to. It runs on macOS and Linux, and it’s open source under MIT or Apache 2.0.
I started it on November 11 under the name Senritsu and renamed it Deadwax two days later.
What it does
Log in with your server URL, username, and password, and you get your library in three columns: artists, albums, tracks. Number keys switch between Library, Playlists, Search, and Queue. Everything has a vim-style key (j/k to move, / to search, space to pause, z for a full-screen Now Playing view), and as of 1.1.0 the mouse works too. Click a row to select it, double-click to play it, and click the progress bar to seek.
Album art shows up in whichever image protocol your terminal speaks best: kitty graphics, iTerm2 inline images, or sixel. Terminals that speak none of those get a half-block fallback that works everywhere.
A few other pieces:
- Discord presence. Your profile shows “Listening to Deadwax Terminal” with the track, artist, album, and cover. Discord only ever gets public cover art from the Cover Art Archive, iTunes, or Deezer. Your server’s address and credentials never leave your machine.
- Scrobbling that doesn’t lose plays. A track counts after half its length or four minutes, whichever comes first, and seeking forward doesn’t count as listening. If the server is down, scrobbles wait in an outbox and go out later.
- A queue that survives. It’s saved on exit and restored on the next start. If mpv dies mid-track, Deadwax restarts it and picks up where it left off.
- Media keys on Linux. The newest work exposes playback over MPRIS, so your desktop’s media keys and widgets can control it.
Install
On macOS or Linux with Homebrew:
brew install voidrender/tap/deadwax
On Arch, every release ships with a tested PKGBUILD until the AUR package is up. You’ll also need mpv, which Homebrew and the Arch package pull in for you. Then run deadwax, log in, and press ? for the keys.
How
Deadwax is written in Rust, and mpv does the actual playback, which means gapless playback and broad format support for free. Your password goes in the system keychain and nowhere else. If there’s no keychain available, Deadwax stores a derived token in a locked-down file instead and tells you it did.
The README has the full key list, the config options, and setup for running Discord presence under your own application. If something breaks, open an issue. I’d love to hear what you think.
# EOF