2 comments

  • s_manor 37 minutes ago
    I built this after anuraghazra's github-readme-stats public instance kept returning 429s for me; that repo is now marked unmaintained. gh-stats puts the profile on one card: a score out of 100, contribution timeline, top collaborators by shared commits, language split by bytes authored, and commit streaks. One line of markdown, no signup.

    It is three small Flask services: a fetcher that owns the GitHub token and polls on a schedule, a generator that renders SVGs ahead of time, and a cache-first edge. Card requests are served from pre-rendered SVGs and don't hit the GitHub API, which is what made the old shared instance rate-limit.

    One thing I learned the hard way: GitHub shows README images through <img>, where SVG animations freeze on their first frame, not their final state. My animated score ring was invisible on every profile while every local rasterizer showed it fine.

    MIT, self-hostable with docker compose: https://github.com/ShayManor/github-readme-stats