Privacy-first proof-of-work CAPTCHA alternative for web and APIs

7.6k stars 551 forks last commit first released

Actively maintained

Last commit 14 Aug 2026.

Cap is a lightweight, privacy-preserving CAPTCHA alternative that uses SHA-256 proof-of-work challenges instead of image puzzles. It is designed to be fast to load, accessible, and simple to integrate into modern websites and APIs without user tracking.

Key Features

  • Proof-of-work challenge system based on SHA-256 (no visual CAPTCHA puzzles)
  • Very small client footprint with no external dependencies
  • Privacy-first design with no telemetry sent to third parties
  • Highly customizable widget styling via CSS variables
  • Invisible mode to run challenges in the background
  • Machine-to-machine (M2M) friendly flows to protect APIs while allowing trusted automation
  • Standalone deployment option via container for running Cap as a service (with extra operational features such as analytics)

Use Cases

  • Protecting public web forms (login, signup, contact forms) from spam and automated abuse
  • Adding bot mitigation to API endpoints while keeping UX minimal for legitimate users
  • Replacing traditional CAPTCHA providers in privacy-sensitive or compliance-focused environments

Limitations and Considerations

  • Proof-of-work increases client CPU usage, which can impact low-power devices; difficulty tuning may be required
  • Not ideal for defending against attackers with substantial compute resources without additional rate-limiting and abuse controls

Cap provides a practical, modern approach to bot protection by shifting verification from user interaction to lightweight computation. It works well for teams that want a fast, customizable, privacy-respecting alternative to traditional CAPTCHA widgets.

Categories:

Tags:

Tech Stack:

Share:

Similar to Cap

SafeLine logo

SafeLine

Self-hosted WAF and reverse proxy for securing web apps

22.4k
1.5k
Last commit

SafeLine is a self-hosted Web Application Firewall (WAF) and reverse proxy that defends web apps from SQL injection, XSS, bot abuse, and DDoS using ML-powered threat detection and configurable policies.

GPL-3.0Actively maintained
Alternative to:
Cloudflare Web Application Firewall (WAF) logo
Cloudflare Web Application Firewall (WAF)
+7

Anubis

Web AI firewall utility that challenges and blocks scraper bots

21.7k
693
Last commit

Anubis is a lightweight web AI firewall that protects sites from AI crawlers and scraping bots using configurable request challenges and bot policies.

MITActively maintained
Alternative to:
Cloudflare Web Application Firewall (WAF) logo
Cloudflare Web Application Firewall (WAF)
+10
BunkerWeb logo

BunkerWeb

Open-source web application firewall and reverse proxy

10.9k
640
Last commit

BunkerWeb is an open-source WAF and NGINX-based reverse proxy to protect web apps and APIs with HTTPS automation, security policies, and extensible plugins.

AGPL-3.0Actively maintained
Alternative to:
Cloudflare Web Application Firewall (WAF) logo
Cloudflare Web Application Firewall (WAF)
+10
UUSEC WAF logo

UUSEC WAF

Web application firewall and API security gateway (WAAP)

1.7k
170
Last commit

High-performance web application firewall and API security gateway with semantic detection, rule management, and reverse-proxy deployment for protecting websites and APIs.

BSD-2-ClauseActively maintained
Alternative to:
Cloudflare Web Application Firewall (WAF) logo
Cloudflare Web Application Firewall (WAF)
+9
SearXNG logo

SearXNG

Privacy-focused metasearch engine for aggregating web results

36.1k
3.3k
Last commit

SearXNG is a privacy-respecting metasearch engine that aggregates results from many search services without tracking or profiling users.

AGPL-3.0Actively maintained
Alternative to:
Google Search logo
Google Search
+6
OpenEMR logo

OpenEMR

Open-source EHR and medical practice management system

5.4k
3k
Last commit

OpenEMR is an open-source electronic health records (EHR/EMR) and practice management platform for clinics, including scheduling, billing, and interoperability features.

GPL-3.0Actively maintained
Alternative to:
Cerner (Oracle Health) logo
Cerner (Oracle Health)