Skip to content

doronbehar/spotifycli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotifycli

CircleCI

A command line interface to manage Spotify playlists.

Build

Build the project using:

CGO_ENABLED=0 go build

Install

To use spotifycli you have to register the application on Spotify's developer platform:

  1. Sign up or login at Spotify Developer Dashboard
  2. Create a new app
  3. In your app settings, add the following Redirect URI (note: use 127.0.0.1 not localhost):
    http://127.0.0.1:8080/callback
    
  4. Set the following environment variables with your app's Client ID and Client Secret:
    export SPOTIFY_ID=xxx
    export SPOTIFY_SECRET=xxx

Usage

Commands

List of available commands:

$ ./spotifycli --help
A command line interface to manage Spotify playlists.

Usage:
  spotifycli [command]

Available Commands:
  add         Add track by name to playlist
  aid         Add track by ID to playlist
  ato         Add currently playing track to playlist
  clear       Remove all tracks from a playlist
  del         Delete a playlist
  help        Help about any command
  list        List tracks in playlist
  login       Login to authenticate Spotify account
  logout      Logout from Spotify account
  new         Create new playlist
  now         Displays the currently playing track
  playlists   Show all playlists
  rm          Remove track from playlist
  search      search tracks, albums, artists, playlists by name
  show        Display information about a track by ID

Flags:
  -h, --help   help for spotifycli

Use "spotifycli [command] --help" for more information about a command.

About

CLI to manage Spotify playlists.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%