https://github.com/jeromelachaud/last-slack
Send your scrobbled tracks from Last.fm to a Slack WebHook
https://github.com/jeromelachaud/last-slack
lastfm-api node slack-api
Last synced: 3 months ago
JSON representation
Send your scrobbled tracks from Last.fm to a Slack WebHook
- Host: GitHub
- URL: https://github.com/jeromelachaud/last-slack
- Owner: jeromelachaud
- Created: 2019-05-03T14:02:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2026-03-20T17:47:19.000Z (3 months ago)
- Last Synced: 2026-03-21T09:03:51.260Z (3 months ago)
- Topics: lastfm-api, node, slack-api
- Language: JavaScript
- Homepage: https://jeromelachaud.com/last-slack
- Size: 1.08 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# last-slack
Script for sending the currently playing track on Last.fm to a Slack WebHook.\
Inspired by [last-slack](https://github.com/DekodeInteraktiv/last-slack) ❤️
cd
_Note: It will not send the track currently playing, only the last one played._
## Requirements
- [Node.js](http://nodejs.org/)
- An API key from Last.fm (found in [your API accounts](http://www.last.fm/api/accounts))
- An Incoming WebHook integration with your Slack account (see the [integrations](https://slack.com/services) page for more details)
## Installation
Install the requirements.
```shell
npm install
```
Copy the **.env-example** file to **.env** and change the Last.fm & Slack settings.
```shell
cp .env-example .env
```
## Usage
```shell
node index.js michaelenger
```
Use `--quiet` to prevent sending a message to Slack. The songs will still be shown in the terminal.
```shell
node index.js --quiet michaelenger
```
## License
MIT