faisalnjs / go-captcha

A minimalistic captcha service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A minimalistic captcha service.

License:MIT License


Languages

Language:Go 58.1%Language:TypeScript 31.2%Language:HTML 6.6%Language:SCSS 3.0%Language:Dockerfile 1.1%