2020-07-18 01:59:39 +03:00
2020-07-12 23:55:43 +03:00
2020-07-13 03:01:10 +03:00
2020-07-13 02:36:09 +03:00
2020-07-11 22:55:19 +03:00
2020-07-12 18:46:42 +03:00
2020-07-12 18:46:42 +03:00
2020-07-18 01:59:39 +03:00
2020-07-12 18:46:42 +03:00
2020-07-11 22:55:19 +03:00
2020-07-17 21:18:34 +03:00

GitHub Profile Views Counter

GitHub Profile Views Counter

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

Profile View Counter Example

Usage

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

My profile repository: https://github.com/antonkomarev/antonkomarev

Cloud application

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

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

Don't forget to replace example username with your own

This service launched as experiment. It is completely free. You can help me cut server costs if you like this service. I don't track any personal information since GitHub proxies all images.

Self-hosted application

Only public/index.php should be exposed.

You need to host this app on your server and display it via Markdown syntax:

![](https://your.application.path/?username=your-github-username)

This URL will render SVG image with profile views counter and will increment it on each view of your profile.

Self-hosted application customization

By default, this application using file repository, visits log stored in storage/{$username}-views and counter stored in storage/{$username}-views-count file.

You can switch to database repository, then you will have to copy .env.example file to .env and fill in database configuration.

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.
Description
No description provided
Readme MIT 301 KiB
Languages
PHP 91.7%
Makefile 4.7%
Dockerfile 3.6%