{"id":50925265,"url":"https://github.com/croc100/gcv","last_synced_at":"2026-06-16T22:02:37.949Z","repository":{"id":363318798,"uuid":"1262785366","full_name":"croc100/gcv","owner":"croc100","description":"Explore contributors, commit trends, and growth of any GitHub repository","archived":false,"fork":false,"pushed_at":"2026-06-08T11:47:50.000Z","size":256,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-08T12:26:39.054Z","etag":null,"topics":["contributors","developer-tools","github","nextjs","open-source","typescript"],"latest_commit_sha":null,"homepage":"https://gcv-five.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/croc100.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-08T10:14:33.000Z","updated_at":"2026-06-08T11:47:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/croc100/gcv","commit_stats":null,"previous_names":["croc100/gcv"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/croc100/gcv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croc100%2Fgcv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croc100%2Fgcv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croc100%2Fgcv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croc100%2Fgcv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/croc100","download_url":"https://codeload.github.com/croc100/gcv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croc100%2Fgcv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34425024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contributors","developer-tools","github","nextjs","open-source","typescript"],"created_at":"2026-06-16T22:02:37.176Z","updated_at":"2026-06-16T22:02:37.944Z","avatar_url":"https://github.com/croc100.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCV — GitHub Community Vitals\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Next.js-14-black?logo=next.js\" alt=\"Next.js 14\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TypeScript-5-blue?logo=typescript\" alt=\"TypeScript\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Tailwind-3-06B6D4?logo=tailwindcss\" alt=\"Tailwind CSS\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"MIT\" /\u003e\n  \u003ca href=\"https://gcv-five.vercel.app\"\u003e\u003cimg src=\"https://img.shields.io/badge/live-gcv--five.vercel.app-brightgreen\" alt=\"Live\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://gcv-five.vercel.app/croc100/gcv\"\u003e\u003cimg src=\"https://gcv-five.vercel.app/api/badge/health/croc100/gcv\" alt=\"GCV Health\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Discover trending repos, explore open source communities, and analyze contributor health across GitHub.\u003cbr/\u003e\n  No sign-in required to get started.\n\u003c/p\u003e\n\n---\n\n## Features\n\n### Repo analytics (`/[owner]/[repo]`)\n- Contributor list ranked by commit count with avatars and first contribution date\n- **New contributor badge** — highlights contributors who made their first commit in the last 90 days\n- **Commit heatmap** — GitHub-style 52-week calendar, filterable by top contributor\n- **Repo health score** — composite 0–100 score: bus factor (40%), contributor diversity/HHI (40%), 4-week activity trend (20%)\n- Period filter — 1M / 3M / 6M / 1Y / MAX\n- Commit bar chart, growth chart, bot filter, CSV export\n- **Contributor drawer** — click any contributor for their GitHub profile, top repos, and per-repo PR/issue counts\n\n### Discovery\n- **Trending** (`/trending`) — most starred repos pushed this week, filterable by language\n- **Explore** (`/explore`) — active repos with good first issues for new contributors\n- **Compare** (`/compare`) — side-by-side stats for two repos\n- **Org dashboard** (`/org/[org]`) — contributor leaderboard across all repos in an organization\n\n### Profiles\n- **Contributor profile** (`/u/[login]`) — recent activity, active repos, language breakdown, commit sparkline\n- **GCV Wrapped** (`/wrapped/[login]`) — shareable year-in-review card\n\n### Sharing \u0026 embedding\n- **Embed widget** (`/widget/[owner]/[repo]`) — iframe-embeddable contributor grid with 1h cache\n- **README badge** — live contributor count badge, auto-updates hourly ([badge generator →](https://gcv-five.vercel.app/badge))\n- **OG share image** — custom social card for any repo\n- URL persistence — all filters sync to URL\n\n### README badge\n\nAdd a live contributors count badge to any repository's README:\n\n```markdown\n[![Contributors](https://gcv-five.vercel.app/api/badge/owner/repo)](https://gcv-five.vercel.app/owner/repo)\n```\n\nReplace `owner/repo` with your repository. The badge auto-updates every hour and links back to your GCV dashboard.\n\nUse the [badge generator](https://gcv-five.vercel.app/badge) for a live preview and one-click copy.\n\n### Promote your repo\n- **Sponsored listings** (`/promote`) — feature your repo on Trending, Explore, and the homepage\n- Powered by Stripe + Vercel KV\n\n### Auth\n- **GitHub OAuth** — sign in for 5,000 req/h (vs 60/h unauthenticated)\n\n---\n\n## Getting started\n\n```bash\ngit clone https://github.com/croc100/gcv.git\ncd gcv\nnpm install\ncp .env.local.example .env.local\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) and search any public repo, e.g. `vercel/next.js`.\n\n---\n\n## Environment variables\n\n| Variable | Required | Description |\n|---|---|---|\n| `GITHUB_TOKEN` | No | Server-side default token. Raises rate limit for all users. |\n| `GITHUB_CLIENT_ID` | No* | GitHub OAuth App Client ID. |\n| `GITHUB_CLIENT_SECRET` | No* | GitHub OAuth App Client Secret. |\n| `JWT_SECRET` | No* | Cookie signing secret — `openssl rand -hex 32` |\n| `STRIPE_SECRET_KEY` | No† | Stripe secret key for promoted repos. |\n| `STRIPE_WEBHOOK_SECRET` | No† | Stripe webhook signing secret. |\n| `NEXT_PUBLIC_BASE_URL` | No† | Full deployment URL, e.g. `https://gcv-five.vercel.app` |\n| `KV_REST_API_URL` | No† | Auto-set when Vercel KV store is linked. |\n| `KV_REST_API_TOKEN` | No† | Auto-set when Vercel KV store is linked. |\n\n\\* All three required together to enable GitHub OAuth.  \n† All required together to enable promoted repos.\n\n### GitHub OAuth setup\n\n1. GitHub → Settings → Developer settings → OAuth Apps → New OAuth App\n2. Callback URL: `https://your-domain.com/api/auth/callback`\n3. Add `GITHUB_CLIENT_ID`, `GITHUB_CLIENT_SECRET`, `JWT_SECRET` to env\n\nFor local dev: `http://localhost:3000/api/auth/callback`\n\n### Promoted repos setup\n\n1. Create a [Vercel KV](https://vercel.com/docs/storage/vercel-kv) store and link it to your project\n2. Register a Stripe webhook at `https://your-domain.com/api/promote/webhook` → event: `checkout.session.completed`\n3. Add `STRIPE_SECRET_KEY`, `STRIPE_WEBHOOK_SECRET`, `NEXT_PUBLIC_BASE_URL` to env\n\n---\n\n## Deployment\n\n1. Push to GitHub and import on [vercel.com](https://vercel.com)\n2. Add environment variables in Settings → Environment Variables\n3. Every push to `main` auto-deploys\n\n---\n\n## Stack\n\n| | |\n|---|---|\n| Framework | Next.js 14 App Router |\n| Language | TypeScript |\n| Styling | Tailwind CSS |\n| GitHub API | Octokit |\n| Charts | Recharts |\n| Auth | GitHub OAuth + JWT (jose) |\n| Payments | Stripe |\n| Storage | Vercel KV (Redis) |\n| Analytics | Vercel Analytics |\n| Deployment | Vercel |\n\n---\n\n## Contributing\n\nPRs and issues welcome. Open an issue first for significant changes.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroc100%2Fgcv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcroc100%2Fgcv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroc100%2Fgcv/lists"}