Framework-specific guides for integrating CAPTCHA Cat into your application.
Frontend#
Add the CAPTCHA widget to your forms using your preferred frontend framework:
| Framework | Description |
|---|---|
| JavaScript | Vanilla JavaScript for any website |
| React | React components with Next.js support |
| Vue | Vue 3 Composition API with Nuxt compatibility |
| Angular | NgModule and standalone components with NestJS |
| Svelte | Svelte components with SvelteKit support |
Backend#
Validate CAPTCHA tokens on your server:
| Framework | Language | Description |
|---|---|---|
| Express.js | JavaScript | Node.js with middleware support |
| Django | Python | Validators and decorators |
| Python (Flask) | Python | Flask routes and decorators |
| Go | Go | Standard library with net/http |
| Rails | Ruby | Controllers and concerns |
| Rust | Rust | Actix-web handlers |
Mobile#
Native SDKs for mobile applications:
| Platform | Package | Description |
|---|---|---|
| Android | com.captchacat:android | Kotlin View + Jetpack Compose wrapper |
| iOS | Captchacat (SPM/CocoaPods) | UIKit + SwiftUI support |
| React Native | @captchacat/react-native | Cross-platform React Native component |
CMS#
Pre-built plugins for content management systems:
| Platform | Description |
|---|---|
| WordPress | Plugin with login, registration, and comment protection |
Need Another Integration?#
All integrations follow the same pattern:
- Frontend: Add the widget script and a
captcha-widgetdiv with your site key to your form - Backend: POST the
captchacat-tokenform field to/validate_tokenwith your API key
See Server-Side Validation for the full API reference.