All Projects â†’ ersel â†’ Spotify Cli Mac

ersel / Spotify Cli Mac

Licence: mit
🎶 A nodejs app to control Spotify without leaving your terminal. 🎶

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Spotify Cli Mac

mute-spotify-ads-mac-osx
Mute Mac (osx) computer audio when Spotify plays an AD
Stars: ✭ 78 (-41.79%)
Mutual labels:  mac, spotify
Dev Setup
macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
Stars: ✭ 5,590 (+4071.64%)
Mutual labels:  cli, mac
Eiskaltdcpp
File sharing program using DC and ADC protocols
Stars: ✭ 277 (+106.72%)
Mutual labels:  cli, mac
You Dont Need Gui
Stop relying on GUI; CLI **ROCKS**
Stars: ✭ 4,766 (+3456.72%)
Mutual labels:  cli, mac
M Cli
 Swiss Army Knife for macOS
Stars: ✭ 8,646 (+6352.24%)
Mutual labels:  cli, mac
Singlespotify
🎵 Create Spotify playlists based on one artist through the command line
Stars: ✭ 254 (+89.55%)
Mutual labels:  cli, spotify
Spotify Cli Linux
🎶 A command line interface to Spotify on Linux
Stars: ✭ 443 (+230.6%)
Mutual labels:  cli, spotify
Spotctl
A command-line interface to Spotify, written in Go
Stars: ✭ 237 (+76.87%)
Mutual labels:  cli, spotify
Spotify Tui
Spotify for the terminal written in Rust 🚀
Stars: ✭ 11,061 (+8154.48%)
Mutual labels:  cli, spotify
Harmony
🎵 Sleek music player for Spotify, SoundCloud, Google Play Music and your local files
Stars: ✭ 841 (+527.61%)
Mutual labels:  spotify, mac
Musicnow
CLI tool to download songs with metadata.
Stars: ✭ 146 (+8.96%)
Mutual labels:  cli, spotify
Carol Xamarin
A minimal and beautiful lyrics app for macOS built with Xamarin and C#
Stars: ✭ 97 (-27.61%)
Mutual labels:  spotify, mac
Spotui
Spotify in the terminal 💻🎶
Stars: ✭ 302 (+125.37%)
Mutual labels:  cli, spotify
Nord Iterm2
An arctic, north-bluish clean and elegant iTerm2 color scheme.
Stars: ✭ 651 (+385.82%)
Mutual labels:  cli, mac
Reminders Cli
Command-line interface to interact with the Reminders.app
Stars: ✭ 67 (-50%)
Mutual labels:  cli, mac
Ytmdl
A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
Stars: ✭ 2,070 (+1444.78%)
Mutual labels:  cli, spotify
Yt Audio
A simple, configurable youtube-dl wrapper to download and manage youtube audio
Stars: ✭ 132 (-1.49%)
Mutual labels:  cli
Ink Link
Link component for Ink
Stars: ✭ 133 (-0.75%)
Mutual labels:  cli
The Way
A command line code snippets manager
Stars: ✭ 132 (-1.49%)
Mutual labels:  cli
Github Default Branch
Rename your default branch on GitHub
Stars: ✭ 132 (-1.49%)
Mutual labels:  cli

🎶 Spotify Client for Mac OS X 🎶

A nodejs app to control Spotify without leaving your terminal. Only works with Mac Os as it relies on AppleScript behind the scenes to communicate with the Spotify app.

Installation

npm install spotify-cli-mac -g

Client will be available under the alias spotify

Set-up

In order to use the client, you'll need to set Spotify Credentials. You can do this by going to developer dashboard and then creating a new application.

Once you have created a new Spotify Application, just run the Spotify CLI with spotify token command to set your tokens.

Demo

asciicast

Usage

spotify

Commands:

search|s <type> [query...]  Search for a <track (t) | artist (ar) | album (al) | playlist (p) > (searches tracks by default)
playlist|pl [username]      Get user's public playlists, by default use username in config.json
recommend|rec               Recommend other songs based on the song currently playing.

info|i                      Display information about the current track along with player status
play [uri]                  Continue playing current track or play the track with the provided URI
pause                       Pause the current track
next|n                      Play the next track in the queue
back|b                      Play the previous track
mute|m                      Mute player
unmute|u                    Unmute player
volume|v                    Display player volume
+ [deltaVolume]             Turn the volume up by given amount (0-100), default:10
- [deltaVolume]             Turn the volume down by given amount (0-100), default:10
p                           Toggle play/pause
replay|r                    Replay current track
position|pos [newPosition]  Get or set player position [mm:ss], e.g: pos 1:23
quit|q                      Quit Spotify :(
open|o                      Open Spotify :)
shuffle|ts                  Toggle shuffle on/off
repeat|tr                   Toggle repeat on/off
share|sh [type]             Display share <uri|url> and copy value to clipboard
token|tk                    Change Client Spotify tokens
user|me                     Set Spotify Username
lyrics|ly                   Display the lyrics of currently playing track

Options:

-h, --help     output usage information
-V, --version  output the version number

Displaying Lyrics

In order to be able to use the lyrics command, you will need to get a Client Access Token for the Genius API. Sign up for API access here: https://genius.com/api-clients

Once you have your client access token, edit the ~/.spotify-cli-config.json with GeniusAPIClientKey key

Example

{
  "spotifyClientID": "XXXXXXX",
  "spotifyClientSecret": "XXXXXXX",
  "spotifyUsername": "XXXXXXX",
  "GeniusAPIClientKey": "XXXXXXX"
}

Displaying Album artwork

Album artwork will also be displayed if you're using iTerm 2.9+.

Contributions and feedback are welcome and encouraged!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].