A proof-of-work CAPTCHA backend, deployable on Cloudflare Workers / Pages. This instance is live.
POST https://lap.qomicex.top/:siteKey/challenge — issue a challengePOST https://lap.qomicex.top/:siteKey/redeem — redeem a solved challengePOST https://lap.qomicex.top/:siteKey/siteverify — verify a token (server-side)POST https://lap.qomicex.top/admin/keys — create a site key (needs x-admin-key)GET https://lap.qomicex.top/widget.js — main widget bundleGET https://lap.qomicex.top/widget.compat.js — legacy-browser buildGET https://lap.qomicex.top/floating.js — floating-mode helper# 1. Create a site key (save the returned 'secret'!)
curl -X POST https://lap.qomicex.top/admin/keys \
-H "x-admin-key: $ADMIN_KEY" \
-H "content-type: application/json" \
-d '{}'
# 2. Drop the widget into your page (served by this Worker)
<script src="https://lap.qomicex.top/widget.js"></script>
<lap-widget data-lap-api-endpoint="https://lap.qomicex.top/YOUR_SITE_KEY/"></lap-widget>
# 3. On your server, verify the token the widget produced
curl -X POST https://lap.qomicex.top/siteverify \
-H "content-type: application/json" \
-d '{"secret":"YOUR_SECRET","response":"SITEKEY:ID:TOKEN"}'
Lap is a rebranded fork of Cap, Apache-2.0.