spo-cli
v1.0.4
Published
Spotify Client for command line
Downloads
131
Readme
spo-cli
A simple Node.JS program to control current playback
Requirements
- Node version >= Node v20
Installation
📦From npm
Run npm install -g spo-cli
📃From source
If you want to run it from source, downlaod it simply install all dependencies with npm/yarn (with yarn install
).
❓How does it work
The program needs to connect to Spotify API so it needs a valid access token provided after via the Spotify.com website. An ExpressJS web server is disposed in order to recieve the token and the program itself (after having checked its validity) use it to control the playback. If the token is not valid anymore, the user is prompted to authorization again
⚙️Commands
The syntax is pretty simple. It's node app.js
or spo-cli
(if installed from npm) followed by one of the next arguments. If you grabbed the binaries, execute the program with one of the next arguments.