antibot.dev
Sponsored Try LayerSift

Open source · tiagozip (open-source project)

Cap: pricing, features and how it works

Open-source (Apache 2.0), self-hosted proof-of-work CAPTCHA with a widget and standalone server. No per-request fees and no hosted tier.

Updated November 13, 2026 · 6 sources

The CAPTCHA you host yourself. Bots and AI agents out, people in.

How Cap describes itself

What it is

Cap is an open-source CAPTCHA that the site operator hosts on their own infrastructure. The vendor compares it with reCAPTCHA, hCaptcha and Turnstile and says it aims to stop scrapers, AI agents and headless browsers without visual puzzles or sending visitor data to third parties. The project is licensed under Apache 2.0 and published under the tiagozip GitHub account. Its GitHub repository showed about 8.4k stars and 655 forks.

The product has three parts: a browser widget loaded from jsDelivr, a standalone server (published as capd in the release tags), and a small npm library (capjs-core) for issuing and checking challenges in a custom backend. Tokens are checked with a POST to a siteverify endpoint whose request and response format the vendor says matches reCAPTCHA’s. Each token works once.

How it detects bots

Cap relies mainly on a challenge rather than on a risk score. The widget solves a proof-of-work puzzle (SHA-256 via WASM or time-lock challenges), and the vendor’s HashWX builds a new hash function per challenge. The vendor claims GPUs gain only about 2x over CPUs, versus about 150x for conventional proof-of-work. Server-generated JavaScript also checks the browser environment, which the vendor says detects Puppeteer, Playwright, Selenium, Camoufox and stealth plugins. A behavioural component scores pointer movement and key timing and flags scripted clicks.

Network-level signals are limited. Operators can cap how many challenges one IP can request in a window, and visitors who ask too often or come from networks the operator picks get a puzzle up to 10x harder. TLS or HTTP/2 fingerprinting, IP reputation and residential proxy detection are not described. Cap says it does not fingerprint users. For AI agents, each listed agent can be set to allow, flag or block, with a block-all option and an option to always let in agents that sign their requests.

Deployment

The documented path is to run the standalone server with Docker using a docker-compose file (DuckDB for small sites, ClickHouse for more scale), set an admin key, create a site key, and add the widget to a form. The guide also links a Railway template and a Workers page for serverless platforms. Keys and settings are stored in Valkey.

Visitors’ browsers talk to the server directly, so production use needs a public URL; the guide recommends Cloudflare Tunnels and points to the capd docs for reverse proxies. No managed or hosted service is described.

Pricing

Pricing is not published as tiers. The vendor’s homepage states that there is no paid tier holding features back and no per-request fees, third-party egress or API quotas. The software is free to use under Apache 2.0. Buyers should expect their own hosting and operations costs; the vendor says the server fits on a $5 VPS for most sites, which is a vendor claim. No enterprise offering, support plan or trial is described.

Where it fits

Cap suits teams that want to keep verification traffic on their own servers, avoid per-request charges, and accept proof-of-work challenges in place of visual puzzles. It needs an operator who can run and maintain a server and a public endpoint.

On privacy, the vendor says Cap sets no cookies, makes no third-party calls and does not fingerprint users, and its compliance page says users’ data never leaves the operator’s infrastructure. Cap claims no certifications such as SOC 2 or ISO, and says compliance depends on the deployment and is not legal advice. The vendor’s bot-blocking claims, such as over one billion solves in Q1 2026, come from its own materials, and no independent evaluation is cited.

Products

Cap widget
A browser widget loaded from jsDelivr as cap-widget, with checkbox, floating and invisible modes.
Cap standalone server (capd)
A self-hosted server run with Docker (docker-compose with DuckDB or ClickHouse analytics), a Railway template or serverless platforms; release tags use the capd name.
capjs-core
A minimal npm package for issuing and checking challenges in your own backend, with tokens stored in your own database and no dashboard, analytics or rate limiting.

Detection layers

Network Partial
Operators can limit challenges per IP; visitors asking too often or from chosen networks get puzzles up to 10x harder. No IP reputation or proxy detection.
Device Documented
Server-generated JavaScript checks the browser for Puppeteer, Playwright, Selenium, Camoufox and stealth plugins; Cap says it does not fingerprint users.
Behavior Partial
Scores pointer movement and key timing and flags scripted clicks and key presses; signals and models are not detailed.
Challenge Documented
Proof-of-work (SHA-256 via WASM or time-lock) plus browser checks; HashWX builds a new hash function per challenge. Checkbox, floating and invisible modes.

