This tool combines three scalable vector graphics (SVG) images from three sources
https://github-readme-stats.vercel.app/api?[…stats-query…]
of @anuraghazra/github-readme-statshttps://github-readme-stats.vercel.app/api/top-langs?[…languages-query…]
of @anuraghazra/github-readme-statshttps://github-profile-trophy.vercel.app/?[…trophies-query…]
of @ryo-ma/github-profile-trophy
via a single query https://github-stats-combinator.vercel.app/api?[…query…]
, for
[…query…] := stats=UrlEncode([…stats-query…])&languages=UrlEncode([…languages-query…])&trophies=UrlEncode([…trophies-query…])
where UrlEncode
maps strings to their URL-encoded variant.
For example,
was combined from
- https://github-readme-stats.vercel.app/api?[…stats-query…], for
[…stats-query…] := username=xamidi&show_icons=true&theme=radical&include_all_commits=true&hide_border=true
- https://github-readme-stats.vercel.app/api/top-langs/?[…languages-query…], for
[…languages-query…] := username=xamidi&layout=donut-vertical&theme=radical&langs_count=4&hide_border=true
- https://github-profile-trophy.vercel.app/?[…trophies-query…], for
[…trophies-query…] := username=xamidi&theme=radical&column=3&margin-w=9&margin-h=9&title=MultiLanguage,LongTimeUser,Commits
via https://github-stats-combinator.vercel.app/api?[…query…], for
[…query…] := stats=username%3Dxamidi%26show_icons%3Dtrue%26theme%3Dradical%26include_all_commits%3Dtrue%26hide_border%3Dtrue&languages=username%3Dxamidi%26layout%3Ddonut-vertical%26theme%3Dradical%26langs_count%3D4%26hide_border%3Dtrue&trophies=username%3Dxamidi%26theme%3Dradical%26column%3D3%26margin-w%3D9%26margin-h%3D9%26title%3DMultiLanguage%2CLongTimeUser%2CCommits
I recommend to request images that fit the predefined container dimensions, such as via
column=3&margin-w=9&margin-h=9&title=MultiLanguage,Experience,Commits
for […trophies-query…]
, and to query the SVG from your username/username
repository's README.md
like
<p align="center">
<img width="776" height="352" alt="[username's GitHub stats - refresh to load image]" src="https://github-stats-combinator.vercel.app/api?[…query…]">
</p>
in order to handle cases where the github-stats-combinator.vercel.app
deployment went into "light sleep" due to inactivity (see issue #1).