✨ City of stars, are you shining just for me?
An API to count a GitHub user's total stars.
/user/:username - to show a user's total stars and forks of is repositories.
For example: https://api.github-star-counter.workers.dev/user/idealclover
Heroku version: https://github-star-counter.herokuapp.com/user/idealclover
Moreover, you can combined it with shields.io to produce a badge like this:
Sometimes due to slow network, the pictures above could not show correctly, here are the static version:
In order to increase the API rate limit, you can register GitHub auth code here
This is a serverless function deployed on Cloudflare Workers. Please check: Quick Start | Cloudflare Workers if you want to deploy or contribute.
Inspired by yyx990803/starz.
Thanks for strong support by fengkx!
MIT LICENSE. Have fun.