Skip to content
🎧 Get your last weeks listening report from last.fm in a GitHub Gist.
JavaScript
Branch: master
Clone or download
Latest commit ee95c1f Sep 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci u Aug 22, 2019
.github Update FUNDING.yml Sep 8, 2019
branding general code cleanup, etc Aug 4, 2019
.DS_Store added screenshot, fixed env that might cause problem Jun 25, 2019
.gitignore fix .gitignore Jun 25, 2019
LICENSE Create LICENSE Aug 22, 2019
README.md Update README.md Sep 8, 2019
index.js Update index.js Aug 25, 2019
package-lock.json πŸŽ‰ initial commit Jun 25, 2019
package.json bump github version Aug 4, 2019
sample.env added screenshot, fixed env that might cause problem Jun 25, 2019

README.md

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. Log into CircleCI with your GitHub (https://circleci.com/vcs-authorize/)
  3. Click on "Add Projects" on the sidebar
  4. Set up a project with the newly created fork
  5. Go to Project Settings > Environment Variables
  6. Add the following environment variables:
  • GIST_ID: The ID portion from your gist url https://gist.github.com/<github username>/6d5f84419863089a167387da62dd7081.
  • GITHUB_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

You can’t perform that action at this time.