mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-15 18:13:15 -06:00
32 lines
1007 B
Markdown
32 lines
1007 B
Markdown
# spotify-player-quickauth
|
|
|
|
A simple CLI-based application for creating a `credentials.json` file, used by the [spotify-player][spotify-player] library, for authenticating with the Spotify API.
|
|
|
|
## Usage
|
|
|
|
You can install this applicaiton, but most people will just need it once.
|
|
|
|
For Linux and macOS, you can paste this command into your terminal:
|
|
|
|
```bash
|
|
curl -sSL https://raw.githubusercontent.com/Xevion/spotify-player-quickauth/refs/heads/master/run.sh | sh
|
|
```
|
|
|
|
For Windows, you can paste this command into PowerShell:
|
|
|
|
```powershell
|
|
iex (irm "https://raw.githubusercontent.com/Xevion/spotify-player-quickauth/refs/heads/master/run.ps1")
|
|
```
|
|
|
|
## Building from Source
|
|
|
|
Don't want to run my funky shell script? No problem! You can build the application from source easily.
|
|
|
|
```bash
|
|
git clone https://github.com/Xevion/spotify-player-quickauth.git
|
|
cd spotify-player-quickauth
|
|
cargo build --release
|
|
./target/release/spotify-player-quickauth
|
|
```
|
|
|
|
[spotify-player]: https://github.com/aome510/spotify-player |