Welcome to my blog! This is my first post with the new blog setup. This time, I’m using Astro and Cloudflare Workers.
Table of Contents
Open Table of Contents
Setup
Astro
Run the install command for Astro using the AstroPaper template:
npm create astro@latest -- --template satnaing/astro-paper
That’s basically it. The README includes a great table of common commands, but I was mainly looking for pnpm run dev to preview the default blog layout. The starter content is robust and gets you up and running fast.
Some tweaks I made:
- Customized constants in 
config.tsandconstants.ts - Removed sample blog content and images
 - Cleaned up the README
 
GitHub
The usual workflow:
- Created a new repository
 - Pushed everything up
 
Cloudflare
I already had an account and domains with Cloudflare, so this part was quick.
- Logged in
 - Navigated to the Workers section
 - Started a new project from the GitHub repo
 - Plugged in the build and deployment commands (from the AstroPaper README)
 
Then, I added a wrangler.jsonc file in my local repo—this tells Cloudflare Workers how to run the project. Here’s the simple config I started with:
{
  "name": "blog",
  // Update to today's date
  "compatibility_date": "2025-07-26",
  "assets": {
    "directory": "./dist",
  },
  "observability": {
    "logs": {
      "enabled": true,
    },
  },
}
I committed this file and kicked off my first build! Naturally, it failed at first because npx wrangler deploy couldn’t find wrangler—I hadn’t installed it. A quick npm i wrangler fixed that.
And now, the blog is live at: https://blog.trangelier.dev/ 🎉