5

Github GitHub - antonkomarev/github-profile-views-counter: It counts how many ti...

 2 years ago
source link: https://github.com/antonkomarev/github-profile-views-counter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

GitHub Profile Views Counter

Introduction

Try Ÿ HŸPE service as the more robust and feature rich solution.

GHPVС project is proof of concept. This counter designed to be an analytical instrument for you, but not for people who are visiting your profile. It could be used to see profile views dynamics as result of development activity, blogging or taking part in a conference.

It counts how many times your GitHub profile has been viewed and displays them in your profile, for free.

Usage

Cloud solution launched as 100% free experience. Help me cut server costs if you like this service.

If you want to see big numbers in your profile, deploy a standalone solution to draw any views count you want without spamming our server. Everybody knows that any counters could be faked.

A billion fake profile views doesn't make you a very popular person, it makes you a person with a billion number in the counter.

Create GitHub profile repository

GitHub magic will happen as soon as you will create a new repository named equally to your username.

Live demo of my profile repository.

Add counter to GitHub profile

You need to add counter in README.md file in your profile repository via Markdown syntax:

![](https://komarev.com/ghpvc/?username=your-github-username)

NOTE: Don't forget to replace example your-github-username parameter with real value.

Make it personal

Color

You can use any valid HEX color or pick from a predefined set of named colors (blue is the default).

color demo brightgreen

green

yellow

yellowgreen

orange

red

blue

grey

lightgrey

blueviolet

ff69b4

Named color

![](https://komarev.com/ghpvc/?username=your-github-username&color=green)

Hex color

![](https://komarev.com/ghpvc/?username=your-github-username&color=dc143c)

NOTE: HEX colors should be used without # symbol prefix.

Styles

The following styles are available (flat is the default).

style demo flat

flat-square

plastic

![](https://komarev.com/ghpvc/?username=your-github-username&style=flat-square)

Label

You can overwrite default Profile views text with your own label.

![](https://komarev.com/ghpvc/?username=your-github-username&label=PROFILE+VIEWS)

NOTE: Replace whitespace with + character in multi-word labels.

Can I see detailed statistics?

This project provides minimalistic counter only. Use Ÿ HŸPE service if you want to get detailed info about:

  • user profile views
  • user followers history
  • repository stars history
  • repository traffic for longer than 14 days

How to reset counter?

To reset counter you should login to the Ÿ HŸPE service and then you will be able to reset counter on the https://yhype.me/ghpvc page.

Why does the counter increase every time the page is reloaded?

This is counter of profile views (page hits), not a counter of unique visitors. There is no way to get the username, browser user agent or IP address of the visitor because GitHub proxies all image URLs through the GitHub Camo service. In other words, we can only increment the counter for each request from the GitHub proxy server, we don't know who initiated it.

Are you making money on it?

No. Only spending it. Become a sponsor if you want it to keep running & receive new features.

Alternatives

  • Ÿ HŸPE enhanced GitHub professional account statistics & analytics

License

  • GitHub Profile Views Counter application is open-sourced software licensed under the MIT license by Anton Komarev.
  • Eye Octicon hero image licensed under MIT license by GitHub, Inc.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK