Bloggify / github-calendar

:bar_chart: Embed your GitHub calendar everywhere.
https://bloggify.github.io/github-calendar/example/
MIT License
1.22k stars 213 forks source link

Github heatmap not showing up anymore #172

Closed shivam-bit closed 6 months ago

shivam-bit commented 1 year ago

Issue

Till few months back everything was working fine, but suddenly the heatmap stopped showing up.

Screenshot 2023-08-06 at 12 17 31 PM

Error

Screenshot 2023-08-06 at 12 17 43 PM Screenshot 2023-08-06 at 12 18 01 PM

PS

If i am disabling responsiveness by responsive: false then following content is rendered without any errors on console but as you can see still the stats are completely missing.

Screenshot 2023-08-06 at 12 20 58 PM
shivam-bit commented 1 year ago

@IonicaBizau your help will be appreciated .

SahilMayenkar commented 1 year ago

This issue is related to #169.

The following comment (https://github.com/Bloggify/github-calendar/issues/169#issuecomment-1638288345) explains how the script fetches the information from a proxied location and is expecting the result to be an svg; however, it seems that the API at that location has recently changed and now returns an HTML table. This results in null type errors for anything referencing the svg, such as in the error you posted.

pmanaktala commented 1 year ago

Is there a fix that is out for it? It suddenly stopped working for me as well.

jalopezg-git commented 6 months ago

Is there a fix that is out for it? It suddenly stopped working for me as well.

@pmanaktala, please, see https://github.com/Bloggify/github-calendar/pull/173. The MR is essentially a first, preliminary fix.

IonicaBizau commented 6 months ago

Thank you for your contribution, @jalopezg-git! 🍰