Count visitors for your README.md, Issues, PRs in GitHub

in just one line markdown code


๐Ÿ’— Donate ๐Ÿ’—Getting started


Docs

How to use?

All you have to do is to add below markdown markup to your markdown content:

                
                    ![visitors](https://page-views.glitch.me/badge?page_id=page.id)
                
            

In which, the url parameter page_id is REQUIRED, please use the unique string to best represent your page.

I recommend you to follow page_id rules below:

  1. For README.md file, use ${your.username}.${your.repo.id}, https://page-views.glitch.me/badge?page_id=jwenjian.visitor-badge for example.
  2. For Issue body, use ${your.username}.${your.repo.id}.issue.${issue.id}, https://page-views.glitch.me/badge?page_id=username.visitor-badge.issue.1 for example.

or any other markdown content, please give an unique string to distinguish


FAQ

Can I use this in HTML file?

Sure!

All you have to do is to insert a <img> to your HTML:

                    
                        <img src="https://page-views.glitch.me/badge?page_id=page.id" alt="visitor badge"/>
                    
                

For page_id parameter, follow the rules.

Is this free?

Yes and it will always be free and no limitations!

If you found this useful, you can buy me a coffee โ˜•๏ธ or give a star โœจ


What's next?

What new features will be available in the next release?


Donation

Currently, the service is running on glitch.com with a free version, it will sleep if no request in a few moment as you know

Your donation will encourage me add more feature and make this service more stable and keep it free.