This is the source code repository for my personal portfolio website. The project is based on Bun for fast development and optimized production builds.
src/: Contains the source code (HTML, JavaScript, CSS). Development happens here.public/: Static files (Images, CNAME), which are copied unchanged to the build.server.ts: Development server configuration with hot-reloading (HMR).
Install dependencies:
bun installStart the local development server:
bun run devThe site will be available at http://localhost:3000.
Deployment is automated via GitHub Actions.
- Development (
develop): All new features and changes are made in thedevelopbranch. - Release (
main): When the state is stable,developis merged intomain(Pull Request). - Auto-Deploy: A push to
mainautomatically triggers the build and deployment to GitHub Pages.
bun run dev: Starts the dev server with hot-reloading (HMR).bun run build: Builds the optimized version into thedist/folder and copies public assets.bun run clean: Removes thedist/folder.bun run preview: Serves the production build from thedist/folder (for testing).