Welcome to my personal website! This is an MIT licensed Next.js-based Jamstack application. It offers a simple interface, easy modifications, static export capabilities, and free automatic deployments via GitHub Pages.
- Built with modern TypeScript, using Next.js 15.4, React 19, and SCSS.
- Type-safe development with TypeScript strict mode.
- Optimized performance with static export and automatic font optimization.
- Automated workflows via GitHub Actions.
- And more!
Ensure you have node >= v20. Optionally, use nvm to manage node versions.
-
(Optional) Ensure you're on Node v20 or higher:
nvm install node --version
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
By default, the application will be available at http://localhost:3000/.
-
Build the static export:
npm run build
The build process automatically creates a static export in the
out/directory. -
Preview the production build locally:
npm run start
-
Update the environment variables and Git remote URL in
.github/workflows/github-pages.yml. -
Enable GitHub Actions and Pages for your repository.
-
Push to the
mainbranch to trigger automatic deployment.git add . git commit -m "Deploy to GitHub Pages" git push origin main
You can export the site as static HTML to host anywhere:
npm run buildThe static files will be automatically generated in the out/ directory.
npm run lint # Run ESLint
npm run type-check # Run TypeScript type checking
npm run format # Format code with Prettier
npm run format:check # Check code formatting
npm test # Run Jest tests