go-captcha-example icon indicating copy to clipboard operation
go-captcha-example copied to clipboard

how to make default as click shapes?

Open sprappcom opened this issue 1 year ago • 1 comments

  1. how to make it show in click shapes as default?
  2. how to make it all english?
  3. how to skip the "click to show the captcha image?", just show without clicking.

sprappcom avatar Sep 18 '24 04:09 sprappcom

Hi, See if the following reference can help you.

  1. Create a click of the graph type by using MakeWithShape() in click.newBuilder (). https://github.com/wenlng/go-captcha-example/blob/b6134768a47dacbe32ff6e4d653e41ffd1ad4ced/internal/logic/captdata/click_shape.go#L20

  2. Select a front-end library and configure it to display English, for React example, configure the "config" field in a React component instance. https://github.com/wenlng/go-captcha-react/blob/v2/README.md#parameter-reference

  3. You refer to the example of the front end, the button and the captcha can be freely controlled. https://github.com/wenlng/go-captcha-example/tree/v2/web

wenlng avatar Sep 19 '24 13:09 wenlng