# dromara/tianai-captcha

captcha captcha captcha 可能是java界最好的开源行为验证码  [滑块验证码、点选验证码、行为验证码、旋转验证码， 滑动验证码]

Repository: https://github.com/dromara/tianai-captcha
Canonical: https://ross.abutalabs.com/products/tianai-captcha
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-02-28T01:58:51+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 69, release rhythm 40, longevity 100
- inputs: {"age_days": 1963, "days_push": 187, "days_rel": 187, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1201, forks 154 (observed 2026-08-28T04:03:58.160949+00:00)

## What it is
TianaiCAPTCHA is a Java-based behavioral CAPTCHA library supporting slider, rotation, slide-restore, and text-click CAPTCHA types. It ships as a plain Java library plus a Spring Boot starter for generating and validating image CAPTCHAs in web applications.

## Use cases
- add slider captcha to a spring boot login form
- generate and validate image captchas in java
- prevent bot signups with behavioral captcha
- rotate and text-click captcha for java web app
- self-hosted captcha alternative to reCAPTCHA
- integrate captcha with redis-backed expiry in spring

## When to choose
- you need a self-hosted, customizable behavioral CAPTCHA in a Java or Spring Boot project
- you want multiple CAPTCHA styles (slider, rotation, click) from one library
- you prefer an open-source alternative to third-party CAPTCHA services

## When to avoid
- your stack is not JVM-based
- you need fully managed anti-bot protection with risk scoring like Cloudflare Turnstile or reCAPTCHA enterprise
- you need accessibility-friendly or invisible CAPTCHA only

## Facets
- artifact type: library
- maturity: active
- function: auth, security, middleware
- domain: security, web-development, backend
- platform: jvm, self-hosted
- tags: captcha, slider-captcha, behavioral-captcha, spring-boot-starter, anti-bot, image-captcha, spring

## Member repositories
- dromara/tianai-captcha (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:58.160949+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-30T06:20:40.611712+00:00, confidence not recorded.
  - readme: https://github.com/dromara/tianai-captcha (fetched 2026-08-28T04:03:58.160949+00:00, sha 433f1915df23)
- Data as of 2026-08-30T08:39:29.467469+00:00.
