Go to file
Renovate Bot b8cb7e3f78
Deploy to AWS Lambda / deploy (push) Successful in 5m20s Details
chore(deps): lock file maintenance (#53)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz>
Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz>
2023-12-04 01:06:21 -05:00
.gitea/workflows update github url for serverless (#42) 2023-11-13 13:47:50 -05:00
src/functions Fix login args (#24) 2023-10-01 23:19:26 -04:00
typings Switch to masto, update lastfm-njs types (#18) 2023-10-01 19:06:14 -04:00
.eslintignore Switch to masto, update lastfm-njs types (#18) 2023-10-01 19:06:14 -04:00
.eslintrc.cjs fix some paths (#22) 2023-10-01 22:49:40 -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
.prettierignore use serverless for gh actions (#10) 2021-05-01 09:00:09 -04:00
.prettierrc.json Switch to masto, update lastfm-njs types (#18) 2023-10-01 19:06:14 -04:00
README.md Update README.md 2022-12-17 21:07:59 -05:00
handler.ts Fix login args (#24) 2023-10-01 23:19:26 -04:00
package-lock.json chore(deps): lock file maintenance (#53) 2023-12-04 01:06:21 -05:00
package.json chore(deps): update dependency @types/node to v20.10.3 (#52) 2023-12-03 15:03:41 -05:00
renovate.json Update renovate.json (#28) 2023-10-18 11:24:50 -04:00
serverless.yml Update serverless node version (#21) 2023-10-01 19:32:29 -04:00
tsconfig.json fix some paths (#22) 2023-10-01 22:49:40 -04:00

README.md

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