Skip to content

jesusgoku/spotify-discover-weekly-backup-go

Repository files navigation

Spotify: "Discover Weekly" playlist backup

Backup Discover Weekly playlist.

Setup

# Complete your .env file or export vars to environment
cp .env.dist .env

Usage

# Obtain ACCESS_TOKEN and REFRESH_TOKEN and copy to .env file
go run ./cmd/credentials


# Backup your playlist
go run ./cmd/backup

Build

# Obtain credentials
go build -o bin/credentials ./cmd/credentials
./bin/credentials

# Backup playlist
go build -o bin/backup cmd/backup/main.go
./bin/backup

Run with Docker

docker-compose run [credentials|backup]

Tests

go test ./cmd/backup

About

Backup your "Discover Weekly" playlist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published