Adding a way for people to reset their own badge #6

Closed
opened 2025-11-20 04:14:51 -05:00 by saavagebueno · 11 comments
Owner

Originally created by @theS1LV3R on GitHub (Aug 10, 2020).

Would it be possible to add a way for people to reset their badge? Authentication could be done using OAuth2 to make sure people only can reset their own badges.

This would be useful for example if you edit your readme a lot, and go back and fourth between the editor and preview tab. Each time you then go to the preview tab it increases the counter. That's why my counter is approaching 100, even though im likely only at like 5 (10 if im lucky)

Originally created by @theS1LV3R on GitHub (Aug 10, 2020). Would it be possible to add a way for people to reset their badge? Authentication could be done using OAuth2 to make sure people only can reset their own badges. This would be useful for example if you edit your readme a lot, and go back and fourth between the editor and preview tab. Each time you then go to the preview tab it increases the counter. That's why my counter is approaching 100, even though im likely only at like 5 (10 if im lucky)
saavagebueno added the enhancement label 2025-11-20 04:14:51 -05:00
Author
Owner

@antonkomarev commented on GitHub (Aug 10, 2020):

@ent3r I will think about it. Thank you for the suggestion!

@antonkomarev commented on GitHub (Aug 10, 2020): @ent3r I will think about it. Thank you for the suggestion!
Author
Owner

@fabiosangregorio commented on GitHub (Aug 25, 2020):

On this note, could it be possible (through OAuth2 or something else) to exclude yourself from the views count? I'm thinking something like "Do not increase the counter if I'm viewing the readme logged in as myself".

@fabiosangregorio commented on GitHub (Aug 25, 2020): On this note, could it be possible (through OAuth2 or something else) to exclude yourself from the views count? I'm thinking something like "Do not increase the counter if I'm viewing the readme logged in as myself".
Author
Owner

@theS1LV3R commented on GitHub (Aug 25, 2020):

That's not possible. Github images are served through a proxy, and because of that have the same IP. It's impossible to filter out users

@theS1LV3R commented on GitHub (Aug 25, 2020): That's not possible. Github images are served through a proxy, and because of that have the same IP. It's impossible to filter out users
Author
Owner

@antonkomarev commented on GitHub (Aug 25, 2020):

@ent3r is absolutely right. There is no way to determine visitor username, UA or IP address, so there is no way do not track yourself. We can't even track unique visits count. Because of this, this tool is as simple as possible.

@antonkomarev commented on GitHub (Aug 25, 2020): @ent3r is absolutely right. There is no way to determine visitor username, UA or IP address, so there is no way do not track yourself. We can't even track unique visits count. Because of this, this tool is as simple as possible.
Author
Owner

@antonkomarev commented on GitHub (Dec 3, 2020):

@theS1LV3R To implement counter reset we need to add login feature. It's not that easy and will require to write a lot of the code.

But I have better alternative. I've worked hard and launched brand new service for GitHub users Ÿ HŸPE (open alpha). You can login using GitHub account, and it will generate link with invisible counter for your profile README file. Statistics will be collected to private dashboard. Right now it includes profile views and followers history (following + unfollowing) with daily breakdown. In next few months we will have repository traffic statistics without 14 days GitHub limitation.

@antonkomarev commented on GitHub (Dec 3, 2020): @theS1LV3R To implement counter reset we need to add login feature. It's not that easy and will require to write a lot of the code. But I have better alternative. I've worked hard and launched brand new service for GitHub users [Ÿ HŸPE](https://yhype.me) (open alpha). You can login using GitHub account, and it will generate link with invisible counter for your profile README file. Statistics will be collected to private dashboard. Right now it includes profile views and followers history (following + unfollowing) with daily breakdown. In next few months we will have repository traffic statistics without 14 days GitHub limitation.
Author
Owner

@theS1LV3R commented on GitHub (Dec 3, 2020):

Looks good!

@theS1LV3R commented on GitHub (Dec 3, 2020): Looks good!
Author
Owner

@antonkomarev commented on GitHub (Dec 3, 2020):

I spend all my free time improving it. I think counters reset will appear in Ÿ HŸPE faster than here.

@antonkomarev commented on GitHub (Dec 3, 2020): I spend all my free time improving it. I think counters reset will appear in Ÿ HŸPE faster than here.
Author
Owner

@theS1LV3R commented on GitHub (Dec 3, 2020):

I just logged in, it looked good!

@theS1LV3R commented on GitHub (Dec 3, 2020): I just logged in, it looked good!
Author
Owner

@antonkomarev commented on GitHub (Dec 31, 2020):

@theS1LV3R @fabiosangregorio @SudhanPlayz @brookmg I found a way how to implement counter reset without reimplementing all the GitHub authorization flow in this repository (what looks like an overkill for this project).

You can login to the Ÿ HŸPE and visit GHPVC reset page: https://yhype.me/ghpvc

Reset GHPVC on Ÿ HŸPE

@antonkomarev commented on GitHub (Dec 31, 2020): @theS1LV3R @fabiosangregorio @SudhanPlayz @brookmg I found a way how to implement counter reset without reimplementing all the GitHub authorization flow in this repository (what looks like an overkill for this project). You can login to the Ÿ HŸPE and visit GHPVC reset page: https://yhype.me/ghpvc ![Reset GHPVC on Ÿ HŸPE](https://user-images.githubusercontent.com/1849174/103422269-a5ed0280-4bb1-11eb-9464-2643f0a55d8d.png)
Author
Owner

@brookmg commented on GitHub (Dec 31, 2020):

is yhype opensource ?

@brookmg commented on GitHub (Dec 31, 2020): is `yhype` opensource ?
Author
Owner

@antonkomarev commented on GitHub (Dec 31, 2020):

@brookmg It uses GHPVC for profile views feature under the hood. All other parts of the service are proprietary.
At this moment there are no plans to make it free open source project. It's free but proprietary software. We plan to revise distribution model when v1 will be released (it's open beta now).

@antonkomarev commented on GitHub (Dec 31, 2020): @brookmg It uses GHPVC for profile views feature under the hood. All other parts of the service are proprietary. At this moment there are no plans to make it free open source project. It's free but proprietary software. We plan to revise distribution model when v1 will be released (it's open beta now).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/github-profile-views-counter#6