Personal website and blog built with Astro and deployed on Cloudflare Workers.
npm install
npm run devOpen http://localhost:4321 to preview changes live.
Create a new Markdown file in src/content/blog/, e.g. src/content/blog/2026-11-28-my-new-post.md:
---
title: "My New Post"
date: 2026-11-28
published: true
---
Write your post here in Markdown.Set published: false to keep a post as a draft (excluded from the site and RSS feed).
npm run build # Builds static site to ./dist
npm run deploy # Builds and deploys to Cloudflare Workers via WranglerOr connect this GitHub repo in the Cloudflare Dashboard (Workers & Pages → Create → Import a repository) with:
- Build command:
npm run build - Deploy command:
npx wrangler deploy