Spotify Client which runs in the terminal.
- Linux/MacOS operating system
- Google Chrome browser installed
- Premium Spotify Account
- Created Spotify Application under https://beta.developer.spotify.com/dashboard/applications (set redirect URI to http://localhost:8888/spotify-cli)
Go to https://beta.developer.spotify.com/dashboard/applications, find created earlier Spotify Application, find Client ID and Client Secret, and put them in environment variables
export SPOTIFY_CLIENT_ID=xxxxxxxxxxxxx
export SPOTIFY_SECRET=yyyyyyyyyyyyyyyy
- Download release for your OS/architecture under https://github.com/jedruniu/spotify-cli/releases
- Unpack it (i.e. with
tar -xvf spotify-cli_1.0.1_Darwin_x86_64.tar spotify
) - Run it (
./spotify-cli
)
- Go language installed (version 1.12 or higher)
- Clone this repository outside your GOPATH, and cd into it.
- Build application
make build
- Run application
./bin/spotify-cli
make test
Before releasing set GITHUB_TOKEN environment variable and run:
make release
Unfortunately for releases to work files generated by packr are added to repo.