add examples

This commit is contained in:
b1ek 2023-06-23 23:23:43 +10:00
parent bfe554863c
commit 874a28552b
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 8 additions and 1 deletions

View File

@ -6,3 +6,10 @@ To deploy a local instance, write a `.env`, install the packages and run `yarn d
Deploying to production is not supported (yet), but to run with the most optimizations, Deploying to production is not supported (yet), but to run with the most optimizations,
set `APP_DEBUG` to `false` in `.env`, and run the file directly: `node index.js`. set `APP_DEBUG` to `false` in `.env`, and run the file directly: `node index.js`.
# Examples
Below are captchas generated by this. To generate a captcha, deploy an instance send a GET `/captcha/v{version}/{text}`, with `version` being the captcha version and `text` being the captcha text.
| Captcha version | Image |
| --- | --- |
| 1 | ![](./readme/v1.jpg) |

BIN
readme/v1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB