Skip to content
Go back

First Post

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:

GitHub

The usual workflow:

Cloudflare

I already had an account and domains with Cloudflare, so this part was quick.

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/ 🎉


Share this post on:

Previous Post
Free AI Tools