/socialfm

A tool to post your most listened tracks and/or artists from Last.FM onto the fediverse.

Primary LanguageTypeScriptISC LicenseISC

#socialfm

A tool to post your most listened tracks and/or artists from Last.FM on the fediverse.

Setup

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.

Installing and Running

Run npm i to install and npm start to compile and run the thing.

How do I make it recurrent?

Use cron or something similar to task scheduler to run this thing.

Hacking at it

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.

License

ISC

Contributing

I'm not that into it, but we can talk...