This simple script let's you update your Slack status with the song you're currently listening to via Last.fm - for example using Spotify.
- Clone this repository.
git clone https://github.com/mpociot/lastfm-slack.git
-
Run
composer install
. -
Copy
.env.example
to.env
and configure yourLASTFM_KEY
key,LASTFM_USER
and yourSLACK_TOKEN
. -
Run the script
php statusUpdate.php
-
Listen to some music :)
Last.fm to Slack is free software distributed under the terms of the MIT license.