DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป is a community of 970,177 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Turnstile , alternative to CAPTCHA from cloudflare
chandra-penugonda
chandra-penugonda

Posted on

Turnstile , alternative to CAPTCHA from cloudflare

Demo: https://demo.turnstile.workers.dev/

Turnstile is our smart CAPTCHA alternative. It automatically chooses from a rotating suite of non-intrusive browser challenges based on telemetry and client behavior exhibited during a session.

Less data collection, more privacy, same security

Swap out your existing CAPTCHA in a few minutes

You can take advantage of Turnstile and stop bothering your visitors with a CAPTCHA even without being on the Cloudflare network. While we make it as easy as possible to use our network, we don't want this to be a barrier to improving privacy and user experience.

To switch from a CAPTCHA service, all you need to do is:

  1. Create a Cloudflare account, navigate to the Turnstile tab on the navigation bar, and get a sitekey and secret key.
  2. Copy our JavaScript from the dashboard and paste over your old CAPTCHA JavaScript.
  3. Update the server-side integration by replacing the old siteverify URL with ours.

source code for demo example: https://github.com/cloudflare/turnstile-demo-workers

reference: https://blog.cloudflare.com/turnstile-private-captcha-alternative/?ck_subscriber_id=904285867

Top comments (1)

Collapse
 
khuongduybui profile image
Duy K. Bui • Edited on

I wanted to use this with Deno Fresh framework, so I created a plugin.

deno.land/x/fresh_turnstile

EDIT: shameless self-promotion

I made the plugin MIT and wrote a post about how to use it here: dev.to/khuongduybui/cloudflare-tur...

Take a look at this:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. ๐Ÿ›