Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedrocx486/socialfm
A tool to post your most listened tracks and/or artists from Last.FM on Twitter and/or various fediverse apps.
https://github.com/pedrocx486/socialfm
lastfm mastodon misskey pleroma twitter
Last synced: about 8 hours ago
JSON representation
A tool to post your most listened tracks and/or artists from Last.FM on Twitter and/or various fediverse apps.
- Host: GitHub
- URL: https://github.com/pedrocx486/socialfm
- Owner: pedroCX486
- License: isc
- Created: 2022-05-18T05:49:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T19:39:44.000Z (over 1 year ago)
- Last Synced: 2024-04-13T12:52:31.517Z (7 months ago)
- Topics: lastfm, mastodon, misskey, pleroma, twitter
- Language: TypeScript
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# #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](https://opensource.org/licenses/ISC)
# Contributing
I'm not that into it, but we can talk...