GitHub Stars Sparklines ⚡️
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
svg
.gitignore
README.md
api.js
db.js
index.js
package-lock.json
package.json
page.js
queue.js
render.js
style.css
svg.js
sync.js
ttl.js

README.md

⚡️ 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