Go to file
Sugui 5f0224e423 Deleted TODO.md, we will use Issues now 2024-04-15 11:00:16 +02:00
src Added ImageController, removed base64 and exported app to app.ts 2024-04-15 10:54:01 +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 First commit of code 2024-03-28 09:29:33 +01: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.