| Crates.io | spotatui |
| lib.rs | spotatui |
| version | 0.35.4 |
| created_at | 2025-12-05 15:38:31.284844+00 |
| updated_at | 2026-01-24 13:26:58.211164+00 |
| description | A Spotify client for the terminal written in Rust, powered by Ratatui |
| homepage | https://github.com/LargeModGames/spotatui |
| repository | https://github.com/LargeModGames/spotatui |
| max_upload_size | |
| id | 1968471 |
| size | 962,154 |
A Spotify client for the terminal written in Rust, powered by Ratatui.
A community-maintained fork of spotify-tui, actively developed with new features like native streaming, synced lyrics, and real-time audio visualization.

spotatui is currently maintained by a solo developer. More contributors would be hugely appreciated! Here's how you can help:
See CONTRIBUTING.md for more details!
spotatui is extremely lightweight compared to the official Electron client.
| Mode | RAM Usage |
|---|---|
| Native Streaming (Base) | ~48 MB |
| With Synced Lyrics | ~48 MB |
| With System-Wide Visualizer | ~56 MB |
Tested on Arch Linux (Hyprland).
Anonymous Global Counter: spotatui includes an opt-in feature that contributes to a global counter showing how many songs have been played by all users worldwide. This feature:
enable_global_song_count: false in ~/.config/spotatui/config.ymlWe respect your privacy. This is purely a fun community metric with zero tracking of individual users.
If you used the original spotify-tui before:
spt to spotatui.~/.config/spotify-tui/~/.config/spotatui/You can copy your existing config:
mkdir -p ~/.config/spotatui
cp -r ~/.config/spotify-tui/* ~/.config/spotatui/
You may be asked to re-authenticate with Spotify the first time.
# Cargo (recommended)
cargo install spotatui
# Arch Linux (AUR) - pre-built binary (faster)
yay -S spotatui-bin
# Arch Linux (AUR) - build from source
yay -S spotatui
Or download pre-built binaries from GitHub Releases.
See the Installation Wiki for platform-specific requirements and building from source.
Run spotatui and follow the on-screen instructions to connect your Spotify account.
You'll need to create a Spotify Developer app at the Spotify Dashboard.
See the Installation Wiki for step-by-step setup.
The binary is named spotatui.
Running spotatui with no arguments will bring up the UI. Press ? to bring up a help menu that shows currently implemented key events and their actions.
There is also a CLI that is able to do most of the stuff the UI does. Use spotatui --help to learn more.
See Keybindings Wiki for the full list of keyboard shortcuts.
Here are some example to get you excited.
spotatui --completions zsh # Prints shell completions for zsh to stdout (bash, power-shell and more are supported)
spotatui play --name "Your Playlist" --playlist --random # Plays a random song from "Your Playlist"
spotatui play --name "A cool song" --track # Plays 'A cool song'
spotatui playback --like --shuffle # Likes the current song and toggles shuffle mode
spotatui playback --toggle # Plays/pauses the current playback
spotatui list --liked --limit 50 # See your liked songs (50 is the max limit)
# Looks for 'An even cooler song' and gives you the '{name} from {album}' of up to 30 matches
spotatui search "An even cooler song" --tracks --format "%t from %b" --limit 30
spotatui can play audio directly without needing spotifyd or the official Spotify app. Just run spotatui and it will appear as a Spotify Connect device.
See the Native Streaming Wiki for setup details.
A configuration file is located at ${HOME}/.config/spotatui/config.yml.
See the Configuration Wiki for the full config file reference.
You can also configure spotatui in-app by pressing Alt-, to open Settings.
See Themes Wiki for built-in presets (Spotify, Dracula, Nord, etc.).
Discord Rich Presence is enabled by default and uses the built-in spotatui application ID, so no extra setup is required.
Overrides (optional):
behavior:
enable_discord_rpc: true
discord_rpc_client_id: "your_client_id"
You can also override via SPOTATUI_DISCORD_APP_ID or disable in the setting or by setting behavior.enable_discord_rpc: false in ~/.config/spotatui/config.yml.
This app uses the Web API from Spotify, which doesn't handle streaming itself. You have three options for audio playback:
If you want to play tracks, Spotify requires that you have a Premium account.
Note: As of November 2024, Spotify deprecated and removed access to certain API endpoints for new applications. The following features are included in this app but will only work if your Spotify Developer application was created before November 27, 2024:
Audio Visualization (press v): Now uses local real-time FFT analysis of your system audio. The visualization no longer depends on Spotify's deprecated Audio Analysis API.
Platform Support:
| Platform | Status | Notes |
|---|---|---|
| Windows | Works out of the box | Uses WASAPI loopback |
| Linux | Works out of the box | Uses PipeWire/PulseAudio monitor devices |
| macOS | Requires setup | Needs a virtual audio device (see below) |
macOS Users: macOS doesn't natively expose system audio loopback. To use audio visualization, install a virtual audio device like BlackHole (free) or Loopback (paid). Configure it to capture system audio and set it as your default input device.
Note: The audio visualization is system-wide - it captures all audio playing on your system, not just Spotify. This means it will also react to YouTube videos, games, or any other audio source!
Related Artists: When viewing an artist page, the "Related Artists" section shows similar artists based on Spotify's recommendation algorithm. This feature only works if your Spotify Developer application was created before November 27, 2024.
For more information, see Spotify's announcement about API changes.
Note: If you're using native streaming, you don't need spotifyd!
Follow the spotifyd documentation to get set up.
After that there is not much to it.
spotatuid to go to the device selection menu and the spotifyd "device" should be there - if not check these docsxorg-dev (required for clipboard support)# Debian/Ubuntu
sudo apt-get install libpipewire-0.3-dev libspa-0.2-dev
# Arch Linux
sudo pacman -S pipewire
# Fedora
sudo dnf install pipewire-devel
cd to itcargo runSee CONTRIBUTING.md for pull request guidelines.
You might get a linking error. If so, you'll probably need to install additional dependencies required by the clipboard package
sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
Maintained by LargeModGames.
Originally forked from spotify-tui by Alexander Keliris.
Looking for contributors! spotatui is actively maintained but could use your help. Whether it's bug fixes, new features, documentation, or testing - all contributions are welcome!
LargeModGames π» π π§ π€ π β οΈ |
MysteriousWolf π» |
rawcode1337 π» π |
copeison π¦ |
jacklorusso π |
H41L33 π |
Want to see your name here? Check out our open issues or the Roadmap below!
Thanks to all the contributors who built the original spotify-tui that this project is forked from:
This project follows the all-contributors specification. Contributions of any kind welcome!
The goal is to eventually implement almost every Spotify feature.
High-priority features:
See the Roadmap Wiki for the full API coverage table.