Personal homepage built with React, Vite, and TypeScript.
src/— React components, page data, TypeScript types, and site styles.public/assets/— images, icons, SVGs, and videos only.public/data/— generated public data consumed by the site.scripts/— repository automation scripts..github/workflows/— contribution syncing and GitHub Pages deployment.
npm install
npm run devnpm run typecheck
npm run buildVite writes the deployable site to dist/. Compiled JavaScript and CSS live in
dist/static/, while dist/assets/ remains reserved for media resources.
scripts/sync-github-contributions.mjs fetches the rolling 26-week official
GitHub contribution calendar and writes public/data/github-contributions.json.
The scheduled workflow refreshes it every six hours, and a successful sync
automatically triggers a new Pages deployment.