question: Is is possible to generate a new customized profile view badge with shields.io #74

Closed
opened 2025-11-20 04:15:52 -05:00 by saavagebueno · 4 comments
Owner

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

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
Author
Owner

@vippium commented on GitHub (Oct 24, 2025):

I tried Endpoint Badge with this url to compose.json : https://github.com/antonkomarev/github-profile-views-counter/blob/master/composer.json

Shows this : Image

Am I doing something wrong ?

@vippium commented on GitHub (Oct 24, 2025): I tried `Endpoint Badge` with this url to compose.json : https://github.com/antonkomarev/github-profile-views-counter/blob/master/composer.json Shows this : <img width="305" height="66" alt="Image" src="https://github.com/user-attachments/assets/4330ac60-ed31-4fd1-96b6-6d4f49e7a629" /> Am I doing something wrong ?
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
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#74