Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacc/music-box
🎧 Get your last weeks listening report from last.fm in a GitHub Gist.
https://github.com/jacc/music-box
awesome-pinned-gists gistbox github-gist pinned-gist
Last synced: 8 days ago
JSON representation
🎧 Get your last weeks listening report from last.fm in a GitHub Gist.
- Host: GitHub
- URL: https://github.com/jacc/music-box
- Owner: jacc
- License: apache-2.0
- Created: 2019-06-25T19:26:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T00:10:49.000Z (over 1 year ago)
- Last Synced: 2024-05-02T01:46:10.818Z (6 months ago)
- Topics: awesome-pinned-gists, gistbox, github-gist, pinned-gist
- Language: JavaScript
- Homepage:
- Size: 566 KB
- Stars: 107
- Watchers: 4
- Forks: 77
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-pinned-gists - music-box - Update a pinned gist to contain your weekly listening report on Last.fm. (External Services)
- awesome-starred - music-box - 🎧 Get your last weeks listening report from last.fm in a GitHub Gist. (JavaScript)
README
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](https://github.com/JohnPhamous/strava-box).## 🎒 Prep Work
1. Create a new public GitHub Gist (https://gist.github.com/)
1. Create a token with the `gist` scope and copy it. (https://github.com/settings/tokens/new)
1. Create a Last.fm Application (https://www.last.fm/api/account/create)
1. 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//`**`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