跳到正文

Turnstile Demo: Workers

维护中
cloudflare/turnstile-demo-workers

Cloudflare 官方的极简示例:在 Workers 上用 Turnstile 保护表单,演示隐式和显式两种组件渲染方式。

在 GitHub 查看
星标
265
Fork
85
关注
265
未关闭 Issue
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

按共同分类和标签排序的同类开源项目。

全部安全项目 →