/github-star-counter

Primary LanguageTypeScriptMIT LicenseMIT

GitHub-Star-Counter

✨ City of stars, are you shining just for me?

What Is It

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:

Deploy

On Heroku

In order to increase the API rate limit, you can register GitHub auth code here

Deploy

On Cloudflare Worker

This is a serverless function deployed on Cloudflare Workers. Please check: Quick Start | Cloudflare Workers if you want to deploy or contribute.

LICENSE

Inspired by yyx990803/starz.

Thanks for strong support by fengkx!

MIT LICENSE. Have fun.