Skip to content
nuxtPublic

About

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

187 stars

Watchers

4 watching

Forks

Repository files navigation

Nuxters

Nuxters

Discover the number of contributions you made to Nuxt and get the Nuxter badge on Nuxt Discord server.

The leaderboard and the profiles now live on https://nuxt.com/nuxters: nuxters.nuxt.com redirects there (pages, profiles and README cards, see vercel.json). This repository collects the contributor stats that nuxt.com imports every day.

Setup

Install the dependencies with pnpm:

pnpm install

Next, copy the .env.example to .env and fill the env variables.

Development

Start the development server on http://localhost:3000:

pnpm dev

Contributor stats

  • Run pnpm collect:contributors locally with NUXT_GITHUB_TOKEN set to a GitHub personal access token that can read public repos.
  • The script aggregates contributions across Nuxt organizations and writes one file per period to public/: contributors.json (all time), contributors-30d.json, contributors-12m.json and contributors-<year>.json (from 2016).
  • Merged PRs, helpful issues and helpful comments in nuxt/nuxt and its former homes (nuxt/framework, nuxt/docs, both archived but still collected) count double. Each record has a core object with that part, so the score can be explained.
  • It also writes profiles.json: the name, website and social accounts (Bluesky, X, LinkedIn, Mastodon…) of every all-time contributor who set any on their GitHub profile. If GitHub fails to return them, the previous file is kept.
  • To test locally on a few repositories without touching public/: COLLECT_REPOS=nuxt/docs,nuxt/nuxters CONTRIBUTORS_OUTPUT_DIR=/tmp/nuxters pnpm collect:contributors.
  • .github/workflows/update-contributors.yml refreshes the data nightly and on demand, committing changes automatically.

License

MIT License

About

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

187 stars

Watchers

4 watching

Forks

Used by

Contributors

Languages