In README.md section Usage was added.

This commit is contained in:
Alexander Andreev 2022-06-26 21:01:47 +04:00
parent 70195a666e
commit 63e832c217
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -3,6 +3,14 @@ justcaptcha ver. 1.0
A simple CAPTCHA service implementation. A simple CAPTCHA service implementation.
## Usage
justcaptchad -expiry 5m -listen /var/run/justcaptchad/j.sock
`-expiry` takes time for CAPTCHA to be valid for in format XX{s,m,h}.
`-listen` is `ip:port` or `/path/to/unix.sock` to listen on.
## API ## API
### Get a new captcha ### Get a new captcha