Using Cloudflare Workers and reCAPTCHA v3 for a Static Site Contact Form

22 pointsposted 7 hours ago
by speckx

7 Comments

devy

4 hours ago

Google has reduced the free tier limit for reCAPTCHA v3 from 1 million down to 10,000 assessments per month as part of its mandatory migration to Google Cloud. [1] So basically it's NOT a viable anti-spam mechanism for many use cases any more because that 10k asessment is easily breached. Let alone the fact that you can't use recaptcha v3 unless you signs up for Google Cloud as well.

Cloudflare Turnstile is a valid alternative though. [2]

[1] https://docs.cloud.google.com/recaptcha/docs/migration-overv...

[2] https://www.cloudflare.com/products/turnstile/

arbol

3 hours ago

If you're getting hundreds of thousands of spam submissions then you probably need to pay for bot protection.

goda90

5 hours ago

Is reCAPTCHA v3 the one that has the chance of forcing you to use a Google or Apple phone to scan a QR code even if opening it on a PC?

bhhaskin

3 hours ago

If I hit something like that I am just gonna close the tab and move on with my day.

If it's something really important then I am going to very loudly complain to their support until I can bypass it.

dom96

5 hours ago

Workers are great for this sort of thing and these days with Turnstile and Email Sending beta[1] you can have Cloudflare handle it all

1 - https://developers.cloudflare.com/email-service/

rowlandc

4 hours ago

That was my thought too .. why use anything but CloudFlare for this? Turnstile works great and it can send email itself.. why go external?

aquariusDue

4 hours ago

Cloudflare Workers and HTMX also pair up well.