Feature checklist

From Cap’s public material. “Not documented” means we couldn’t confirm it, not that it’s missing.

Detection

  • ✕ Persistent visitor / device ID Cap says it does not fingerprint users, and no persistent visitor ID is described.
  • ? Bot or risk score per request Verdicts are pass or fail via siteverify; no per-request risk score is described.
  • ? TLS (JA3/JA4) or HTTP/2 fingerprinting Not described in Cap's website, documentation or GitHub README.
  • ◐ IP reputation, VPN, proxy and Tor detection Per-IP challenge rate limits and harder puzzles for operator-chosen networks; no reputation or VPN/proxy/Tor/datacenter detection.
  • ? Residential and mobile proxy detection Not described in Cap's public documentation.
  • ✓ Headless and automation framework detection Browser-environment checks detect Puppeteer, Playwright, Selenium, Camoufox and stealth plugins (vendor claim).
  • ◐ Behavioral analysis or biometrics Scores pointer movement and key timing and flags scripted input; narrower than full behavioural biometrics.

Challenges

  • ✓ Invisible or non-interactive challenge Checkbox, floating and invisible modes; invisible mode can run from your own code via new Cap.solve.
  • ✕ Interactive CAPTCHA or puzzle Cap is positioned as a CAPTCHA without visual puzzles; the challenge is proof-of-work.
  • ✓ Proof-of-work challenge SHA-256 via WASM or time-lock challenges plus HashWX; vendor says GPUs gain about 2x over CPUs versus about 150x typically.

Use cases

  • ? Account takeover and credential stuffing Not described in Cap's public documentation.
  • ? Fake accounts and signup abuse Signup protection is implied by CAPTCHA use but not explicitly described.
  • ◐ Scraping and content protection Cap says it blocks the automated browsers most AI agents use and that plain HTTP scrapers cannot pass (vendor claim).
  • ? Card testing and payment fraud Not described in Cap's public documentation.
  • ◐ AI agent identification or verification Per-agent Allow, Flag or Block settings and an option to always admit agents that sign requests; Web Bot Auth is not mentioned.
  • ◐ AI crawler controls Per-agent allow/flag/block and a Block all option for browser agents; robots.txt and pay-per-crawl controls are not described.
  • ? Virtual waiting room Not described in Cap's public documentation.
  • ? Client-side script security No Magecart or PCI DSS 6.4.3 monitoring is described.

Deployment and service

  • ? Enforcement at the CDN or edge Edge blocking before the origin is not described; the guide only links a Workers page for serverless platforms.
  • ? API and mobile backend protection Protection for browserless API or mobile backends is not described; siteverify is a server-side POST.
  • ? Native mobile SDKs No native iOS or Android SDK is described.
  • ✓ Self-hosted or on-premises option Runs as one Docker container via docker compose; a Railway template and serverless options are also linked.
  • ◐ Choice of data region Self-hosted, so the operator picks the location; data 'never leaves your infrastructure'. No regional options or formal statement.
  • ? Managed service or vendor SOC Only self-hosting is described; no managed service or security operations center is mentioned.
  • ✓ Permanent free plan Cap states 'There is no paid tier holding features back'; the code is Apache 2.0 licensed.

Pricing in detail

Published pricing
No, sold through sales
What you pay for
None for the software: self-hosted, vendor states no per-request fees, third-party egress or API quotas. Infrastructure cost only (vendor says it 'fits on a $5 VPS for most sites').
Free plan
Cap states: 'There is no paid tier holding features back.' The software is open source under Apache 2.0.
Enterprise
No enterprise offering is described in Cap's public materials.

Source: Cap pricing , checked November 13, 2026.

Integrations

Server
Docker (docker-compose with DuckDB or ClickHouse analytics; Valkey stores keys and settings)Railway one-click templateServerless platforms (the guide links a Workers page)capjs-core npm package for backend challenge issue and verifysiteverify endpoint with a reCAPTCHA-compatible request and response format
Client
cap-widget loaded from jsDelivr

How to spot Cap on a website

