Go to file
Sugui 7a7e3bb2b3 Fixed docker compose and added env variables 2024-04-15 11:51:04 +02:00
src Fixed docker compose and added env variables 2024-04-15 11:51:04 +02:00
test Added ImageController, removed base64 and exported app to app.ts 2024-04-15 10:54:01 +02: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
bun.lockb Added ImageController, removed base64 and exported app to app.ts 2024-04-15 10:54:01 +02:00
compose.yml Fixed docker compose and added env variables 2024-04-15 11:51:04 +02:00
package.json Added ImageController, removed base64 and exported app to app.ts 2024-04-15 10:54:01 +02: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.