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
JavaScriptNOASSERTIONCreated 2025-01-11trycap.dev
+12
日增长
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

Latest release

[email protected] [email protected] 2026-11-15
Uses 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.

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON