https://github.com/abskmj/badges-lastfm
Markdown Badges for LastFM
https://github.com/abskmj/badges-lastfm
badges cloudflare cloudflare-workers github lastfm markdown markdown-badges readme shieldsio
Last synced: about 1 year ago
JSON representation
Markdown Badges for LastFM
- Host: GitHub
- URL: https://github.com/abskmj/badges-lastfm
- Owner: abskmj
- License: mit
- Created: 2020-08-15T16:40:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T11:27:12.000Z (over 3 years ago)
- Last Synced: 2025-03-22T14:22:24.970Z (about 1 year ago)
- Topics: badges, cloudflare, cloudflare-workers, github, lastfm, markdown, markdown-badges, readme, shieldsio
- Language: JavaScript
- Homepage:
- Size: 119 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Markdown Badges for LastFM
## Last Played Song
Displays the last played song scrobbled on [Last.fm](https://www.last.fm) for a user.
```

```

# Customization
Badges are rendered using [Shields.io](https://shields.io/) service and allow customizations as documented under `Styles` section at [Shields.io](https://shields.io/).
## Examples
### Style
```

```

### Color
```

```

### Label
```

```

# Deploy as Cloudflare Worker
## Disclaimer
I use this service for my profile at [github.com](https://github.com/abskmj). Currently, the service is hosted on a free tier of [Cloudflare Workers](https://workers.cloudflare.com/) and limited at 100K requests per day. If you need a stable service, please consider hosting it under your account.
[](https://deploy.workers.cloudflare.com/?url=https://github.com/abskmj/badges-lastfm)
## LastFM API Key
Create a secret `LASTFM_API_KEY` for the Cloudflare Worker to use the LastFM APIs.
- Steps for getting an API key is available at [last.fm](https://www.last.fm/api/authentication).
- Steps for creating a secret is available at [developers.cloudflare.com](https://developers.cloudflare.com/workers/reference/apis/environment-variables/#environment-variables).
# Fixes & Improvements
Head over to the issues tab at [github.com](https://github.com/abskmj/badges-lastfm/issues) to report a bug or suggest an improvement. Feel free to contribute to the code or documentation by creating a pull request.
# Sponsor
If you find the project interesting or helpful, please consider sponsoring it at [github.com](https://github.com/abskmj/badges-lastfm).