SubTUI is your next favorite lightweight, terminal-based music player for Subsonic-compatible servers like Navidrome, Gonic, and Airsonic. Built with Go and the Bubble Tea framework, it provides a clean terminal interface to listen to your favorite high-quality audio.
- Subsonic-compatible: Connect and stream from any Subsonic-compatible server
- Format Compatibility: Uses mpv to support various audio codecs and reliable playback
- Fully Customizable: Configure keybinds, color themes, and settings via a simple TOML file
- ReplayGain Support: Built-in support for Track and Album volume normalization
- Scrobbling: Automatically updates your play counts on your server and external services like Last.FM or ListenBrainz
- Gapless Playback: Enjoy your favorite albums exactly as intended with smooth, uninterrupted transitions
- MPRIS Support: Control SubTUI from any media widget on Linux/FreeBSD
- Discord Integration: Show off what you're listening to with built-in Discord Rich Presence
You must have mpv installed and available in your system PATH. You can verify with mpv --version.
Pre-compiled binaries for Linux and macOS are available on the Releases page.
| Method | Command / Instructions |
|---|---|
| Debian / Ubuntu | Download the .deb and run sudo dpkg -i subtui_*.deb |
| Fedora / RHEL | Download the .rpm and run sudo rpm -i subtui_*.rpm |
| Alpine | Download the .apk and run sudo apk add --allow-untrusted ./subtui_*.apk |
| Arch Linux (AUR) | yay -S subtui-git |
| macOS (Homebrew) | brew install MattiaPun/subtui/subtui |
| FreeBSD | pkg install subtui |
| Nix | nix profile install github:MattiaPun/SubTUI |
| Go Toolchain | go install github.com/MattiaPun/SubTUI@latest |
| From Source | git clone https://github.com/MattiaPun/SubTUI.git && cd SubTUI && go build . |
For setup, configuration, keybinds, and more, check out the Wiki.
Contributions are welcome! There are several ways to help:
- Feature Requests — Open an issue to suggest new features or improvements
- Code Contributions — Fork the repo, make your changes, and submit a pull request. Please use Conventional Commit Messages
If you enjoy using SubTUI, please consider sponsoring the project to support its development.
Distributed under the MIT License. See LICENSE for more information.


