A personal website and blog built with Astro, React islands, and Tailwind CSS. Articles are authored as markdown in src/articles/ and rendered via Astro content collections.
Install dependencies and run the development server with Bun:
bun install
bun run devOpen http://localhost:4321 to see the result.
bun run dev- start the dev serverbun run build- build the static site todist/bun run preview- preview the production build locallybun run start- serve the production build locally on$PORTbun run deploy- build and deploy to Cloudflare Workers
Articles are markdown files in src/articles/, and drafts live there too, on main. An article with draft: true shows up in bun run dev with a draft badge, but production builds leave it out, so you can commit and push drafts whenever you like.
bun run new "My title"- start a draft atsrc/articles/my-title.mdand open it in VS Code (setBLOG_EDITORto use another app)bun run drafts- list drafts, their word counts and anything left to fixbun run ship my-title- publish a draft: setsdateto today, removesdraft: true, commits the file and pushesmain, which deploys it
ship also takes part of a slug (bun run ship raycast). It stops if the draft still has a TODO, FIXME, TK or an empty link; pass --force to ship anyway.
To start drafts from Raycast, add scripts/raycast in Raycast under Settings → Extensions → Script Commands → Add Directories.
Frontmatter:
---
title: "My article"
date: "2026-01-01"
tags: ["technology"]
location: "London, United Kingdom"
draft: true
---Hosted on Cloudflare Workers with static assets. wrangler.jsonc configures the lukeberrypi-blog Worker and both lukeberrypi.com and www.lukeberrypi.com.
Run bun run deploy after wrangler login for a manual deployment. Cloudflare Workers Builds uses bun run build followed by npx wrangler@4.153.0 deploy from the repository root on pushes to main.
DNS is hosted by Cloudflare. Existing Zoho mail, DKIM, Bluesky, and domain verification records are preserved. No application secrets or database are required.