/music-box

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

Primary LanguageJavaScriptApache License 2.0Apache-2.0

東京事倉                   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘    12 plays
hitorie                    β–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     6 plays
Otaku Ongaku               β–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     5 plays
γƒ’γƒˆγƒͺエ                   β–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     3 plays
Strawberry Girls           β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     2 plays
The Weeknd                 β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     2 plays
tofubeats                  β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     2 plays
ζˆ‘ζ˜―ζ©Ÿθ»Šε°‘ε₯³               β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     2 plays
θ‰ζ±ζ²’ζœ‰ζ΄Ύε°               β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘     2 plays
Aimer with chelly (EGOIST  ▍░░░░░░░░░░░░░░░░     1 plays

πŸ“Œβœ¨ 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>/XXXXXXXXXXXXXXXXX.
  • 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