Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ If you have 100+ repos including private ones, the existing solutions are either
A fork of [anuraghazra/github-readme-stats](https://github.com/anuraghazra/github-readme-stats) that combines the best of three projects:

- **[anuraghazra/github-readme-stats](https://github.com/anuraghazra/github-readme-stats)** β€” Fast GraphQL-based stats cards, but can't access private repo language data.
- **[jstrieb/github-stats](https://github.com/jstrieb/github-stats)** β€” REST-based GitHub Actions that can access private repos, but takes 40+ minutes for users with 150+ repos.
- **[jstrieb/github-stats](https://github.com/jstrieb/github-stats)** β€” REST-based GitHub Actions that can access private repos, but hammers the API with sequential per-repo requests, causing rate limiting and unpredictable run times.
- **[DenverCoder1/github-readme-streak-stats](https://github.com/DenverCoder1/github-readme-streak-stats)** β€” Contribution streak cards via an external service.

This fork uses **GraphQL for live stats cards** (served via Vercel) and **REST via a daily GitHub Action** (~17 mins for 170+ repos) for accurate language breakdowns across public and private repos. Streak stats are calculated directly from GitHub's contribution calendar β€” no external service needed.
This fork uses **GraphQL for live stats cards** (served via Vercel) and **REST only where GraphQL falls short** (via a daily GitHub Action) for accurate language breakdowns across public and private repos. Streak stats are calculated directly from GitHub's contribution calendar β€” no external service needed.

## Endpoints

Expand Down Expand Up @@ -97,6 +97,16 @@ GitHub Action (daily)
└── Writes results to public gist
```

## Debugging

The GitHub Action logs progress per-repo during the daily run, making it easy to identify which repos are slow or hitting API errors. You can also use the debug endpoint:

```
/api/top-langs?debug=true&username=YOUR_USERNAME
```

This returns JSON with the total repo count, repos after filtering, and a per-repo language breakdown β€” useful for tuning your `EXCLUDE_REPO` list or figuring out why your language stats look off.

## License

[MIT](./LICENSE) β€” Based on work by [Anurag Hazra](https://github.com/anuraghazra), [Jacob Strieb](https://github.com/jstrieb), and [Jonah Lawrence](https://github.com/DenverCoder1).
Loading