Menu

1 / 2

I built a 11-language B2B site on Astro 6 + Cloudflare Workers — here's what surprised me

DEV Community·Martin Adams·6 months ago
#yNH7vTNs
#surprise#astro#cloudflare#resvg#wasm
Reading 0:00
15s threshold

I recently shipped china-sourcing-agents.com — a B2B sourcing agency site for electronics and IoT hardware. It supports 11 languages, generates dynamic OG images at the edge, has full-text search with zero backend, and accepts leads through a form that emails me directly.

Total monthly infrastructure cost: $0 (all within free tiers).

Here are the things that genuinely surprised me while building it.

The stack

Astro 6 — framework Cloudflare Pages — hosting (static assets + edge worker) Tailwind CSS v4 — styling MDX + Zod 4 — content collections satori — OG image text rendering @resvg/resvg-wasm — SVG → PNG at the edge Pagefind — build-time full-text search index Resend — transactional email Cloudflare Turnstile — bot protection

Enter fullscreen mode

Exit fullscreen mode

Almost entirely static.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.