DenverCoder1 / github-readme-streak-stats

🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README
https://streak-stats.demolab.com
MIT License
4.82k stars 750 forks source link

Streak Templete not showing #683

Closed xcriminal1 closed 4 months ago

xcriminal1 commented 5 months ago

image

itzmidinesh commented 5 months ago

Yes, streak is not showing up for me too.

harsh8088 commented 5 months ago

I'm seeing an error message. Is there a way to resolve this?

Screenshot 2024-05-20 at 12 02 09 PM
Mcorduk commented 5 months ago

Same here.

Zerabalus commented 5 months ago

omg same

djpaul-dev commented 5 months ago

same ;-;

parth-007 commented 5 months ago

Same for me. please resolve

jvalvarenga commented 5 months ago

Hey, are you using &hide_border=true? This seems to be the problem.

henryonsoftware commented 5 months ago

Same here

ngljcb commented 5 months ago

same here

Nialled69 commented 5 months ago

Same issue here too.

lmisea commented 5 months ago

Same :(

djpaul-dev commented 5 months ago

Guys, check this issue from a while ago. Streak markdown is not shown on GitHub profile #616.

Self-hosting solved my problem!

This is what the repo owner (aka. Jonah) said.

When there is a lot of traffic to the Heroku server, the GitHub API seems to stop sending back content and the responses become very slow. If it takes too long to load, GitHub will just show a broken image instead of waiting. GitHub also caches responses on their server, so even if the speed gets back to normal, it could still show as broken on GitHub for a particular image URL for up to a few hours.

To avoid this issue, I recommend self-hosting the project. There are steps in the readme, I recently added a new method for deploying with Vercel entirely online. It's free and shouldn't take more than a couple minutes to set up.

It should also start working on its own, but there isn't much I can do to prevent it from going down in the future while hosting for over 100,000 people for free*, so self-hosting is still an option to get it to stay up more reliably.

Scaling up to use multiple processes seems to resolve the issue but this costs about $50/month and since the project does not make any money for me and I'm not making that much from sponsorships I'd rather keep it at the lowest pricing tier. If I get at least $25/month in sponsorships, I'd keep the server scaled up.

I think it was generous of Jonah to make this project open-source and have the hosting server scaled up for us as long as he could. I had no clue he was paying that much per month despite this project not generating any revenue.

Jonah was also generous enough to provide some instructions on how we could host this on Vercel and Heroku. Hosting on Vercel is free btw! Check out the self-hosting instructions on his repo, under the section "Deploying it on your own". Here's a video on self-hosting this by Jonah himself! How To Self-Host GitHub Readme Streak Stats on Vercel

denivic commented 4 months ago

That was indeed very generous of Jonah. Thank you!

And thanks @djpaul-dev for the self-host links.