selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

altcha logo

Self-host altcha

v3.6.0

Privacy-first proof-of-work CAPTCHA widget and server libs

ReleaseOpen SourceMIT
Updatedyesterday
LanguageTypescript
Setup difficultyModerate
Stars
2 900
Install with Linux

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

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

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:

How to install altcha

Install altcha with Linux

<script async defer src="https://cdn.jsdelivr.net/gh/altcha-org/altcha/dist/main/altcha.min.js" type="module"></script>

How to configure altcha

  • namealtchaname attribute of the hidden input that carries the verified payload.

    values: any string (input field name)

  • formid of the form the widget should attach to, for widgets placed outside a form element.

    values: a form element id; defaults to the closest ancestor form

  • challengeChallenge data, or the URL the widget fetches a fresh challenge from.

    values: challenge JSON or endpoint URL

  • typeVisual style of the interaction element.

    values: native | checkbox | switch

  • themePrebuilt theme applied to the widget UI.

    values: default | aqua | business | caramel | cupcake | cyberpunk | lime | wireframe

altcha releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

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.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…