Skip to content

chore: keep only the contributor collector - #461

Merged
atinux merged 1 commit into
mainfrom
chore/keep-collector-only
Oct 22, 2026
Merged

atinux merged 1 commit into
mainfrom
chore/keep-collector-only

Conversation

@atinux

@atinux atinux commented Oct 22, 2026

Copy link
Copy Markdown
Member

The leaderboard and the profiles moved to nuxt.com/nuxters, which imports the files in public/ on every push (nuxt/nuxt.com#2458). The Nuxt app here no longer serves any page since #455, so this PR keeps only what the collector and nuxters.nuxt.com still need.

Removed: app/, server/, shared/, nuxt.config.ts, the Nuxt component and browser tests, the placeholder unit test, .env.example (OAuth and Discord secrets of the old app), the card and background images, and about 30 dependencies.

Kept: the collector (scripts/), its country tests (test/unit/countries.spec.ts, from #460), public/contributors*.json, public/profiles.json, the workflows and the Renovate config.

nuxters.nuxt.com becomes a static deployment of public/: vercel.json sets no framework, no install, no build and outputDirectory: "public". The redirects are unchanged. /contributors.json is still served, since at least zhcndoc/nuxt and niceplugin/nuxt-korean fetch it. /api/contributors is rewritten to /contributors.json; /api/contributors/<username> now returns 404 (no callers found in GitHub code search).

Tooling: standalone tsconfig.json and eslint.config.mjs (@nuxt/eslint-config), scripts are lint, typecheck, test and collect:contributors, and CI runs all three checks.

pnpm lint, pnpm typecheck and pnpm test (20 tests) pass locally, and COLLECT_REPOS=nuxt/nuxters pnpm collect:contributors wrote every period file and profiles.json. To check on the Vercel preview before merging: the redirects answer 301 and /contributors.json and /api/contributors answer 200.

Written by an AI agent (Claude Code) on behalf of @atinux, who asked for this change.

The leaderboard and the profiles moved to nuxt.com/nuxters, which imports
the files in public/. Remove the Nuxt app and serve nuxters.nuxt.com as a
static deployment of public/: the redirects and the JSON files keep working.
@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nuxters Ready Ready Preview Oct 22, 2026 4:07pm UTC

Request Review

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nuxters with  Cloudflare Pages  Cloudflare Pages

Latest commit: c13fb8b
Status:🚫  Build failed.

View logs

@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1ae29334-1934-418b-95dd-0410c77cc896
📥 Commits

Reviewing files that changed from the base of the PR and between 5ab00ba and c13fb8b.

⛔ Files ignored due to path filters: 14
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • public/card-gradient-bg.svg is excluded by !**/*.svg
  • public/check.svg is excluded by !**/*.svg
  • public/comments-card-bg.svg is excluded by !**/*.svg
  • public/icon.png is excluded by !**/*.png
  • public/icon.svg is excluded by !**/*.svg
  • public/issues-card-bg.svg is excluded by !**/*.svg
  • public/join-gradient-bg-sm.svg is excluded by !**/*.svg
  • public/join-gradient-bg.svg is excluded by !**/*.svg
  • public/nuxt.svg is excluded by !**/*.svg
  • public/pull-requests-card-bg.svg is excluded by !**/*.svg
  • public/social-card.jpg is excluded by !**/*.jpg
  • test/browser/index.spec.ts-snapshots/home-page-1-linux.png is excluded by !**/*.png
  • test/browser/index.spec.ts-snapshots/og-image-for-home-page-1-linux.png is excluded by !**/*.png
📒 Files selected for processing: 52
  • .env.example
  • .github/workflows/ci.yml
  • .gitignore
  • .nuxtrc
  • README.md
  • app/app.config.ts
  • app/app.vue
  • app/assets/css/main.css
  • app/components/AppFooter.vue
  • app/components/AppHeader.vue
  • app/components/CommentsCard.vue
  • app/components/ContributorDetailedScore.vue
  • app/components/CopyButton.vue
  • app/components/IssuesCard.vue
  • app/components/OgImage/Nuxter.satori.vue
  • app/components/PullRequestCard.vue
  • app/components/ReactionsCard.vue
  • app/components/TheLogo.vue
  • app/components/home/HomeCard.vue
  • app/components/home/HomeContributors.vue
  • app/components/home/HomeHero.vue
  • app/components/home/HomeJoin.vue
  • app/composables/numberFormatter.ts
  • app/composables/nuxter.ts
  • app/pages/[username].vue
  • app/pages/index.vue
  • app/plugins/nuxter.server.ts
  • eslint.config.mjs
  • nuxt.config.ts
  • package.json
  • pnpm-workspace.yaml
  • public/reactions-card-bg.webp
  • server/api/contributors/[username].ts
  • server/api/contributors/index.ts
  • server/index.d.ts
  • server/middleware/auth.ts
  • server/middleware/card.ts
  • server/routes/connect/[provider].get.ts
  • server/routes/logout.get.ts
  • server/routes/oauth/discord.ts
  • server/routes/oauth/github.ts
  • server/utils/contributors.ts
  • server/utils/session.ts
  • shared/hackathons.ts
  • shared/types.ts
  • test/browser/index.spec.ts
  • test/nuxt/color-mode.js
  • test/nuxt/index.spec.ts
  • test/unit/index.spec.ts
  • tsconfig.json
  • vercel.json
  • vitest.config.ts
💤 Files with no reviewable changes: 45
  • app/components/TheLogo.vue
  • app/assets/css/main.css
  • server/routes/logout.get.ts
  • test/unit/index.spec.ts
  • server/api/contributors/index.ts
  • app/pages/[username].vue
  • test/browser/index.spec.ts
  • app/components/CopyButton.vue
  • vitest.config.ts
  • app/components/IssuesCard.vue
  • app/components/CommentsCard.vue
  • app/components/ReactionsCard.vue
  • app/pages/index.vue
  • .env.example
  • app/components/AppHeader.vue
  • app/components/home/HomeHero.vue
  • app/components/AppFooter.vue
  • test/nuxt/index.spec.ts
  • app/components/PullRequestCard.vue
  • server/middleware/card.ts
  • app/composables/nuxter.ts
  • app/components/ContributorDetailedScore.vue
  • app/components/home/HomeContributors.vue
  • nuxt.config.ts
  • shared/hackathons.ts
  • test/nuxt/color-mode.js
  • server/utils/session.ts
  • app/components/OgImage/Nuxter.satori.vue
  • .nuxtrc
  • app/plugins/nuxter.server.ts
  • server/routes/connect/[provider].get.ts
  • .gitignore
  • app/app.config.ts
  • pnpm-workspace.yaml
  • shared/types.ts
  • app/composables/numberFormatter.ts
  • server/middleware/auth.ts
  • app/app.vue
  • server/routes/oauth/discord.ts
  • server/utils/contributors.ts
  • server/index.d.ts
  • app/components/home/HomeJoin.vue
  • server/routes/oauth/github.ts
  • server/api/contributors/[username].ts
  • app/components/home/HomeCard.vue

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

📝 Walkthrough

The changes remove the Nuxt app, contributor profiles, authentication flows, and related server endpoints and utilities. The README describes importing contributor data and the former site’s redirects and data endpoints. Vercel is configured to rewrite /api/contributors to /contributors.json. Project scripts, dependencies, type checking, linting, and CI checks are also updated.

Priority: ⬇️ Low

Estimated code review effort: 4 (Complex) | ~45 minutes

Merge Risk: ⚪ Minimal · up to c13fb

No concrete merge-blocking defect is established by the reviewed changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly summarizes the primary change: removing the Nuxt app and retaining the contributor collector.
Description check Passed The description directly explains the removal of the Nuxt app, the retained collector and public files, static deployment changes, tooling updates, and validation steps.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (5 skipped: 5 unsupported.)

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@atinux
atinux merged commit 02651c3 into main Oct 22, 2026
12 of 13 checks passed
@atinux
atinux deleted the chore/keep-collector-only branch October 22, 2026 16:15

This branch was successfully deployed

1 active deployment
Preview — c13fb8bd Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant