No description
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| .woodpecker | ||
| src | ||
| .gitignore | ||
| .npmignore | ||
| .npmrc | ||
| biome.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| serverless.yml | ||
| tsconfig.json | ||
Last.fm Mastodon Poster
Very simple node.js app that queries Last.FM for a user's top artists and posts them in the form
Top artists this week: ArtistA (90), ArtistB (31), ArtistC (27), and ArtistD (18)
(via http://last.fm/user/[username])
Run the app with npm run start -- [initialArtistCount] [lastFmTimePeriod].
e.g npm run start -- 6 7day
.env setup:
MASTODON_ACCESS_TOKEN=AAA
MASTODON_API_URL='https://mastodon.social/api/v1/'
LASTFM_TOKEN=BBB
LASTFM_SECRET=CCC
LASTFM_USER_NAME=DDD