GitHub Readme Last.fm Stats
Dynamically generated last.fm stats in your profile readme

Contents
Usage
To embed in your readme:

or
<img src="https://github-readme-lastfm-stats.netlify.app/.netlify/functions/card?user=USERNAME&OPTIONS"
The latter will allow you to better format the card (ex. align="center")
Options
| Option |
Example |
Description |
| user |
user=st-silver |
(required) The user to fetch info for |
| theme |
theme=light (default)
theme=dimmed
theme=dark |
(optional) The theme of the card. See the demo below to see how they look |
| show_scrobbles |
show_scrobbles=false (default)
show_scrobbles=true |
(optional) Selects whether or not to show scrobble count |
Demo
https://github-readme-lastfm-stats.netlify.app/.netlify/functions/card?user=st-silver

https://github-readme-lastfm-stats.netlify.app/.netlify/functions/card?user=st-silver&theme=dimmed

https://github-readme-lastfm-stats.netlify.app/.netlify/functions/card?user=st-silver&theme=dark

https://github-readme-lastfm-stats.netlify.app/.netlify/functions/card?user=st-silver&show_scrobbles=true

https://github-readme-lastfm-stats.netlify.app/.netlify/functions/card?user=st-silver&theme=dimmed&show_scrobbles=true

https://github-readme-lastfm-stats.netlify.app/.netlify/functions/card?user=st-silver&theme=dark&show_scrobbles=true

Development & Deployment
Developing and deploying this project requires setting an environment variable that holds your last.fm API key. See here to find out how to get an API account.
export LASTFM_STATS_KEY=your_key_here
This also needs to be done on your deployment platform of choice. For Netlify, this can be done under Site Settings > Build & deploy > Environment.
Issues, Requests, and Contributing
Found an issue or have a feature request? Create a new one here and I will take a look at it ASAP. Please give as much detail as possible in your commment.
Like the project and want to lend a hand? Just make a pull request and I'll take a look.