This is a Last.fm to fediverse (Pleroma) scrobble bridge. You need to get a Last.fm API key and a Pleroma account to use this.
- Clone the repository wherever you need it to be
- Enter the directory it's in
- Edit JSON file to reflect your credentials (see below)
- Install
jq
andcurl
(on Ubuntu it'ssudo apt install jq curl -y
) - Create a cron job that looks like this:
* * * * * cd /wherever/you/cloned/this/fedifm.sh /your/config/file.json
- Enjoy!
The config file should come in the following shape:
{
"lastfm_api": "your lastfm api key here",
"lastfm_user": "your lastfm username here",
"pleroma_instance": "your instance, eg., whatever.com",
"pleroma_bearer": "your bearer token"
}