Skip to content
Tech News
← Back to articles

Developer builds spam-resistant 11ty contact form using Cloudflare Workers and reCAPTCHA v3

read original get O'Reilly "Learning Serverless" by Jason Katzer → more articles
GoKawiil Brief

A blogger detailed how they replaced their static site's contact form backend with Cloudflare Pages Functions, combining reCAPTCHA v3 (or optionally Cloudflare Turnstile) with the Resend email service to block spam submissions. The setup collects a visitor's name, email and message, then routes it through a Worker to a custom email address for filtering. The approach was inspired by a prior migration guide from Netlify to Cloudflare by developer Sia Karamalegos.

Why It Matters

GoKawiil's interpretation of the reporting above, not reported fact.

Static sites built with tools like 11ty have no native backend to process form submissions, so developers must rely on serverless functions to handle tasks like email delivery and spam filtering. This walkthrough offers a concrete, low-cost pattern for adding dynamic functionality to otherwise static, JAMstack-style websites without abandoning their performance and simplicity benefits.

Key Takeaways
Worth a Look

O'Reilly "Learning Serverless" by Jason Katzer — If tinkering with Cloudflare Workers and serverless contact forms is your thing, this O'Reilly book digs into designing, developing and deploying serverless functions properly. It's a great companion for going beyond a single form handler into robust edge architectures.

See O'Reilly "Learning Serverless" by Jason Katzer on Amazon → Affiliate link — we may earn a commission on purchases, at no extra cost to you. Product picked by AI based on this article; it is not a tested recommendation.

Source: nooshu.com — Matt Hobbs, 2026-09-02

Published there as: “Using Cloudflare Workers and reCAPTCHA v3 for a Static Site Contact Form”

Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.