Skip to content
/ music-box Public

🎧 Get your last weeks listening report from last.fm in a GitHub Gist.

License

Notifications You must be signed in to change notification settings

jacc/music-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music-box

Update a gist to contain your weekly plays on Last.fm


📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

✨ Inspiration

This code was heavily inspired by @JohnPhamous's strava-box.

🎒 Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Create a Last.fm Application (https://www.last.fm/api/account/create)
  4. Copy the API token

🖥 Project Setup

  1. Fork this repo
  2. Go to your fork's Settings > Secrets > Add a new secret for each environment secret (below)

🤫 Environment Secrets

  • GIST_ID: The ID portion from your gist url https://gist.github.com/<github username>/6d5f84419863089a167387da62dd7081.
  • GH_TOKEN: The GitHub token generated above.
  • LASTFM_KEY: The API key you got from creating a Last.fm API account.
  • LFMUSERNAME: Your Last.fm username.

💸 Donations

Feel free to use the GitHub Sponsor button to donate towards my work if you're feeling generous <3

About

🎧 Get your last weeks listening report from last.fm in a GitHub Gist.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published