/spark

GitHub Stars Sparklines ⚡️

Primary LanguageJavaScript

⚡️ Spark

Go to stars.medv.io

Spark is a generator of pretty little graphs called sparklines, which shows GitHub stars velocity of a repo.

Development

Clone repo, create .env file with personal access token:

ACCESS_TOKEN=...

Install packages, start server:

npm install
node index.js

Rate limit

Spark can't eagerly load all stars of a repo, only 100 stargazers per requset allowed, and GitHub API v4 has rate limit of 5000 points per hour.

Spark has special endpoint for monitoring remaining rate limit, queue size and processing svg: stars.medv.io/status

License

MIT