Go to file
Sugui 2ccef4e28c Added base64 encoding for image content 2024-03-30 12:58:22 +01:00
src Added base64 encoding for image content 2024-03-30 12:58:22 +01:00
test Added base64 encoding for image content 2024-03-30 12:58:22 +01:00
.gitignore First commit of code 2024-03-28 09:29:33 +01:00
README.md Fixed explanation 2024-03-27 20:13:57 +00:00
TODO.md Added TODO.md to track needed changes 2024-03-30 12:08:48 +01:00
bun.lockb First commit of code 2024-03-28 09:29:33 +01:00
compose.yml First commit of code 2024-03-28 09:29:33 +01:00
package.json Fix scripts 2024-03-30 12:08:35 +01:00
tsconfig.json First commit of code 2024-03-28 09:29:33 +01:00

README.md

fe-middleware

The bot image moderation frontend (from now called frontend) can't access the Gelbooru API directly due to CORS issues.

This project serves as a solution to the given problem. It has an endpoint to get an image from the Gelbooru API, that was verified through the bot API to not be repeated. The image is directly encoded in the response.