No description
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Renovate Bot 9fbe7df8b2
Some checks failed
ci/woodpecker/push/main Pipeline failed
Deploy to AWS Lambda / deploy (push) Has been cancelled
Update dependency @types/node to v26.6.11 (#484)
2026-11-28 21:05:15 -05:00
.forgejo/workflows Update actions/setup-node action to v7.1.0 (#466) 2026-10-10 09:44:03 -04:00
.woodpecker Update docker.io/nikolaik/python-nodejs:python3.12-nodejs22-slim Docker digest to 0555ee1 (#476) 2026-11-14 08:54:07 -05:00
src Update dependency masto to v8 (#447) 2026-08-01 09:36:38 -04:00
.gitignore use serverless for gh actions (#10) 2021-05-01 09:00:09 -04:00
.npmignore use serverless for gh actions (#10) 2021-05-01 09:00:09 -04:00
.npmrc update npm, env setup (#8) 2021-04-30 17:17:59 -04:00
biome.json Update dependency @biomejs/biome to v2.4.2 (#396) 2026-02-21 13:47:52 +00:00
package-lock.json Update dependency @types/node to v26.6.11 (#484) 2026-11-28 21:05:15 -05:00
package.json Update dependency @types/node to v26.6.11 (#484) 2026-11-28 21:05:15 -05:00
README.md Update README.md 2022-12-17 21:07:59 -05:00
renovate.json Update dependency @biomejs/biome to v2.4.2 (#396) 2026-02-21 13:47:52 +00:00
serverless.yml more file reorg (#166) 2024-07-07 21:55:55 +00:00
tsconfig.json Update dependency @biomejs/biome to v2.4.2 (#396) 2026-02-21 13:47:52 +00:00

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