/go-captcha

A minimalistic captcha service.

Primary LanguageGoMIT LicenseMIT

Go Captcha

A minimalistic captcha service.

Deploy via Docker

With Docker Compose:

$ docker compose up --build

From Docker image:

$ docker pull polylmao/gocaptcha:latest

Usage:

After deployment, there are 4 routes that you can visit.

  • /captcha - Create a new captcha code and image, then return a response object containing the newly created captcha.
  • /images/{code} - Serve a captcha image by captcha code.
  • /docs - View the documentation generated by the swagger specification.
  • /swagger - View the swagger specification.

Example output:

Contributing:

If you find any issues, don't hesitate to open an issue.