Skip to content

arturssmirnovs/github-profile-views-counter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 11, 2020 19:19
July 18, 2020 14:46
July 18, 2020 14:46
July 18, 2020 14:46
July 18, 2020 15:25
July 18, 2020 14:46
July 18, 2020 14:46
July 18, 2020 14:46
July 18, 2020 14:46
July 18, 2020 14:46
July 18, 2020 15:25
web
October 28, 2022 19:19
July 18, 2020 14:46
October 28, 2022 19:19
October 28, 2022 19:19
October 28, 2022 21:09
July 18, 2020 14:46
October 28, 2022 19:19
July 18, 2020 14:46
July 18, 2020 15:56
July 18, 2020 14:46
July 18, 2020 14:46
October 28, 2022 19:19
July 18, 2020 14:46
yii
October 28, 2022 19:19
July 18, 2020 14:46

GitHub README profile views counter

Simple GitHub readme profile views statistics counter made with Yii2 Framework. You can add this shortcode to your github profile for free and see how many times your profile has been viewed.

Banner about GitHub profile views counter

Usage

Replace [YOUR_PROFILE_USERNAME] with your profile username, for example: github-profile-views-counter, so the link comes out: https://gpvc.arturio.dev/github-profile-views-counter and afterwards just add it to your profile readme file using code bellow.

GitHub will proxy this url trough github como servers but don't worry, links are correct and cache control is set to no cache, so views will be constantly updated.

![Profile views](https://gpvc.arturio.dev/[YOUR_PROFILE_USERNAME])

Profile views

https://gpvc.arturio.dev/github-profile-views-counter

Self hosted

  • Clone repository
  • run composer install
  • copy config-dist/ to config/
  • edit config/db.php
  • make directories: runtime/ web/assets/
  • make runtime/ web/assets ./yii directories writable: chmod 775
  • run ./yii2 migrate
  • enjoy

Docker

Build image docker build -t gpvc . Run container docker-compose --env-file .env up -d

How to create github profile readme?

https://arturio.dev/github-profile-readme/