tbroprd-eng/captcha-server ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Node.js server that generates captcha images and returns them through an API.
I want it to serve a fresh captcha for each request, use the fonts in the project for the text, and make the image hard enough for bots but still readable for people. Please include a simple endpoint to get the captcha, and another way to verify the answer from the client. If it makes sense, keep the code in one clear entry file and make it easy to run locally.
Use the current docs online if you need to, and make sure the server starts cleanly with the package scripts. Keep the setup simple, with sensible defaults, and add any small helpers needed so the captcha text, image generation, and validation all work together.
Are you gonna build this?
make sure you review the code using coderabbit