Go to file
Sugui 7a403dd4db Added new task 2024-03-30 13:56:36 +01:00
src Added tests for base64 image encoding 2024-03-30 13:56:22 +01:00
test/ImageService Added tests for base64 image encoding 2024-03-30 13:56: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 new task 2024-03-30 13:56:36 +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.