Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 10, 2020 07:44 am GMT

Dynamically Generated Github Stats For Your Profile ReadMe

Hey guys! i hope you are doing well.

Yesterday after seeing that lot of people on twitter are creating their Github profile Readmes i thought i should do something cool & unique, so i created this ->

Github Readme Stats

GitHub logo anuraghazra / github-readme-stats

Dynamically generated stats for your github readmes

Github Readme stats

Get dynamically generated GitHub stats on your readmes!

Features

Github Stats Card

Copy paste this into your markdown content, and that's it. Simple!

change the ?username= value to your GitHubs's username

![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)

Psst, you can also use this code so that github-readme-stats gets proper credit :D and other people can also try it out!

[![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats)

Hiding individual stats

To hide any specific stats, you can pass a query parameter ?hide= with an array of items, you wanna hide.

Options: &hide=["stars","prs","issues","contribs"]

![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&hide=["contribs","prs"])

Showing icons

To enable icons, you can pass show_icons=true in the query param like so

![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true)

Other options:

  • &hide_border=true hide the border box if you don't like it :D.
  • &line_height=30 control the line-height between text.

Demo

Github readme stats allows you to simply add a markdown image link and it will show you realtime stats for your github account.

![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)

And the cool thing is since it's just an image you can embed it anywhere even on Dev.to posts!

Live Demo:

Anurag's github stats

Pretty neat isn't it? Try it out right now on your profile readme too! :D

After seeing that people liked the Github Stats Card idea i created Github Extra Pins

Github Extra Pins

Github extra pins allows you to pin more than 6 repositories in your profile by using github readme profile.

Yey! you are no longer limited to 6 pinned repos

[![Dev.to](https://github-readme-stats.vercel.app/api/pin/?username=thepracticaldev&repo=dev.to)](https://github.com/thepracticaldev/dev.to)

Live demo:
Dev.to

Check out the docs to learn more

That's it :D
I hope you guys liked the project. And make sure to give it a star on Github

Tweets

Github Stat Card

Github Extra Pins


Original Link: https://dev.to/anuraghazra/dynamically-generated-github-stats-for-your-profile-readme-o4g

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To