This is a Rust project that implements a Spotify client within your terminal. It allows you to browse and interact with Spotify directly from the command line.
In order for spoify
to work it needs to be connected to Spotify's API.
- Go to the Spotify dashboard
- Click
Create an app
- You now can see your
Client ID
andClient Secret
- You now can see your
- Now click
Edit Settings
- Add
http://localhost:8888/callback
to the Redirect URIs - Scroll down and click
Save
- You are now ready to authenticate with Spotify!
- Enter you
Client ID
andClient Secret
. - Run
spoify
- You will be redirected to an official Spotify webpage to ask you for permissions.
- After accepting the permissions, you'll be redirected to localhost. You'll be redirected to a blank webpage that might say something like "Connection Refused" since no server is running. Regardless, copy the URL and paste into the prompt in the terminal.
There we go, now you can use spoify
.
First, install Rust (using the recommended rustup
installation method) and then
cargo install spoify
This method will build the binary from source.
To update, run the same command again.
You can go to the configure folder and change the theme, keybindings and other related settings of the application.
If you are downloading using cargo, it will be in your .cargo\registry
folder.
This app uses the Web API from Spotify, which doesn't handle streaming itself. So you'll need an official Spotify app open in order to play tracks.
If you want to play tracks or control the playback part, Spotify requires that you have a Premium account.