{"repo":"renton4code/p-captcha","free":true,"listed":false,"github":"https://github.com/renton4code/p-captcha","clone":"git clone https://github.com/renton4code/p-captcha.git","description":"Open-source self-hosted proof-of-work CAPTCHA","language":"TypeScript","stars":18,"topics":["captcha","friendly-captcha","hcaptcha","mcaptcha","recaptcha","recaptcha-v2","recaptcha-v3"],"license":"AGPL-3.0","category":"self-hosted-apps","readme_excerpt":"P-Captcha P-Captcha is a lightweight, open-source CAPTCHA solution that uses proof-of-work to protect against bots. It's self-hosted, has zero dependencies, and is developer-friendly. Features - 🪶 Truly Lightweight - Zero dependencies, only 2KB gzipped, powered by Web-workers - 🎨 Fully Customizable - Easy to override styles and customize behavior - 👥 User-Friendly - Supports both invisible and one-click verification modes Protection Against - 🚫 Spam - Secure forms from spam and automated submissions - 🤖 Scraping and Automation - Protect content from scraping and platform abuse - 🛡️ DDoS - Guard compute-expensive API endpoints - 🔒 Account Takeover - Prevent credential stuffing and brute force attacks Live demo: https://p-captcha.com/#demo [![P-captcha Demo]](https://github.com/user-attachments/assets/8d5cc70a-ce2a-40fa-a258-e6436a467cc1) Quick Start 1. Server-side Installation 2. Client-side Installation 3. Generate a challenge 4. Solve the challenge 5. Validate the solution Customization Customize difficulty rounds : How many problems user needs to solve woodall : Woodall prime number size controls problem difficulty Woodall Prime number Alias Bits Time on Apple M2 Pro -------------------- ----- ----- --------------------- 751 2^751-1 2xs 761 ??? ms 83 2^5318-1 xs 5322 238 ms 7755 2^7755-1 sm 7765 598 ms 9531 2^9531-1 md 9542 931 ms 12379 2^12379-1 lg 12387 1995 ms 7911 2^15823-1 xl 15830 3466 ms 18885 2^18885-1 2xl 18891 5581 ms 22971 2^22971-1 3xl 22974 9199 ms \\ Ave","default_branch":null,"files":null,"tree":[],"storefront":"/r/renton4code","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/renton4code/p-captcha/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}