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

Streak Templete not showing

Open xcriminal1 opened this issue 1 year ago • 12 comments

image

xcriminal1 avatar May 19 '24 19:05 xcriminal1

Yes, streak is not showing up for me too.

itzmidinesh avatar May 20 '24 06:05 itzmidinesh

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

Screenshot 2024-05-20 at 12 02 09 PM

harsh8088 avatar May 20 '24 06:05 harsh8088

Same here.

Mcorduk avatar May 20 '24 06:05 Mcorduk

omg same

Zerabalus avatar May 20 '24 07:05 Zerabalus

same ;-;

djpaul-dev avatar May 20 '24 09:05 djpaul-dev

Same for me. please resolve

parth-007 avatar May 20 '24 10:05 parth-007

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

jvalvarenga avatar May 20 '24 13:05 jvalvarenga

Same here

henryonsoftware avatar May 20 '24 14:05 henryonsoftware

same here

ngljcb avatar May 20 '24 15:05 ngljcb

Same issue here too.

Nialled69 avatar May 20 '24 15:05 Nialled69

Same :(

lmisea avatar May 20 '24 15:05 lmisea

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

djpaul-dev avatar May 20 '24 18:05 djpaul-dev

That was indeed very generous of Jonah. Thank you!

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

denivic avatar Jul 02 '24 10:07 denivic