Personal website built with Astro.
- Node.js
>=24.20.0 <25 - pnpm
11.25.0
Install dependencies:
pnpm installStart the development server:
pnpm devOpen http://localhost:4321 in your browser. Astro reloads the page automatically when source files change.
Create a production build:
pnpm buildPreview the production build locally:
pnpm preview.
|-- content/
| `-- articles/ # Source articles and their assets
|-- public/ # Static assets copied directly to the output
|-- src/
| |-- components/ # Shared UI components
| |-- data/ # Site and project data
| |-- layouts/ # Shared page layouts
| `-- pages/ # Astro pages and routes
|-- astro.config.mjs # Astro configuration
|-- package.json # Scripts and dependencies
|-- pnpm-workspace.yaml # pnpm workspace settings
|-- tsconfig.json # TypeScript configuration
`-- wrangler.jsonc # Cloudflare deployment configuration
The site is generated as static files in dist/. To deploy those files to
Cloudflare Workers Static Assets, authenticate Wrangler and run:
pnpm exec wrangler login
pnpm deployThe deploy command creates a fresh production build before uploading it.
This project is licensed under the MIT License.