Script for sending the currently playing track on Last.fm to a Slack WebHook.
Inspired by last-slack ❤️
Note: It will not send the track currently playing, only the last one played.
- Node.js
- An API key from Last.fm (found in your API accounts)
- An Incoming WebHook integration with your Slack account (see the integrations page for more details)
Install the requirements.
npm install
Copy the .env-example file to .env and change the Last.fm & Slack settings.
cp .env-example .env
node index.js michaelenger
Use --quiet
to prevent sending a message to Slack. The songs will still be shown in the terminal.
node index.js --quiet michaelenger
MIT