Plot your repository stars over time.
See the codePlot your repo stars over time!
For large repositories with massive amounts of stars, this project uses Smart Sampling Mode to efficiently fetch star history data and render trend charts.
How it works:
Link Header to get total page countmaxSamplePages (default 15 pages, ~1500 stars), fetches all datamaxSamplePages, automatically switches to sampling modego run main.go
Then browse http://localhost:3000/me/myrepo .
Configure via environment variables:
| Variable | Default | Description |
|---|---|---|
REDIS_URL | redis://localhost:6379 | Redis cache URL |
GITHUB_TOKENS | - | GitHub API Token (supports multiple, comma-separated) |
GITHUB_PAGE_SIZE | 100 | Number of stars per page |
GITHUB_MAX_SAMPLE_PAGES | 15 | Max sample pages (triggers sampling mode when exceeded) |
GITHUB_MAX_RATE_LIMIT_USAGE | 80 | API Rate Limit usage threshold percentage |
LISTEN | 127.0.0.1:3000 | Server listen address |
Overall
Maintained
Code review
Go module
Latest release
Releases this year
(top 24 of 32)
1,875 followers · starred Nov 2020
346 followers · starred Aug 2020
2,848 followers · starred Oct 2020
199 followers · starred Nov 2021
Plot your repository stars over time.
See the codePlot your repo stars over time!
For large repositories with massive amounts of stars, this project uses Smart Sampling Mode to efficiently fetch star history data and render trend charts.
How it works:
Link Header to get total page countmaxSamplePages (default 15 pages, ~1500 stars), fetches all datamaxSamplePages, automatically switches to sampling modego run main.go
Then browse http://localhost:3000/me/myrepo .
Configure via environment variables:
| Variable | Default | Description |
|---|---|---|
REDIS_URL | redis://localhost:6379 | Redis cache URL |
GITHUB_TOKENS | - | GitHub API Token (supports multiple, comma-separated) |
GITHUB_PAGE_SIZE | 100 | Number of stars per page |
GITHUB_MAX_SAMPLE_PAGES | 15 | Max sample pages (triggers sampling mode when exceeded) |
GITHUB_MAX_RATE_LIMIT_USAGE | 80 | API Rate Limit usage threshold percentage |
LISTEN | 127.0.0.1:3000 | Server listen address |
Overall
Maintained
Code review
Go module
Latest release
Releases this year
(top 24 of 32)
1,875 followers · starred Nov 2020
346 followers · starred Aug 2020
2,848 followers · starred Oct 2020
199 followers · starred Nov 2021