README.md

May 18, 2025 · View on GitHub

Go Captcha

Go Captcha Example Projects


English | 中文

GoCaptcha is a behavior CAPTCHA, which implements click mode, slider mode, drag-drop mode and rotation mode.

⭐️ If it helps you, please give a star.


Poster



URL Index

ProjectDesc
documentGoCaptcha Documentation
online demoGoCaptcha Online Demo
go-captcha-exampleGolang + Web + APP Example
go-captcha-assetsEmbedded Resource Assets for Golang
go-captchaGolang CAPTCHA Library
go-captcha-jslibJavaScript CAPTCHA Library
go-captcha-vueVue CAPTCHA Library
go-captcha-reactReact CAPTCHA Library
go-captcha-angularAngular CAPTCHA Library
go-captcha-svelteSvelte CAPTCHA Library
go-captcha-solidSolid CAPTCHA Library
go-captcha-uniUniApp CAPTCHA, compatible with Apps, Mini-Programs, and Fast Apps
go-captcha-serviceGoCaptcha Service, supports binary and Docker image deployment,
provides HTTP/gRPC interfaces,
supports standalone and distributed modes (service discovery, load balancing, dynamic configuration)
go-captcha-service-sdkGoCaptcha Service SDK Toolkit, includes HTTP/gRPC request interfaces,
supports static mode, service discovery, and load balancing.
...

Example

git clone https://github.com/wenlng/go-captcha-example.git
cd go-captcha-example
go mod download
go run main.go

Open in browser: http://127.0.0.1:9001/go-captcha-example


Directory structure

|-golang                    // Golang example
    |-internal                  
      |-app
      |-cache
      |-logic
        |-captdata
          |-click_basic.go      // Generation click text data
          |-click_shape.go      // Generation click shape data
          |-rotate_basic.go     // Generation rotate data
          |-slide_basic.go      // Generation slide data
          |-slide_region.go     // Generation drag data 
        |-checkdata
          |-click.go            // Check data for text
          |-rotate.go           // Check data for rotate
          |-slide.go            // Check data for slide
|-web
  |-native                // Js+Html+Css example
  |-bower                 // Js+Html+Css example, bower tool
  |-vue                   // Vue3 example
  |-vue2                  // Vue2 example
  |-react                 // React example
  |-angular               // Angular example
  |-solid                 // Solid example
  |-svelte                // Svelte example
|-app
  |-uniapp                // UniApp example