I prefer using Cloudflare over Vercel, so this fork adapts GitHub Readme Stats to run on Cloudflare Workers
This project is based on GitHub Readme Stats by Anurag Hazra.
Original repository:
https://github.com/anuraghazra/github-readme-stats
Love the project? Please consider donating to the original author to help it improve!
Important
This is a fork of anuraghazra/github-readme-stats.
Please do not report issues from this repository to the original project.
Bugs and feature requests related to this fork should be reported to me only.
Important
This fork is designed for Cloudflare Workers deployments. Reliability depends on your Worker configuration, caching strategy, and GitHub API rate limits. For consistent results, self-hosting on your own Workers account is recommended.
Important
This repository is maintained on a best-effort basis. Issues and pull requests may be prioritized based on clarity, relevance to the Workers implementation, and community interest.
[](https://github.com/dchu096)Tip
By default, only public repository activity is included. To display private contributions, deploy your own instance and use a GitHub API token. See Deploy on your own.
Note
Rank tiers follow the Japanese academic grading system used by the upstream GitHub Readme Stats project: S (top 1%), A+, A, A-, B+, B, B-, C+, and C.
The global rank is calculated as a weighted percentile across commits, pull requests, reviews, issues, stars, and followers.
The implementation is inherited from the original project and can be reviewed in
src/calculateRank.js.
🙈 Hiding Individual Stats
You can pass a query parameter &hide= to hide any specific stats with comma-separated values.
Options:
&hide=stars,commits,prs,issues,contribs
📈 Showing additional individual stats
You can pass a query parameter `&show=` to show any specific additional stats with comma-separated values.Options:
&show=reviews,discussions_started,discussions_answered,prs_merged,prs_merged_percentage
🧩 Showing Icons
You can enable icons by adding &show_icons=true as a query parameter.
🗓️ Showing commits count for a specific year
You can specify a year and fetch only the commits made in that year by passing &commits_year=YYYY as a query parameter.
