CAPTCHA, but without the images, tracking, or 250x bloat
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Developers who need only basic bot deterrence can now replace Google's 400KB+ reCAPTCHA and its user tracking with a self-hosted library of a few hundred bytes.
Cap is a small open-source CAPTCHA tool that replaces those puzzle images asking you to click traffic lights. Instead, it shows simple text questions like a maths sum or a word typed backwards. The whole library is a few hundred bytes, compared with the 400KB+ that Google's reCAPTCHA loads, and it sends nothing to third parties. It suits sites wanting to stop casual spam without the bloat, privacy cost, or inaccessibility of image puzzles, though it will not stop determined bots.
Cap is a free, open-source JavaScript CAPTCHA library of a few hundred bytes, a claimed 250x smaller than Google's reCAPTCHA at 400KB+. Unlike reCAPTCHA, it transmits no behavioural data to Google, avoiding privacy exposure and third-party dependency. It suits low-stakes use cases like stopping spam sign-ups on internal tools. It will not stop determined bot farms, so high-security sites still need stronger options.
Cap is a dependency-free JavaScript class usable in the browser or Node.js, installable via npm as 'cap-captcha' or as a single file. It generates randomised text challenges such as arithmetic or word reversals, computes expected answers server-side, and verifies responses with no external API calls, so it works offline. Challenge generators are pluggable, so developers can write custom question types. The author concedes it will not stop determined bot farms, and no security benchmark or evaluation is given.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.