Cap leaves these markers in the pages it protects. Check any site with the bot protection checker, or see every bot protection cookie.

  • Page or challenge marker <cap-widget Cap web component tag in page markup (escaped code samples show &lt;cap-widget and won't match). source
  • Page or challenge marker data-cap-api-endpoint Required Cap widget attribute pointing at the Cap server. source
  • Script or host cdn.jsdelivr.net/npm/cap-widget Cap widget script (current package name cap-widget) from jsDelivr; also cap-floating.min.js from the same package. source
  • Script or host cdn.jsdelivr.net/npm/@cap.js/widget, unpkg.com/@cap.js/widget Cap widget script under the older/also-published package name @cap.js/widget (jsDelivr or unpkg). source
  • Page or challenge marker data-cap-floating Cap floating-mode trigger attribute on a submit button. source

Security and compliance

No certifications claimed on the vendor’s public pages.

Cap says it uses no cookies or third-party tracking, does not phone home or fingerprint users, and that compliance depends on your deployment (not legal advice). Its compliance page says 'your users' data never leaves your infrastructure' and describes the design as supporting regulations such as GDPR. It claims no certifications such as SOC 2 or ISO. These are vendor claims.

Strengths

  • Licensed under Apache 2.0; the GitHub README states: 'cap is licensed under apache 2.0.' source
  • Self-hostable with Docker, with a Railway template and serverless options listed in the vendor docs. source
  • The vendor homepage states there are no per-request fees and no paid tier. source
  • Cap says it sets no cookies, sends nothing to third parties and does not fingerprint users. source
  • The vendor describes per-agent allow, flag or block controls for named AI browser agents, plus allowing agents that sign their requests. source
  • The GitHub releases page lists many versions published 9 to 13 Nov (year not displayed), including capd@4.0.13 marked Latest, which suggests active maintenance. source

Limitations

  • Bot-blocking effectiveness rests on vendor claims (for example over 1 billion solves in Q1 2026 and 8.4k GitHub stars); no independent evaluation is cited. source
  • No hosted or managed option is described; operating the server and public endpoint is the buyer's responsibility. source
  • The widget talks to the server from visitors' browsers, so production use needs a public URL; the guide suggests Cloudflare Tunnels or a reverse proxy otherwise. source
  • The vendor describes only narrow network-layer detection (per-IP challenge rate limits and harder puzzles for chosen networks); no TLS, IP reputation or proxy detection is described. source
  • The minimal capjs-core package leaves token storage to you and does not include the dashboard, analytics or rate limiting. source
  • Migrating from reCAPTCHA or hCaptcha keeps the siteverify format but still requires switching client-side code to Cap's widget. source

Best for

Teams that want a self-hosted, privacy-focused proof-of-work CAPTCHA and can run their own Docker server behind a public address.

Cap: common questions

How much does Cap cost?

Cap does not publish pricing tiers. Its homepage says there is no paid tier holding features back and no per-request fees, and the software is Apache 2.0 licensed. Buyers pay only for their own hosting, which the vendor says can be a $5 VPS for most sites.

How does Cap decide whether a visitor is a bot?

Cap says the widget runs a proof-of-work challenge (HashWX, SHA-256 via WASM or time-lock variants) plus browser-environment checks that detect Puppeteer, Playwright, Selenium and similar tools, and it scores pointer and key timing. The backend verifies the token with a POST to the siteverify endpoint.

Is there a hosted version of Cap?

No hosted service is described on Cap's homepage or in its documentation. The documented options are self-hosting with Docker, a Railway template, or serverless platforms.

Does Cap use cookies or fingerprint users?

Cap says it sets no cookies, has no third-party tracking and does not fingerprint users, although its detection inspects the browser environment. These are vendor claims, and the vendor notes compliance depends on your deployment.

Can Cap handle AI agents?

Cap says each listed AI browser agent can be set to allow, flag or block, there is a block-all option, and agents that sign their requests can always be let in. Web Bot Auth is not mentioned.

Sources

  1. Cap homepage (vendor)
  2. Cap docs guide (vendor)
  3. Cap compliance page (vendor)
  4. Cap trycap.dev (vendor)
  5. GitHub repository tiagozip/cap
  6. GitHub releases tiagozip/cap

Checked November 13, 2026. Spot something out of date? Send a correction.