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.
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.
- 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