Academic project page for WebCompass: A Unified Multimodal Benchmark and Evaluation Framework for Web Coding.
Production deployment target:
- GitHub Pages project site
- URL:
https://huayuankou9-arch.github.io/WebCompass/ - Base path:
/WebCompass
- Next.js (App Router)
- TypeScript
- Tailwind CSS
- shadcn/ui-style base components (
components/ui/*) - Framer Motion
- lucide-react
- Recharts
npm install
npm run devLocal URL: http://localhost:3000
npm run buildThis project uses Next.js static export (output: "export") and generates deployable static files in out/.
Deployment is automated by GitHub Actions:
- Workflow file:
.github/workflows/deploy.yml - Trigger: push to
mainormaster - Flow:
- Install dependencies
- Build static site
- Upload Pages artifact (
out/) - Deploy with
actions/deploy-pages
After each push, the site updates at:
https://huayuankou9-arch.github.io/WebCompass/
The frontend only renders figures that are referenced in LaTeX files under ../Paper/sec.
- Extraction script:
scripts/extract-used-figures.mjs - Output whitelist:
data/usedFigures.json
Run:
npm run sync:figures
npm run buildFigure rendering in data/figures.ts is filtered by this whitelist, and missing secondary assets are suppressed from the gallery.
next.config.jsapplies static export + repo base path in production.- Metadata and OG paths are generated with
/WebCompassin production. - Local
npm run devremains normal (no base path in development).
Frontend/
.github/workflows/deploy.yml
app/
components/
data/
lib/
public/
scripts/
styles/