Dynamically generate a Steam profile stats card for your GitHub README.
Inspired by github-stats-extended and github-readme-stats.
Paste this into your GitHub profile README, replacing YOUR_STEAM_ID with your Steam64 ID:
[](https://steamcommunity.com/profiles/YOUR_STEAM_ID)Don't know your Steam ID? Use your vanity URL name instead:
[](https://steamcommunity.com/id/YOUR_USERNAME)The card shows:
- Avatar — Your Steam profile picture
- Username — Your Steam persona name
- Steam Level — Your Steam level badge
- Games Owned — How many games you own
- Hours Played — Total playtime across all games
Add &theme=light for a light-themed card (default is dark).
[](https://steamcommunity.com/profiles/YOUR_STEAM_ID)- Go to your Steam profile
- Look at the URL:
- Steam64 ID — The 17-digit number:
steamcommunity.com/profiles/76561197960435530 - Vanity URL — Your custom name:
steamcommunity.com/id/anuraghazra
- Steam64 ID — The 17-digit number:
If you don't have a custom URL set, use the numeric Steam64 ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
steamid |
string | No* | Steam64 ID (17-digit number) |
username |
string | No* | Vanity URL name (custom profile URL slug) |
theme |
string | No | Card theme: dark (default) or light |
*You must provide either steamid or username.
Returns an SVG image with Content-Type: image/svg+xml.
MIT