# ALTCHA

ALTCHA is a self-hosted, privacy-first CAPTCHA alternative that protects websites, APIs, and online services from spam and abuse using a proof-of-work mechanism.

Canonical page: https://ourlocalhost.com/app/8891/altcha

## Description

ALTCHA is a self-hosted, privacy-first CAPTCHA alternative that protects websites, APIs, and online services from spam and abuse using a proof-of-work mechanism. It blocks bots, fake sign-ups, and form spam without cookies, tracking, or fingerprinting, making it fully GDPR compliant and WCAG 2.2 AA accessible out of the box. It suits site owners and developers who want strong bot protection while keeping visitor data under their own control.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

78/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 4 days ago)
- Popular: 69 (2,919 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 100 (no serious findings, CI, tests)

## Links

- Official website: https://altcha.org/
- GitHub: https://github.com/altcha-org/altcha-django
- Documentation: https://altcha.org/docs/

## Common questions

### How do I verify ALTCHA solutions on my server?

Use verifySolution from 'altcha/lib' with your hmacSignatureSecret, a server-only password. If verification fails, expired, invalidSignature, or invalidSolution will indicate what went wrong. Never expose that secret to the browser or spam bots can forge valid solutions.

### How do I install and embed the ALTCHA widget?

Run "npm install altcha" to add the CAPTCHA widget package to your project; without it the ALTCHA form widget won't be available to embed on your pages. Framework starter templates are available for React, Vue, Svelte, Solid, Lit, and Angular.

### Can I tune how hard the proof-of-work challenge is?

Yes. When calling createChallenge, pick a hashing algorithm such as SHA-256 or SCRYPT and pass its matching deriveKey function. The cost setting controls puzzle difficulty — higher means stronger spam protection but slower solving for visitors.

### Is the free open-source ALTCHA enough, or do I need a paid product?

The open-source core (widget plus server-side verification libraries) lets you integrate privacy-first bot protection completely free without external services. ALTCHA Sentinel Self-Hosted, a commercial all-in-one platform combining proof-of-work with machine learning, is recommended for production environments requiring more robust protection.

### How do I migrate from ALTCHA v2 to v3?

Follow the migration guide in MIGRATION-v2.md in the repository, which covers the breaking changes introduced in v3, including the new PoW verification mechanism and native Argon2/Scrypt support.

## Alternatives

- Anubis: Anubis is a lightweight, self-hosted web firewall that weighs each incoming connection with a proof-of-work challenge before it reaches you…
- Friendly Captcha: Friendly Captcha is an invisible CAPTCHA and bot protection solution that helps block bots and spam with privacy-first proof-of-work-withou…
- reCAPTCHA: reCAPTCHA is a free service that protects your site from spam and abuse, using risk analysis techniques to tell humans and bots apart.

---
Source: Our Local Host (https://ourlocalhost.com/app/8891/altcha), the self-hosted and open-source app directory.
