SubTUI is a lightweight TUI music player for Subsonic-compatible servers (Navidrome, Gonic, Airsonic, etc.) built with Go and the Bubble Tea framework. It uses mpv as the underlying audio engine supporting multiple audio formats. It supports scrobbeling ensuring your play counts are updated on your server and on any external services configured like Last.FM or ListenBrainz
You must have mpv installed and available in your system path.
- Ubuntu/Debian:
sudo apt install mpv - Arch:
sudo pacman -S mpv - macOS:
brew install mpv
You can download pre-compiled binaries for Linux and macOS directly from the Releases page. Simply download the archive for your architecture, extract it, and run the binary.
You can install SubTUI directly from the AUR: yay -S subtui-git
# Clone the repo
git clone https://github.com/MattiaPun/SubTUI.git
cd SubTUI
# Build
go build .
# Run
./subtui| Key | Action |
|---|---|
Tab |
Cycle focus forward (Search → Sidebar → Main → Footer) |
Shift + Tab |
Cycle focus backward |
/ |
Focus the Search bar |
q |
Quit application (except during Login) |
Ctrl + c |
Quit application |
| Key | Action |
|---|---|
j / Down |
Move selection down |
k / Up |
Move selection up |
Enter |
Play selection / Open Album |
| Key | Action |
|---|---|
p / P |
Toggle play/pause |
j / Down |
Move selection down |
k / Up |
Move selection up |
Enter |
Play selection / Open Album |
S |
Shuffle Queue (Keeps current song first) |
L |
Toggle Loop (None → All → One) |
w |
Restart song |
. |
Forward 10 seconds |
, |
Rewind 10 seconds |
| Key | Action |
|---|---|
f |
Toggle star |
F |
Open starred Songs |
| Key | Action |
|---|---|
N |
Play song next |
a |
Add song to queue |
d |
Remove song to queue |
D |
Clear queue |
K |
Move song up (Reorder) |
J |
Move song down (Reorder) |
On the first launch, SubTUI will ask for your server credentials:
- Server URL: (e.g.,
http(s)://music.example.com) - Username
- Password
Security Note: Your credentials are stored in plaintext in ~/.config/subtui/config.yaml.
Contributions are welcome!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.


