mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-07-27 16:02:41 -04:00
Adding a way for people to reset their own badge #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)
@antonkomarev commented on GitHub (Aug 10, 2020):
@ent3r I will think about it. Thank you for the suggestion!
@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".
@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
@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 (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.
@theS1LV3R commented on GitHub (Dec 3, 2020):
Looks good!
@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.
@theS1LV3R commented on GitHub (Dec 3, 2020):
I just logged in, it looked good!
@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
@brookmg commented on GitHub (Dec 31, 2020):
is
yhypeopensource ?@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).