A tool to post your most listened tracks and/or artists from Last.FM on the fediverse.
To setup the whole thing you WILL NEED an Access Token (only if you're gonna use Mastodon or Misskey or Pleroma).
After that put the required info in the files located in the utils/auth
folder, then configure socialfm to your preference on the utils\settings.ts
file to have it run the way you want.
You won't need to touch the index.ts
and other files not mentioned here to have it run.
Run npm i
to install and npm start
to compile and run the thing.
Use cron or something similar to task scheduler to run this thing.
Your main point of interest would be index.ts
file, where the main code resides. There's some extra code (and dirty hacks) in the utils
folder, make sure to check it out if you like having nightmares at night.
I'm not that into it, but we can talk...