Cap logo

cap — modern, lightning-quick PoW captcha

cap is a lightweight, modern open-source CAPTCHA alternative designed using SHA-256 PoW.

try cap →

npm @cap.js/server npm @cap.js/widget OpenSSF Best Practices

Cap captcha

why Cap?

  • 250x smaller than hCaptcha
    cap's widget library is extremely small, only 12kb minified and brotli'd.
  • 🔒 Private
    cap's usage of proof-of-work eliminates the need for any tracking, fingerprinting or data collection.
  • 🌈 Fully customizable
    cap is self-hostable so you can customize both the backend & frontend — or you can just use CSS variables
  • 🤖 PoW-based
    cap uses proof-of-work instead of complex puzzles, making it easier for humans and harder for bots
  • 🧩 Standalone mode
    cap offers a standalone mode with Docker, allowing you to use it with languages other than JS.
  • 💨 Invisible mode
    cap can run invisibly in the background using a simple JS API.
  • ☁️ Floating mode
    floating mode keeps your CAPTCHA hidden until it's needed
  • 🌳 Fully FOSS
    completely open source under the Apache license 2.0 license

star history

Star History Chart

S
Description
The privacy-first, self-hosted CAPTCHA for the modern web.
Readme 10 MiB
Languages
JavaScript 95.8%
CSS 3.1%
Rust 1.1%