Skip to content

gappjust/badges-lastfm

 
 

Repository files navigation

Markdown Badges for LastFM

Last Played Song

Displays the last played song scrobbled on Last.fm for a user.

![](https://badges.lastfm.workers.dev/last-played?user=rj)

Customization

Badges are rendered using Shields.io service and allow customizations as documented under Styles section at Shields.io.

Examples

Style

![](https://badges.lastfm.workers.dev/last-played?user=rj&style=for-the-badge)

Color

![](https://badges.lastfm.workers.dev/last-played?user=rj&color=blue)

Label

![](https://badges.lastfm.workers.dev/last-played?user=rj&label=Last%20Song)

Deploy as Cloudflare Worker

Disclaimer

I use this service for my profile at github.com. Currently, the service is hosted on a free tier of Cloudflare Workers and limited at 100K requests per day. If you need a stable service, please consider hosting it under your account.

Deploy to Cloudflare Workers

LastFM API Key

Create a secret LASTFM_API_KEY for the Cloudflare Worker to use the LastFM APIs.

Fixes & Improvements

Head over to the issues tab at github.com 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.

About

Markdown Badges for LastFM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%