Back

Altcha

Basic Usage

A simple ALTCHA widget fetching a challenge from a URL.

With Spam Filter

Enables the built-in spam filter for enhanced protection.

Themes

Light Theme

Dark Theme

Customisation

Hiding the logo and the "do-follow" link, and making it full width.

Usage

Requires the ALTCHA v3 widget script in your layout.

@forms.Altcha(forms.AltchaProps{
    ChallengeURL: "/api/altcha-challenge",
    SpamFilter:   true,
    HideLogo:     true,
    Theme:        "light", // or "dark"
})

Layout Requirement:

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