Skip to content

Turnstile Demo: Workers

Maintained
cloudflare/turnstile-demo-workers

Cloudflare's minimal demo of a Turnstile-protected form on Workers, showing both implicit and explicit widget rendering.

View on GitHub
Stars
265
Forks
85
Watchers
265
Open issues
1

Overview

A simple, official demo of a Turnstile-protected form running on Cloudflare Workers. Turnstile is Cloudflare’s privacy-friendly CAPTCHA alternative, and this repo shows the two ways to add the widget:

  • Implicit rendering — the widget renders automatically from markup
  • Explicit rendering — you render it from JavaScript when you choose

Run it

npm install
npm run dev      # local Worker; press b to open the demo
npm run deploy   # publish to your account

Similar open-source projects, ranked by shared categories and tags.

All Security projects →