This project aims to celebrate the contributions of the Astro community.
Get badges to show off on your sites and READMEs!
👉 https://astro.badg.es 👈
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm i |
Installs dependencies |
pnpm start |
Starts local dev server at localhost:4321 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
This project uses the GitHub REST API to gather public data about contributions to the withastro
org. Data collection is run once per day in a GitHub action and automatically committed to this repository.
You can run pnpm collect-stats
to run data collection locally (for example to test changes to the script), but should first ensure a GITHUB_TOKEN
environment variable is set up, containing a GitHub personal access token. Create a .env
file in the repo root and add your token there for it to be detected automatically for local runs:
GITHUB_TOKEN=github_pat_......