Astro

A web framework that ships plain HTML by default and adds server routes only where you need them. It's the frontend in nearly every workflow here.

What it is

An open-source framework for content-driven sites and small apps. You write pages as .astro files (HTML with a frontmatter script block), and Astro builds them into static HTML with zero JavaScript sent to the browser unless you opt in. When a page needs interactivity you add a component from React, Svelte, Vue, or plain <script>, and only that piece hydrates.

Why it suits founders: any file in src/pages/api/ can be a server endpoint. Add export const prerender = false and an adapter (npx astro add node, cloudflare, vercel…) and the same project handles form posts, webhooks, and API calls alongside its static pages. One repo, one deploy.

When to use it

  • Landing pages, waitlists, docs, blogs, marketing sites: anything mostly content.
  • Small products where a handful of server routes (signup, checkout, webhook, chat) sit behind otherwise static pages. That’s every workflow on this site.
  • When you want type-checked content: content collections validate markdown frontmatter at build time (this site’s workflows, tools, and stacks are exactly that).

When NOT to

Highly interactive, app-like UIs where nearly every screen is live state, such as editors, real-time dashboards, drag-and-drop builders. You’ll end up hydrating everything; a client-first framework (React with Vite, Next.js, SvelteKit) fits that better.

Gotchas worth knowing up front

  • Static by default. A server route without export const prerender = false (or without an adapter) gets built as a static file and returns 404 for POSTs in production.
  • PUBLIC_ env vars go to the browser. Secrets must have no prefix.
  • Runtime matters. On Cloudflare, server code runs on Workers, not Node. Most fetch- based SDKs (Resend, Stripe, Anthropic) work; libraries that need Node’s filesystem don’t.