mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-05-15 20:32:19 -04:00
question: Is is possible to generate a new customized profile view badge with shields.io #74
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 @vippium on GitHub (Oct 24, 2025).
As the title says..
There are so man options in shields.io. If it is possible, can you let me know how can I generate dynamic badges? And which option to use from those Dynamic Badges.
https://shields.io/badges/dynamic-json-badge
@vippium commented on GitHub (Oct 24, 2025):
I tried
Endpoint Badgewith this url to compose.json : https://github.com/antonkomarev/github-profile-views-counter/blob/master/composer.jsonShows this :
Am I doing something wrong ?
@antonkomarev commented on GitHub (Oct 24, 2025):
@vippium dynamic badges awaits JSON data to render. But there is no place to get this JSON data from. We are rendering SVG image on the fly and display it to browser. As soon as browser renders it, we increment counter.
You can try to implement JSON url as a another way to increment counter, but I'm not sure if it wouldn't be cached by browser, then counter wouldn't be updated.
@vippium commented on GitHub (Oct 26, 2025):
yess... It doesn't update.
So it means that there is no way to customize the classic badges, even with shields.io.
@antonkomarev commented on GitHub (Oct 26, 2025):
@vippium Yes, that's why we are using poser badges. But I propose you to start using https://yhype.me instead. There is no public counter, but it's much more functional.