Files
cap/docs/index.md
T
2025-04-20 12:54:01 +01:00

2.7 KiB
Raw Blame History

layout, hero, features
layout hero features
home
name text tagline image actions
Cap A modern, lightning-quick PoW captcha Cap is a lightweight, modern open-source CAPTCHA alternative using SHA-256 proof-of-work
src alt
/logo.png VitePress
theme text link
brand Quickstart & docs /guide
theme text link
alt Demo https://cap-starter.glitch.me/
theme text link
alt GitHub https://github.com/tiagorangel1/cap
icon title details
250x smaller than hCaptcha Cap's widget library is extremely small, only 12kb minified and brotli'd.
icon title details
🔒 Private Cap's usage of proof-of-work eliminates the need for any tracking, fingerprinting or data collection.
icon title details
🌈 Fully customizable Cap is self-hostable so you can customize both the backend & frontend — or you can just use CSS variables
icon title details
🤖 PoW-based Cap uses proof-of-work instead of complex puzzles, making it easier for humans and harder for bots
icon title details
🧩 Standalone mode Cap offers a standalone mode with Docker, allowing you to use it with languages other than JS.
icon title details
💨 Invisible mode Cap can run invisibly in the background using a simple JS API.
icon title details
☁️ Floating mode Floating mode keeps your CAPTCHA hidden until it's needed
icon title details
🌳 Fully FOSS Completely open source under the Apache license 2.0 license

What is Cap?

Cap is a lightweight, open-source CAPTCHA alternative that uses SHA-256-based proof-of-work to verify real users and block bots — no cookies, no trackers.

  • Privacy-friendly
  • Fast and lightweight
  • 🔓 Fully open source (Apache 2.0)
  • 🧩 Pluggable widget + solver + backend

It's ideal for:

  • Protecting APIs from bots
  • Preventing spam on forms
  • Blocking automated login attempts
  • Securing free-tier abuse

Cap is built with JavaScript, runs on any JS runtime (Bun, Node.js, Deno), and has no dependencies. If you're not using any JS runtime, you can also use the standalone mode with Docker, which relies entirely on a simple REST API to create and validate challenges.

Zero dependencies, developer-friendly, and effective against spam, DDoS, and automation.

Alternatives

Cap.js is a modern alternative to:

But unlike them, Cap is computation-bound, not tracking-bound.