Go to file
hazel fbf2c595bb
Initial commit
2023-04-17 16:26:49 -05:00
.gitignore Initial commit 2023-04-17 16:26:49 -05:00
index.js Initial commit 2023-04-17 16:26:49 -05:00
package-lock.json Initial commit 2023-04-17 16:26:49 -05:00
package.json Initial commit 2023-04-17 16:26:49 -05:00
README.md Initial commit 2023-04-17 16:26:49 -05:00

spotify-dl

A command-line wrapper of librespot-js.

Installation

npm install -g git+https://git.gay/h/spotify-dl

Make a file at $XDG_CONFIG_HOME/spotify-dl.conf to specify your login credentials for Spotify, and the path to download music to.

SPOTIFY_USERNAME=example@example.com
SPOTIFY_PASSWORD=password123
DL_PATH="/home/hazy/Music/%album_artist/%album_title/%artist - %title.%ext"

then, simply run spotify-dl <a Spotify URL> to download something from Spotify!