This is the codebase for the v2 website.
Built using Astro.
These are the basic commands used for development:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
For local development, create a .env file in the root directory:
# GitHub Personal Access Token (for higher API rate limits)
GITHUB_TOKEN=your_github_token_hereGetting a GitHub Token:
- Go to GitHub Settings → Developer settings → Personal access tokens
- Generate new token (classic)
- No special permissions needed for public repo releases
- Copy the token and add it to your
.envfile
The website is deployed to GitHub Pages using GitHub Actions.
Setup:
- The workflow in
.github/workflows/deploy.ymlautomatically uses GitHub's built-in token - Push to
mainbranch triggers automatic deployment