A lightweight React app for tracking the public pull requests and issues authored by any GitHub user.
- Public PRs authored by a username
- Public issues authored by a username
- Open vs closed counts
- Repository grouping
- Only the first 5 items shown per repository, with a link to view the rest on GitHub
npm install
npm run devnpm run buildThis repo is already configured for a project-page deployment at:
https://khazic.github.io/github-tracker/
Recommended setup:
- Create a public repository named
github-trackerunder thekhazicaccount - Push this project to the
mainbranch - In the repository settings, open
Pages - Set
SourcetoGitHub Actions - Push new commits to
mainand let the workflow deploy automatically
- This app uses the public GitHub Search API, so it only tracks public repositories.
- Unauthenticated GitHub API requests have rate limits. If you hit them, wait a bit and reload.
- The app currently loads up to 300 PRs and 300 issues per user to keep requests predictable.
- The Vite base path is set in
vite.config.jsfor thegithub-trackerrepository name.
This repo now includes a Worker scaffold in cloudflare/worker.mjs.
To finish deployment:
- Log in to Cloudflare with
wrangler login cd cloudflare- Create the Worker with
wrangler deploy - Add the GitHub token secret with
wrangler secret put GITHUB_TOKEN - Copy the deployed
workers.devURL intopublic/worker-config.jsonas theendpoint - Push this repo again so GitHub Pages picks up the Worker endpoint
Behavior:
- If
worker-config.jsonhas an endpoint, the frontend asks the Worker for fresh data on page load. - If the Worker is unavailable, the site falls back to the last generated static snapshot in
public/data.json.