Replies: 6 comments 9 replies
-
@nathanchu hmm thats a really nice suggestion. So what do you propose? we will gather few people who are willing to deploy github-readme-stats to their vercel instance and we will use those URLs to use as alternatives? |
Beta Was this translation helpful? Give feedback.
-
So a week or two ago I setup my own Vercel instance because my card wasn't updating properly (likely because of the traffic that the author's instance was getting). It's cool, it works. But every few days when I visit my page the image doesn't load, if I reload the page it pops. Do Vercel instances go to sleep or something when they have super low traffic? I'm starting to wonder if @nathanchu was on to something with the idea of a GitHub workflow. I'm thinking to simply update a static image once or twice a day or something. (My stats don't need to be accurate up to the minute.)
I'm also wondering if I should bump this way up. Looking in dev tools the image seems to be coming through cached for 2h (7200sec). |
Beta Was this translation helpful? Give feedback.
-
I think the issue I'm seeing is that the CDN (camo) isn't keeping it available because I have near zero profile traffic. I'm going to look into either just updating the image once or twice a day and storing/accessing it statically (via raw.github) or an hourly job that link checks or crawls just my profile to keep images/links fresh in the CDN (camo). |
Beta Was this translation helpful? Give feedback.
-
So in the end here's what I did to keep a fresh image available. (I only tackled it a few hours ago so it's still PoC).
|
Beta Was this translation helpful? Give feedback.
-
I decided to go a different way with this. Instead of trying to do a workflow to maintain activity/cache I'm just going to statically get and push the svg. kingthorin/kingthorin@17c0f61 |
Beta Was this translation helpful? Give feedback.
-
Closing this as the GitHub action is tracked in #2179 |
Beta Was this translation helpful? Give feedback.
-
The main github readme stats server went down with 402 Payment Required today (as you probably know). This has happened multiple times and I have a proposed solution. I'd be happy to host an alternate server for this purpose, assuming it doesn't get too much traffic. I'd like to hear your thoughts on this @anuraghazra, and whether anyone else would consider hosting a community alt server.
Beta Was this translation helpful? Give feedback.
All reactions