MichaelCurrin / badge-generator

Magically generate Markdown badges for your docs 🛡️ 🦡 🧙
https://michaelcurrin.github.io/badge-generator/
MIT License
362 stars 108 forks source link

Add GH stats generator page #42

Open MichaelCurrin opened 3 years ago

MichaelCurrin commented 3 years ago

e.g.

GitHub Readme Stats

[![GitHub Readme Stats](https://github-readme-stats.vercel.app/api?username=MichaelCurrin&show_icons=true)](https://github.com/anuraghazra/github-readme-stats)
MichaelCurrin commented 3 years ago

Sample output code


<a href="https://github.com/MartinHeinz/MartinHeinz">
  <img align="center" src="https://github-readme-stats.vercel.app/api/top-langs/?username=MartinHeinz&hide=java,html&title_color=ffffff&text_color=c9cacc&icon_color=2bbc8a&bg_color=1d1f21" />
</a>
<a href="https://github.com/MartinHeinz/MartinHeinz">
  <img align="center" src="https://github-readme-stats.vercel.app/api?username=MartinHeinz&show_icons=true&line_height=27&count_private=true&title_color=ffffff&text_color=c9cacc&icon_color=2bbc8a&bg_color=1d1f21" alt="Martin's GitHub Stats" />
</a>

<a href="https://github.com/MartinHeinz/python-project-blueprint">
  <img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=MartinHeinz&repo=python-project-blueprint&title_color=ffffff&text_color=c9cacc&icon_color=2bbc8a&bg_color=1d1f21" />
</a>

<a href="https://github.com/MartinHeinz/go-project-blueprint">
  <img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=MartinHeinz&repo=go-project-blueprint&title_color=ffffff&text_color=c9cacc&icon_color=2bbc8a&bg_color=1d1f21" />
</a>    

Sample output

Martin's GitHub Stats

MichaelCurrin commented 3 years ago

My own.

The list just gets shorter from 4 to 3 if you exclude, it doesn't show the next one it seems.

hide=html,make

Michael's GitHub Stats

MichaelCurrin commented 3 years ago

Make sure to add alt text too for a11y

MichaelCurrin commented 2 years ago

Only input needed username. And for project-specific badges the repo name.