Giter Club home page Giter Club logo

ovpn's Introduction

πŸš€ GitHub Profile Views Counter Image of my-profile-view-counter

Image of my-profile-view-counter

Many GitHub page views counters are not stable as it seems. Any service disruptions or simply removal of these services can lose your profile views. Use this GitHub Action to record changes. It generates badges, charts, and tables for each repository and a badge for total views for your profile.

▢️ Watch

How to Setup GitHub Profile Views Counter for your GitHub profile

Why do you need πŸš€ GitHub Profile Views Counter?

The main problem of using external services is what you do when they cut off their services? You will see a broken URL of the SVG you used to see profile views, and the next thing is you already lost thousands of profile views.

But this GitHub Profile Views Counter is different from others. It’s a public repository in your profile, and it stores all the data and SVG files. So you don’t lose anything, and it updates the page views every 6 hours. It fetches insights data of your repository from GitHub API. It records the number of unique visitors and also page views.

Features

Charts β€” The action generates charts for the week, month, and year. The below chart is for the week for a repository. Go to gayanvoice/my-profile-view-counter to see how it works.

Tables β€” The action generates charts for the week, month, and year.

Setup

1 β€” πŸš€ Go to gayanvoice/github-profile-views-counter and click on Use this template button to create a new repository

By using a template you don’t need to create the files from scratch, and all you need is to change the configuration.

GitHub Profile Views Counter - Click on Use this template button to create a new repository

2 β€” ⚑️ Enter a repository name and select repository type to public repository and click on Create repository from template button

You can give any name for the repository. You need to select repository type to public. Because GitHub provides an unlimited number of action minutes for public repositories.

If you choose private, the free usage will limit to 2000 minutes per month. Go to GitHub Pricing page for more pricing plans.

GitHub Profile Views Counter - Click on create repository from template button to create the repository

After you click on Create repository from template button, it will take some time to create the repository.

3 β€” πŸ”’ Create a new personal access token with repo and workflow options

Go to Personal Access Tokens and click on Generate new token button. Give it any name and select repo and workflow options and click on Generate token button. βœ‚οΈ Copy the token.

GitHub Profile Views Counter - create a new personal access token with repo and workflow options

4 β€” πŸ”‘ Go to your profile views counter repository and go to Settings, and select Secrets option from left side bar. Click on New repository secret button and enter name as INSIGHTS_TOKEN and πŸ“‹ paste the personal access token under value. Click on Add secret button.

GitHub Profile Views Counter - add repository secret by using repository secrets

5 β€” πŸ“„ Go to your profile views counter repository. Go to config.json and click on edit button. Add repository names.

GitHub Profile Views Counter - edit config.json file to add repository names

6 β€” Go to your profile views counter repository and click on Actions tab. Select the workflow and click on Run workflow button.

GitHub Profile Views Counter - click on run workflow button

It will take few minutes depends on number of repositories you have entered to the workflow. It will generate total views badge, repository badges, and markdown files.

πŸ“„ License

ovpn's People

Contributors

hamedrezaei2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.