tiagozip /cap
The open-source, privacy-friendly CAPTCHA you host yourself. Bots and AI agents out, people in.
★ 8,420⑂ 658👁 25⑃ 98● 243▤ 157
+12
Daily
8,420
stars
658
forks
25
watchers
98
prs
243
issues
157
releases
README
a privacy-first and self-hosted CAPTCHA.
read the docs or try the demo
what's cap?
cap is a self-hosted and privacy-first captcha alternative that doesn't force your users to click on traffic lights. there are no puzzles, no tracking, and no third parties watching your visitors.
instead, the user's browser quietly solves a few small challenges in the background, such as gpu-resistant proof-of-work and instrumentation, which can also be configured to stop autonomous AI agents from using up your resources.
it has no dependencies by default, is 200x smaller than hCaptcha, and you can run it with docker, on workers or on railway. it's already used in production by large companies like bunny.net and adguard.
license
cap is licensed under apache 2.0.Top issues
#367[bug] On older CPU architectures4 comments · 2026-11-14#320Build and publish Docker image through CI with provenance4 comments · 2026-09-22#358Optional Simplified Chinese (zh-CN) localization for capd dashboard with English fallback0 comments · 2026-11-11
Latest release
[email protected] [email protected] 2026-11-15Uses capjs-core 0.1.18. Desktop Chromium browsers launched with a custom user agent, through a --user-agent flag or a distro wrapper, no longer fail ua_hints_blank. Chromium blanks the high-entropy client hints for any custom user agent, so only empty brands, which a DevTools override like nodriver's leaves, still blocks.