Files
cap/docs/index.md
T
2025-11-18 17:02:04 +00:00

4.1 KiB
Raw Blame History

layout, hero, features
layout hero features
home
name text tagline image actions
Cap The modern, open-source CAPTCHA Lightweight, self-hosted, privacy-friendly, and designed to put you first. Switch from reCAPTCHA in minutes.
src alt
/logo.png VitePress
theme text link
brand Get started → /guide
theme text link
alt Demo /guide/demo.md
theme text link
alt View on GitHub https://github.com/tiagozip/cap
icon title details
250x smaller than hCaptcha ~20kb, zero dependencies, loads in milliseconds
icon title details
🔒 Privacy-first Cap doesn't send any telemetry back to our servers
icon title details
🌈 Fully customizable Change the colors, size, position, icons and more with CSS variables
icon title details
💽 Proof-of-work Your users no longer have to waste time solving visual puzzles.
icon title details
🐳 Standalone mode Run Cap anywhere with a Docker container with analytics & more
icon title details
💨 Invisible Hide Cap's widget and solve challenges in the background
icon title details
🤖 M2M Keep your APIs protected while accessible to friendly robots
icon title details
🌳 Open-source Completely free & open-source under the Apache 2.0 license

What is Cap?

Cap is the modern, open-source alternative to traditional CAPTCHAs that uses proof-of-work instead of annoying visual puzzles.

Cap is built with JavaScript and Rust and both the widget and server helper have zero dependencies.

You can either run it on any JavaScript runtime, or use the standalone mode with Docker.


Cap is built into 2 main parts. The widget is a small client-side JavaScript library using custom components and WASM that renders the CAPTCHA and solves the challenge.

The Standalone Server is a Docker image that helps you use Cap with any language or framework. As an alternative, if your server-side uses JavaScript, you can use the lighter server library.

Cap also has a M2M library that implements a custom proof-of-work solver for protecting API endpoints that you still want public.

Why Cap?

  • 250x smaller than hCaptcha
    ~20kb, zero dependencies, loads in milliseconds
  • Privacy-first
    Cap doesn't send any telemetry back to our servers
  • Fully customizable
    Change the colors, size, position, icons and more with CSS variables
  • Proof-of-work
    Your users no longer have to waste time solving visual puzzles.
  • Standalone mode
    Run Cap anywhere with a Docker container with analytics & more
  • Invisible
    Hide Cap's widget and solve challenges in the background
  • M2M
    Keep your APIs protected while accessible to friendly robots
  • Open-source
    Completely free & open-source under the Apache 2.0 license

It's ideal for protecting APIs from bots, preventing spam on forms, blocking automated signup attempts and securing free-tier abuse.

Cap is a great alternative to reCAPTCHA, hCaptcha and Cloudflare Turnstile. Check out the feature comparison to see how Cap compares to other CAPTCHAs.

License

This project is licensed under the Apache-2.0 License, please see the LICENSE file for details.

Copyright ©2025 - present tiago


OpenSSF Best Practices Product Hunt: #1 of the month: User Experience