Self-host altcha
v3.6.0Privacy-first proof-of-work CAPTCHA widget and server libs
- Stars
- 2 900
What is altcha?
ALTCHA is an open-source CAPTCHA alternative for site and API owners who want bot and form-spam protection without routing visitor data through a third-party service. Instead of image puzzles, an embeddable web component quietly solves a proof-of-work challenge in the browser; your own backend issues that challenge and checks the solved payload before accepting a submission, using the official server libraries covering JavaScript/TypeScript plus roughly a dozen other backend languages. The widget bundles PBKDF2 and SHA-based PoW, and can register memory-bound Argon2id or Scrypt workers that blunt GPU and ASIC abuse; it offers five display modes (including invisible and floating), several interaction styles, prebuilt themes with CSS-variable overrides, and translations in 50+ languages with right-to-left support. By default it drops a hidden form field rather than a cookie, the project claims WCAG 2.2 AA conformance, and the gzipped bundle is around 34 kB. You install it with npm, a bundler import, or a CDN script tag and wire it to your server code; there is no container image for the open-source core, and the packaged on-premise verification server (Sentinel), the managed Cloud service, adaptive risk escalation, code/audio challenges and dashboards belong to paid tiers, while the MIT-licensed widget stays free.
altcha alternatives
ohmycaptchaSelf-hosted open-source captcha solver with a YesCaptcha-style createTask API covering reCAPTCHA, hCaptcha, Turnstile and image tasks via Playwright and vision models.Compareohmycaptcha with altcha
TRAWLA self-hosted, open-source scraping engine that bypasses JavaScript challenges and CAPTCHAs using an adaptive tier engine with HTTP-first approach and MCP support.CompareTRAWL with altcha
ChatGPT Next WebSelf-hosted, open-source AI chat UI for OpenAI, Claude, Gemini, DeepSeek and many other providers, with Docker, Vercel and native desktop/mobile clients.CompareChatGPT Next Web with altcha
GitWitGitWit is a self-hosted, open-source AI coding platform with a browser-based IDE, live preview, AI chat, and support for Anthropic, OpenAI, and AWS Bedrock.CompareGitWit with altcha
GUSTGUST is a self-hosted, open-source web proxy running as a single HTML file in any browser, using WebAssembly and WISP tunneling to bypass filters without Service Workers.CompareGUST with altcha
NextChat✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.CompareNextChat with altcha
CodinIT.devSelf-hosted open-source AI full-stack dev platform for building Node.js apps with code generation and 19+ AI providers.CompareCodinIT.dev with altcha
mosparomosparo is a self-hosted, open-source spam protection for web forms that blocks spam by analyzing content instead of puzzles, making it accessible and privacy-friendly.Comparemosparo with altcha
All self-hosted alternatives to Cloudflare Turnstile → All self-hosted alternatives to hCaptcha → All self-hosted alternatives to reCAPTCHA →
Should you self-host altcha?
altcha scores 63/100 on selfhost.directory (how scoring works) and ranks #2 of 4 in Anti-Spam. It has 2 900 GitHub stars, +93 in the last 30 days.
It shipped 19 stable releases in the past year. The latest, v3.6.0, came out on 12 November 2026. New versions land roughly every 9 days.
Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is capjs (72/100, 8 369 stars). It scores higher overall, so compare the two before you pick. See altcha vs capjs side by side.
Features
- Accessible code and audio challengeProject states this requires ALTCHA Sentinel or a custom server implementation.
- Adaptive risk-based escalationNot part of the open-source core.
- Argon2 and Scrypt memory-bound algorithmsArgon2id and Scrypt require importing their workers separately.
- Cookie-free, no trackingOptional setCookie configuration can send the payload as a cookie instead.
- Data obfuscation plugin
- Internationalization (50+ languages, RTL)
- JavaScript API and lifecycle events
- Lightweight bundle
- Multiple display modes
- Proof-of-work challenge (no visual puzzles)
- Server-side verification libraries
- Themes and CSS customization
- Web component / framework-agnostic widget
altcha README
ALTCHA is a self-hosted, privacy-first security solution that protects your websites, APIs, and online services from spam and abuse through an innovative proof-of-work mechanism. Unlike traditional CAPTCHAs that depend on intrusive methods like cookies or fingerprinting, ALTCHA delivers robust protection while respecting user privacy.
ALTCHA is fully compliant with:
- Global privacy regulations: GDPR, HIPAA, CCPA, PIPEDA/CPPA, LGPD, DPDPA, and PIPL
- Accessibility standards: WCAG 2.2 AA-level and the European Accessibility Act
FAQ
Do I need to run my own server to use ALTCHA?
With Cloud or Sentinel no backend code is needed; with the open-source core alone you must add a small server-side integration that generates challenges and verifies submissions.
Does ALTCHA work without JavaScript or over plain HTTP?
No, the widget needs JavaScript and a secure HTTPS context because it relies on the browser's SubtleCrypto API, though http://localhost counts as secure for development.
Which frameworks and languages are supported?
Libraries and plugins cover major frontend frameworks and backend languages, plus WordPress and Flutter/React Native SDKs.
How hard is it to switch from reCAPTCHA or another CAPTCHA?
The project says most teams switch within an hour, since the widget is a drop-in replacement and the existing form flow stays the same, with migration guides for reCAPTCHA, hCaptcha and Turnstile.
Can I switch between plans later?
Yes, you can move between the open-source core, Cloud and Sentinel without changing your widget integration, and Cloud/Sentinel tiers can be changed with prorated pricing.
Can I use ALTCHA for free with WordPress?
Yes, the WordPress plugin has a free plan covering login, registration and comments with no sign-up; a paid plan extends form-plugin coverage and sites.
Do Cloud and Sentinel offer a free trial?
Both include a 30-day trial with no credit card, and the open-source widget can be used indefinitely for free.
What's the difference between Cloud and Sentinel?
Cloud is managed on the vendor's EU servers with adaptive checking and analytics; Sentinel installs the full platform on your own infrastructure and adds features such as the Classifier.
Is ALTCHA compliant with CCPA and other privacy laws besides GDPR?
The no-cookie, no-tracking design collects none of the personal data those laws require consent for, across the open-source core, Cloud and Sentinel.
Does ALTCHA use cookies?
Not by default — the payload goes in a hidden form field; an optional configuration can use a cookie, but no cookies are used for tracking.
Is ALTCHA accessible for users with disabilities?
It is WCAG 2.2 AA conformant, keyboard-navigable and screen-reader labelled, with no visual puzzles to solve.
Is ALTCHA GDPR compliant without a cookie banner?
Yes: nothing is set for tracking and no personal data is collected or shared, so no consent banner is required by the widget itself.
Can I try ALTCHA without signing up?
Yes, the open-source widget needs no account, API key or sign-up; Cloud and Sentinel each offer a 30-day trial without a credit card.
Is ALTCHA really free?
The open-source widget is free forever with no sign-up, API keys or usage limits; Cloud and Sentinel subscriptions add hosted analytics and adaptive protection.
What is ALTCHA and how does it work?
It is a CAPTCHA alternative that verifies visitors with a silent proof-of-work challenge rather than puzzles or image quizzes, without tracking or cookies.
More in Anti-Spam
boxwatchrboxwatchr is a self-hosted, open-source email filtering daemon for IMAP mailboxes with rspamd spam scoring, custom rules, and a web dashboard.
cactusdcactusd is an open-source, self-hosted daemon that aggregates and serves domain/IP blocklists for DNS-based ad-blocking, updating every 12 hours with a built-in web UI.
capjsSelf-hosted, open-source CAPTCHA that replaces reCAPTCHA with invisible proof-of-work and browser instrumentation: no puzzles, no trackers, a ~20 kB widget.
docker-mailserverSelf-hosted, open-source mail server image (Postfix, Dovecot, Rspamd, ClamAV, Fail2ban) with SMTP, IMAP, LDAP and OAuth2 login, configured by files only.
HarakaA self-hosted, open-source Node.js SMTP server with a JavaScript plugin system: filtering MTA or submission host with DKIM signing, DNSBL checks and virus scanning.
mCaptchaSelf-hosted, open-source CAPTCHA server where visitors' browsers do SHA256 proof-of-work instead of image puzzles; the Rust backend runs with Postgres and Redis.
RspamdOpen-source, self-hosted spam filtering daemon with Milter support for Postfix and Exim, Bayesian, DNSBL and SPF/DKIM/DMARC checks plus a web dashboard.
tg-spamA self-hosted, open-source Telegram anti-spam bot with a Bayesian detector, LLM checks, CAS lookups, Lua plugins, an HTTP spam-check API and a web admin UI.
0 comments