Ever wonder how often your GitHub profile gets opened? You can enhance your profile with various GitHub actions, images, badges, etc., but you get little to no feedback from GitHub on how often your profile is interacted with or viewed. The same goes for issues and pull requests, though I'm not sure if a page view counter makes sense there.
Regardless of this, I went in search of a solution for you and found a few. Several one-liners are at your disposal.
How To Add a Page View Counter
No matter which one you use, they all end up being very similar. With a one-liner, the badge is added and from then on every load of the badge counts as a pageview. So you just have to consider if you think the pageview service will persist, so you do not start from 0 again. But I do not have an answer for that. I have decided on one, and let's see how long that lasts. I use the pageviews on my profile only as an indicator of whether it rises, the absolute number interests me only limited I must say.
On my GitHub profile you see a page view counter from antonkomarev/github-profile-views-counter. All I had to do, to add it to my profile was adding this line (Note: I also changed the color with
[![GitHub Views]( )]
Now I have a page view counter on my GitHub profile. That's it. You can get your own counter by adding your username.
![GitHub Views]( )
Thanks, Anton Komarev for creating this!
Alternatives and DYI Solutions
I promised you to present more than one solution because there are several ways to Rome. Here are a few alternatives with the same result.
- Ÿ HŸPE
- Add a visitor count on your GitHub profile with one line of Markdown
- or you create one yourself with the help of this tutorial Quick GitHub profile visit counter
Do you use another one? Let me know in the comments below, please. 👇
Do you like this article? Do you want to support me? Tell your friends on Twitter about it. Thank you!
Questions and Feedback
You got any questions or want to add your thoughts? Let me know in the comments below, please.