github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

The Card for Github stats has not updated probably since 2023

Open De-Hype opened this issue 11 months ago • 9 comments

Describe the bug

Over the last two months alone, i have made over 20 PR, but there are not updated on my card.

Image

Expected behavior

I am expecting the card content to be updated.

Screenshots / Live demo link

Image

Additional context

No response

De-Hype avatar Jan 23 '25 01:01 De-Hype

I am having the same issue

Iweisc avatar Jan 23 '25 17:01 Iweisc

Image

It says i have 304 commits while i have over 6K commits

Image

Iweisc avatar Jan 23 '25 17:01 Iweisc

Cool...thought it was just me tho

De-Hype avatar Jan 24 '25 02:01 De-Hype

@De-Hype Maybe it doesn't count private repo contributions?

Iweisc avatar Jan 24 '25 13:01 Iweisc

Oh nevermind it doesn't update at all :/

Iweisc avatar Jan 24 '25 13:01 Iweisc

@De-Hype @Iweisc I've encountered the same issue with the statistics not updating correctly in the README file. After some investigation, I found that the problem was due to browser cache. Clearing the browser cache resolved the issue for me.

kouroshai avatar Feb 25 '25 09:02 kouroshai

How? Can you please elaborate? Do i need to clear my browser cache before i start coding then it does the tracking from there? Or it has been doing the tracking, and i just need to clear cache to see the updated card?

De-Hype avatar Feb 25 '25 12:02 De-Hype

I've checked, and the tracking is always active. However, I think the issue might be with the theme of this box not updating properly. I suggest trying out other themes which don't have this problem. When I searched your Stat link in the URL bar, it gave me an error. available themes

kouroshai avatar Feb 25 '25 17:02 kouroshai

@kouroshai Thanks for your reply. It worked for me : )

Iweisc avatar Feb 26 '25 18:02 Iweisc

@Iweisc , @kouroshai which one theme do you use and see stats are updated ? Doesn't work for me even with default theme

vmred avatar Aug 13 '25 07:08 vmred

@Iweisc , @kouroshai which one theme do you use and see stats are updated ? Doesn't work for me even with default theme

It started working all of a sudden for no reason. but i am using the tokyo night theme i guess.

Iweisc avatar Aug 13 '25 17:08 Iweisc

@Iweisc do you have contributions to public repos only or private included? Coz I'm mostly contributing to private repos and stats do not increase.

vmred avatar Aug 14 '25 15:08 vmred

Hello guys

By default the stats card display only contributions made into public repositories. In case you want to display the private contributions as well, then you need to deploy own instance using own GitHub API token.

Also note that we're using caching to decrease the load on our servers. The default cache timing is 24 hours. In case you want your card to be update more often then you can deploy own instance. There you will be able to set an environment variable CACHE_SECONDS with any positive integer.

qwerty541 avatar Sep 22 '25 15:09 qwerty541

@qwerty541 thanks for reply, with deploy own instance private contributions are shown.

vmred avatar Sep 24 '25 20:09 vmred

@qwerty541 thanks for reply, with deploy own instance private contributions are shown.

@vmred Glad to help! Feel free to contact me in case you'll have any questions.

qwerty541 avatar Sep 24 '25 21:09 qwerty541