Use this CLI tool to control your Spotify player. Build with Node.js, n8n, and a lot of music!
-
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.
- Clone the repository
git clone https://github.com/harshil1712/spotify-cli-n8n.git
- Install the node modules
yarn install
or
npm install
- Rename the .env.example to .env
- Copy and paste your Webhook URL from n8n in the .env file and save the file
- Open a terminal in the project directory and run the following command to add it to your global npm packages
npm link
▶️ Play a song in the queue- ⏸ Pause a song
- ⏭ Play the next song in the queue
- ⏮ Play the previous song in the queue
- ℹ️ Get the name of the current song in the queue
If you would like to contribute to the project please check out the contributing docs.
- Play song from the given song name
- Select and play a playlist
- Play songs from an album
- Use TypeScript