This is the source code for my personal website at https://thtmnisamnstr.com. It is a Next.js site with a theme inspired by VS Code.
- Clone the repo.
- Run
npm install. - Run
npm run devand open http://localhost:3000.
- Clone the repo.
- Run
npm install. - Run
npm run build(this also generates RSS feeds and sitemap output inpublic/). - Optionally run
npm run serveto serve the production build locally.
- Run
npm run lintfor lint checks. - Run
npm run typecheckfor TypeScript checks. - Run
npm run testfor unit/integration tests. - Run
npm run verifyto run lint, typecheck, tests, and build together. - Pull requests run these checks in GitHub Actions along with runtime crawl and Lighthouse assertions.
- Run
npm run cleanto remove local build/test/cache artifacts and generated outputs.
- Build first:
npm run build. - Serve locally:
npm run serve -- --port 3000. - In another shell, run
npm run test:e2e:crawlto crawl all sitemap routes and fail on runtime/image errors.
- Run
npm run optimize:imagesto optimize local image assets. - Only files
>=1MBare recompressed by default.
- Deploy via your Netlify site configuration connected to this repository.
- Ensure required environment variables are set in Netlify (for example Segment keys if used).