# wenlng/go-captcha

🖖 GoCaptcha: A high-performance, interactive behavior captcha library for Go. Supporting click, slide, drag-drop, and rotation modes to secure your applications with ease.

Repository: https://github.com/wenlng/go-captcha
Canonical: https://ross.abutalabs.com/products/go-captcha
Homepage: http://gocaptcha.wencodes.com
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, captcha, click-captcha, golang, base64, base64-captcha, slider-captcha, drag-drop-captcha, rotation-captcha, captcha-generator, image-captcha, behavior-analysis, middleware, security, verification
Last push: 2026-03-07T09:26:40+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 71, release rhythm 50, longevity 100
- inputs: {"age_days": 1871, "days_push": 179, "days_rel": 179, "gap_med": 91, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2411, forks 221 (observed 2026-08-28T04:06:44.444386+00:00)

## What it is
GoCaptcha is a high-performance, modular behavioral CAPTCHA library for Go that generates interactive challenges including click, slide, drag-drop, and rotation modes. It ships with companion frontend packages for JavaScript, Vue, React, Angular, Solid, Svelte, and UniApp, and outputs base64 captcha data for web and app integration.

## Use cases
- add captcha verification to a Go web application login form
- generate interactive click-based captchas in Go
- implement slider captcha challenges for bot protection
- add drag-drop or rotation captcha to a signup flow
- block automated bot signups with behavior-based verification
- serve base64 captcha images from a Go backend API

## When to choose
- you need a self-hosted, customizable CAPTCHA in a Go backend without third-party services
- you want multiple interactive captcha modes (click, slide, drag, rotate) with matching frontend components
- you prefer behavior-based challenges over traditional text-input captchas for better UX

## When to avoid
- your stack is not Go and you only need a backend captcha generator
- you want a fully managed captcha service like reCAPTCHA or hCaptcha with no integration work
- you need accessibility-friendly or audio-based captcha alternatives

## Facets
- artifact type: library
- maturity: active
- function: security, middleware, ui-components, image-processing
- domain: security, web-development, backend
- platform: go, cross-platform
- tags: captcha, behavior-captcha, click-captcha, slider-captcha, drag-drop-captcha, rotation-captcha, base64, anti-bot, frontend-components, web-server

## Member repositories
- wenlng/go-captcha (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:44.444386+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:33:59.020046+00:00, confidence not recorded.
  - readme: https://github.com/wenlng/go-captcha (fetched 2026-08-28T04:06:44.444386+00:00, sha 9c7c020b1567)
  - homepage: http://gocaptcha.wencodes.com (fetched 2026-08-29T10:14:15.342736+00:00, sha c394e1726908)
  - site_page: http://gocaptcha.wencodes.com/docs (fetched 2026-08-29T10:14:15.351536+00:00, sha 863465227af0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
