Skip to content

Control your Spotify Player with the CLI 🎧 Built using n8n.io, and Node.js

License

Notifications You must be signed in to change notification settings

harshil1712/spotify-cli-n8n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-cli-n8n

Use this CLI tool to control your Spotify player. Build with Node.js, n8n, and a lot of music!

Getting Started 🚀

Prerequisites

  • This CLI tool is built with Node.js. Install Node.js to get started.

  • Copy the workflow from n8n.io and use it in your n8n instance.

Follow the instructions in the documentation to configure your credentials for the Spotify node.

  1. Clone the repository
git clone https://github.com/harshil1712/spotify-cli-n8n.git
  1. Install the node modules
yarn install

or

npm install
  1. Rename the .env.example to .env
  2. Copy and paste your Webhook URL from n8n in the .env file and save the file
  3. Open a terminal in the project directory and run the following command to add it to your global npm packages
npm link

Features ✨

  1. ▶️ Play a song in the queue
  2. ⏸ Pause a song
  3. ⏭ Play the next song in the queue
  4. ⏮ Play the previous song in the queue
  5. ℹ️ Get the name of the current song in the queue

Contribute 🤝

If you would like to contribute to the project please check out the contributing docs.

To Do 💡

  • Play song from the given song name
  • Select and play a playlist
  • Play songs from an album
  • Use TypeScript

About

Control your Spotify Player with the CLI 🎧 Built using n8n.io, and Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published