← Field Guides

Making Astro Sites

Last updated November 2026

Who this is for

You want to build fast websites without WordPress, and you want one path that already works instead of a comparison chart. This is the setup I use for my own sites and for client sites at Websites by Jeremy. It is opinionated. It is also the whole workflow, start to finish, including what it costs and the commands that matter.

No affiliate links anywhere in this guide. If I link to something, it's because I use it.

What you'll end up with

A site that lives on GitHub, deploys to Cloudflare, keeps its secrets in Doppler instead of files, has legal pages that stay current on their own, counts visitors without tracking them, sends form email that actually arrives, and tells you when it goes down.

The stack at a glance

  • Astro the framework $0
  • GitHub where the code lives $0
  • Cloudflare domains, DNS, hosting $0–$5/mo
  • Doppler secrets $0
  • Termageddon legal pages $12/mo or $119/yr per site
  • Fathom analytics $15/mo
  • Postmark form email $0–$14/mo
  • Better Stack uptime monitoring $0
  • Cursor and Claude Code where the work gets done $0–$20/mo

Most of this stack is free. Astro, GitHub, Doppler, and Better Stack cost nothing. Cloudflare and Postmark have free tiers that cover a normal site. The two things that actually cost money are Fathom ($15 a month, covers 50 sites) and Termageddon ($12 a month or $119 a year per site).

So one site on this stack, on free tiers where they exist, runs about $15 to $27 a month plus the domain, depending on whether you want the legal pages handled. My setup costs more because I pay for tiers I don't strictly need: about $44 a month for the stack, plus $20 for one coding agent. Those are November 2026 prices, and most of them are not per site, so a second site costs almost nothing extra.

The path

  1. Scaffold the site in Astro.
    npm create astro@latest
  2. Push it to GitHub.
  3. Deploy a preview to Cloudflare Workers.
    npm run preview
  4. Put every secret in Doppler. Inject them at deploy time with doppler run.
  5. Check the preview. Then deploy production.
    npm run deploy
  6. Add legal pages with Termageddon.
  7. Add analytics with Fathom.
  8. Wire up Postmark for contact form email.
  9. Watch uptime with Better Stack.

My repos wrap Wrangler in npm scripts, so preview and deploy are the same two commands on every site.

The tools, in the order you meet them

Astro

Currently my favorite way to make a website.

What it's for here

most new websites I build. This site runs on it, and the Websites by Jeremy site is moving to it.

Why this one

I can mostly write HTML and CSS until I actually need JavaScript. It is fast, simple, and flexible, and it doesn't make a normal website feel like I'm building a React application.

What it replaced

WordPress, for about ten years. Astro is a big part of how I'm moving new projects off it.

What it costs

free and open source.

GitHub

Where the code for this site lives. Every site I build starts as a repo, and deploys come from there. I use GitHub Actions too.

What it costs

free. The free tier covers everything in this guide.

Cloudflare

Where basically everything ends up.

What it's for here

registering domains, DNS, and hosting my Astro sites on Workers. This site and the new Websites by Jeremy site both deploy there. Some behind-the-scenes data lives in D1, and client sites use Turnstile on their forms.

Why this one

one account holds the domain, the DNS, and the hosting, so there is one place to look when something breaks. New work consolidates here instead of on a traditional WordPress and VPS stack.

What it costs

Workers Paid is $5 a month per account, and that covers a lot of sites. Domains are priced at cost.

Doppler

What it's for here

keeping the secrets my sites and scheduled jobs need (API keys and tokens) in one place, instead of in files. Deploys pull them in with doppler run, so a token never sits in a repo or a config file. That covers deploy time. A Worker that needs a secret while it runs gets it as a Worker secret instead.

Why this one

on a server, a Doppler-held API token beats a login. Logins expire. A token you control does not. I learned that the day a Wrangler login died mid-deploy.

What it costs

free for up to 20 projects, which covers everything I run.

Termageddon

What it's for here

the legal pages on my sites and on client sites (privacy, terms, disclaimers), kept up to date automatically when the laws change.

Why this one

I am not a lawyer, and I don't want to re-read a privacy policy every time a state passes a new law. Termageddon drafts them and updates them. I install the embed code.

What it costs

$12 a month or $119 a year per site at the standard rate. I hold an agency license, which covers my own site and bundles into client Site Plans.

Fathom

What it's for here

analytics for my sites. Pageviews without the surveillance.

Why this one

I need to know a page got visited. I do not need to follow anyone around the internet to learn that. Fathom gives me the counts and nothing I have to apologize for in a privacy policy.

What it costs

$15 a month, for 100k pageviews across 50 sites.

Postmark

What it's for here

sending the emails my sites need to send. Contact forms, and the support inbox for Studio.

Why this one

form email that lands in spam is the same as no form at all. Postmark is boring in the right way. It sends, it delivers, it tells me when it didn't.

What it costs

free up to a monthly message limit, which is enough for a contact form. I pay about $14 a month because my sites send more than that.

Better Stack

Uptime monitoring for the sites I look after. If a client site goes down at 2 AM, I would rather hear it from a monitor than from the client.

What it costs

there is a free tier. I picked up a lifetime deal on AppSumo a while back, so it costs me nothing month to month.

Cursor and Claude Code

Where the work actually gets done. My coding agents run through Cursor, and Claude Code does the bulk multi-file build work: site builds, edits, the heavy lifting. I write the brief, the agent builds, I review the result and test it live. That division of labor is its own guide someday. The short version is in the tips below.

What it costs

you only need one coding agent to do everything in this guide. Cursor Pro is $20 a month and is enough on its own. I pay for more than one ($20 for Cursor Pro, $20 for Claude, $30 for the SpaceX unified plan), but that is my setup, not a requirement.

Tips

Start here

If you only copy three things:

Last updated

November 2026. When something in this setup changes, this guide changes with it.