Skip to content

Repository files navigation

wibrow.dev

Personal blog and portfolio. Astro 6 + React islands + Catppuccin theme. Deployed to Cloudflare Workers (static assets).

Local dev

bun install
bun dev          # http://localhost:4321
bun run build    # output to dist/
bun run preview  # preview the production build

Adding content

  • New post: drop a .md file in posts/ with frontmatter (title, date, description, author, tags). It auto-publishes to /posts/<slug>/.
  • New TIL: drop a .md file in til/ with frontmatter (title, date, tags). Auto-publishes to /til/<slug>/.
  • Mark a post as unpublished: draft: true in frontmatter.
  • Images: public/images/posts/<slug>/foo.png, referenced as /images/posts/<slug>/foo.png.

SEO smoke tests

bun run seo:check                              # tests wibrow.dev
SITE=http://localhost:4321 bun run seo:check   # tests local preview

Deploy

Config lives in wrangler.jsonc (Worker wibrow-dev, static assets from dist/).

  • Pushes to main: GitHub Actions builds and runs wrangler deploy (live).
  • Pull requests: wrangler versions upload publishes a preview version and comments the preview URL.
  • Manual: bun run deploy (builds + deploys from your machine; requires wrangler login or CLOUDFLARE_API_TOKEN).

Custom domains wibrow.dev and samuel.wibrow.dev are declared in wrangler.jsonc and attached to the Worker on deploy.

About

My Personal Blog

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages