Go to file
Renovate Bot 695bbf41b0
Deploy to AWS Lambda / deploy (push) Successful in 5m42s Details
Lock file maintenance (#45)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz>
Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz>
2023-12-04 01:04:39 -05:00
.gitea/workflows Update .gitea/workflows/publish.yml (#35) 2023-11-13 16:22:51 -05:00
src Add tags to the end of the post (#28) 2023-11-04 16:19:03 -04:00
typings Add tags to the end of the post (#28) 2023-11-04 16:19:03 -04:00
.eslintignore Add tags to the end of the post (#28) 2023-11-04 16:19:03 -04:00
.eslintrc.js Add tags to the end of the post (#28) 2023-11-04 16:19:03 -04:00
.gitignore init 2023-02-26 14:11:03 -05:00
.npmignore init 2023-02-26 14:11:03 -05:00
.npmrc init 2023-02-26 14:11:03 -05:00
.prettierignore init 2023-02-26 14:11:03 -05:00
.prettierrc.json init 2023-02-26 14:11:03 -05:00
README.md init 2023-02-26 14:11:03 -05:00
handler.ts Update dependency masto to v6 (#46) 2023-08-07 11:04:58 -04:00
package-lock.json Lock file maintenance (#45) 2023-12-04 01:04:39 -05:00
package.json Update dependency @types/node to v20.10.3 (#44) 2023-12-03 15:02:53 -05:00
renovate.json Update renovate (#18) 2023-10-18 11:23:17 -04:00
serverless.yml Use native fetch (#9) 2023-03-18 10:57:40 -04:00
tsconfig.json init 2023-02-26 14:11:03 -05: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