{"id":13476081,"url":"https://github.com/abskmj/badges-lastfm","last_synced_at":"2025-03-26T22:30:56.502Z","repository":{"id":42719851,"uuid":"287785759","full_name":"abskmj/badges-lastfm","owner":"abskmj","description":"Markdown Badges for LastFM","archived":false,"fork":false,"pushed_at":"2023-03-05T11:27:12.000Z","size":122,"stargazers_count":11,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T14:22:24.970Z","etag":null,"topics":["badges","cloudflare","cloudflare-workers","github","lastfm","markdown","markdown-badges","readme","shieldsio"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abskmj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-15T16:40:33.000Z","updated_at":"2024-11-15T00:54:47.000Z","dependencies_parsed_at":"2024-10-30T06:30:34.204Z","dependency_job_id":null,"html_url":"https://github.com/abskmj/badges-lastfm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abskmj%2Fbadges-lastfm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abskmj%2Fbadges-lastfm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abskmj%2Fbadges-lastfm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abskmj%2Fbadges-lastfm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abskmj","download_url":"https://codeload.github.com/abskmj/badges-lastfm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245747507,"owners_count":20665802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["badges","cloudflare","cloudflare-workers","github","lastfm","markdown","markdown-badges","readme","shieldsio"],"created_at":"2024-07-31T16:01:26.399Z","updated_at":"2025-03-26T22:30:56.232Z","avatar_url":"https://github.com/abskmj.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Markdown Badges for LastFM\n## Last Played Song\nDisplays the last played song scrobbled on [Last.fm](https://www.last.fm) for a user.\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj)\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj)\n\n# Customization\nBadges are rendered using [Shields.io](https://shields.io/) service and allow customizations as documented under `Styles` section at [Shields.io](https://shields.io/).\n\n## Examples\n\n### Style\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj\u0026style=for-the-badge)\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj\u0026style=for-the-badge)\n\n### Color\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj\u0026color=blue)\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj\u0026color=blue)\n\n### Label\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj\u0026label=Last%20Song)\n```\n![](https://badges.lastfm.workers.dev/last-played?user=rj\u0026label=Last%20Song)\n\n# Deploy as Cloudflare Worker\n## Disclaimer\nI 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.\n\n[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/abskmj/badges-lastfm)\n\n## LastFM API Key\nCreate a secret `LASTFM_API_KEY` for the Cloudflare Worker to use the LastFM APIs.\n- Steps for getting an API key is available at [last.fm](https://www.last.fm/api/authentication).\n- Steps for creating a secret is available at [developers.cloudflare.com](https://developers.cloudflare.com/workers/reference/apis/environment-variables/#environment-variables). \n\n# Fixes \u0026 Improvements\nHead 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.\n\n# Sponsor\nIf you find the project interesting or helpful, please consider sponsoring it at [github.com](https://github.com/abskmj/badges-lastfm).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabskmj%2Fbadges-lastfm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabskmj%2Fbadges-lastfm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabskmj%2Fbadges-lastfm/lists"}