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
---/ai/image-playground catalogs 1,114 images. Claude Opus 5.5 wrote the prompts and GPT-6.2 Sol rendered them.
src/data/image-playground.jsonhas one entry per image: the prompt, the agents involved, size, timing and color.- The WebP files live in the
lukeberrypi-imagesR2 bucket, served fromimages.lukeberrypi.com:image-playground/thumbs/(400px tall) andimage-playground/full/(up to 1280px), named by catalog number.IMAGE_BASEinsrc/lib/image-playground.tspoints there. - "More like this" is computed at build time in
src/lib/image-playground.ts. - The grid page lays out its tiles in
src/scripts/image-playground.tsand only keeps the ones near the screen in the page, so scrolling stays smooth. - Every image also gets its own page at
/ai/image-playground/<number>, with its own preview card for sharing.
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 [email protected] 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.