Spotify for the terminal written in Rust
Connecting to Spotify’s API
spotify-tui needs to connect to Spotify’s API in order to find music by
name, play tracks etc.
Instructions on how to set this up will be shown when you first run the app.
But here they are again:
- Go to the Spotify dashboard https://developer.spotify.com/dashboard/applications
Create a Client IDand create an app
- Now click
http://localhost:8888/callbackto the Redirect URIs - you don't need anything running on localhost, it will still work
- You are now ready to authenticate with Spotify!
- Go back to the terminal
- Enter your
- Enter your
- You will be redirected to an official Spotify webpage to ask you for permissions.
- After accepting the permissions, you'll be redirected to localhost (blank webpage, might say something like "Connection Refused" since no server is running), copy the URL and paste into the prompt in the terminal.
And now you are ready to use the
You can edit the config at anytime at
The binary is named
? to bring up a help menu that shows currently implemented key events and their actions.
This app uses the Web API from Spotify, which doesn't handle streaming itself. So you'll need either an official Spotify client open or a lighter weight alternative such as spotifyd - https://github.com/Spotifyd/spotifyd
If you want to play tracks, Spotify requires that you have a Premium account.
Built with ♥️ from the Spotify TUI upstream source at https://github.com/Rigellute/spotify-tui