Self-host FCaptcha
v1.46.1Open-source CAPTCHA that detects AI agents and bots
- Stars
- 227
- Port
- 3000 (HTTP API, widget, and demo page)
ghcr.io/webdecoy/fcaptchaWhat is FCaptcha?
FCaptcha is a self-hosted CAPTCHA system that detects bots, headless browsers, automation frameworks, and vision-based AI agents such as GPT-4V and Claude Computer Use. It uses behavioral biometrics (mouse micro-tremor, keystroke cadence, touch kinematics), environmental fingerprinting (Playwright, Puppeteer, Selenium detection, CDP artifacts, TLS JA3/JA4), and server-verified SHA-256 proof-of-work challenges. The widget offers checkbox or invisible modes and serves drop-in compatible siteverify endpoints for Turnstile, reCAPTCHA, and hCaptcha so migration is a base-URL change. It runs as a single container (Go, Python, or Node.js) with optional Redis for multi-replica state sharing. No cookies, no third-party data, no persistent fingerprinting. Licensed MIT.
Should you self-host FCaptcha?
FCaptcha scores 50/100 on selfhost.directory (how scoring works) and ranks #42 of 78 in Security. It has 227 GitHub stars.
It shipped 21 stable releases in the past year. The latest, v1.46.1, came out on 21 October 2026. New versions land roughly every 6 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in JavaScript.
Its closest alternative on selfhost.directory is capjs (72/100, 8 197 stars). It scores higher overall, so compare the two before you pick. See FCaptcha vs capjs side by side.
FCaptcha README
FAQ
What does proof of work mean for CAPTCHA security?
Proof of work requires visitors to complete SHA-256 cryptographic challenges before submission, forcing bots to spend real compute resources per request. Humans experience a brief delay (typically under 500ms), while botnets face significant CPU costs. Combined with behavioral analysis, it creates defense-in-depth.
Can I self-host FCaptcha without external API calls?
Yes. FCaptcha is designed for complete self-hosting with no external dependencies. Choose from server implementations in Go, Python, or Node.js. All verification happens on your infrastructure with no data sent to third parties.
What is vision AI detection and why does it matter?
Vision AI detection identifies bots that take screenshots of CAPTCHA challenges, send them to vision APIs like GPT-4V or Claude, and use returned coordinates to click. FCaptcha detects this via timing signatures, interaction entropy, and behavioral inconsistencies that distinguish human solving from API-driven automation.
How is FCaptcha different from reCAPTCHA or Cloudflare Turnstile?
FCaptcha is fully open source with auditable scoring algorithms, runs self-hosted with no external dependencies or data sharing, and specifically detects vision-based AI agents that can solve traditional CAPTCHAs. Unlike reCAPTCHA and Turnstile, it keeps all data on your servers with no persistent fingerprinting or cross-site tracking.
What is FCaptcha and how does it detect bots?
FCaptcha is an open-source CAPTCHA system that detects bots through multiple verification layers: vision AI detection for screenshot-to-API automation, SHA-256 proof of work with server-side timing validation, keystroke cadence biometrics analyzing 7 typing metrics, and 50+ behavioral signals including mouse micro-tremor analysis and Playwright detection.
More in Authentication
fn-knockSelf-hosted gateway that combines reverse proxy, authentication, WAF, SSL certificates, DDNS, and tunneling for home servers and NAS devices.
FreeIPAOpen-source, self-hosted identity management for Linux/UNIX networks: LDAP, MIT Kerberos SSO, certificate authority, DNS and AD trusts, with CLI, Web UI and API.
freeradius-serverSelf-hosted open-source RADIUS daemon for 802.1X, VPN and dial-in AAA, with EAP, SQL/LDAP/Active Directory backends and proxying; scales to ISP-level user bases.
FrostbaseFrostbase is a self-hosted, open-source Firebase alternative on Cloudflare Workers with auth, realtime DB, SQL, storage, and remote config.
FusionAuthFusionAuth is a self-hosted CIAM platform for auth, authorization, and user management with SSO, MFA, passkeys, and social login. Free Community edition available.
geoblockSelf-hosted forward auth that allows or denies requests by country, ASN, IP range, domain, and HTTP method. Works with Traefik, NGINX, Caddy.
GetMCPGetMCP is a self-hosted Zero Trust proxy for AI agents that generates MCP servers from OpenAPI specs and enforces per-agent policies with tamper-evident audit logs.
GLAuthOpen-source, MIT-licensed LDAP server for developers and homelabs, with config-file, S3, ownCloud, database or LDAP-proxy backends, 2FA and a REST stats API.
handshakeHandshake is a self-hosted, open-source Next.js app that manages OAuth flows to acquire access tokens for your users across 200+ APIs. Deploy to Vercel or run locally.
hankoOpen-source self-hosted authentication and user management platform with passkeys, MFA, OAuth SSO and SAML, an API-first alternative to Auth0 or Clerk.
JauthSelf-hosted reverse proxy with SSL/TLS, SSH key and Telegram login auth, plus optional SSO for multiple domains.
Jentic OneJentic One is a self-hosted, open-source execution layer letting AI agents securely call real APIs without handling credentials.
0 comments