Skip to content

Rewrite API#164

Open
RagingLink wants to merge 25 commits intomasterfrom
rewrite-1
Open

Rewrite API#164
RagingLink wants to merge 25 commits intomasterfrom
rewrite-1

Conversation

@RagingLink
Copy link
Owner

@RagingLink RagingLink commented Sep 16, 2024

Must have:

  • Rework the typing/schema system for operations/data
  • Operation caching
  • Improve caching system and add dynamic clearing of image buffers (not only clear after x hours, but also if the API is storing a ton of images it should free up memory more often)

Nice to have:

  • Better 'main' route instead of what api.ts currently is, fastify?
  • GIF support
  • Canvas support for drawing basic shapes, text, etc.
  • Integration with something like imgur/imgbb so the reliance on storing on the FS is less (if not completely removed tbh)
  • Rate-limiting
  • Fully get rid of the copy pasted code for mapping input objects
  • Docs update to use the types as used in code (should be easier with the typebox schemas)

Misc operation support maybe:

  • Sharpen
  • Blur
  • Boolean
  • Negate
  • Normalize
  • Extend
  • Tint
  • Greyscale
  • extractChannel()

@RagingLink RagingLink self-assigned this Sep 17, 2024
@RagingLink RagingLink added the enhancement New feature or request label Sep 17, 2024
@RagingLink RagingLink marked this pull request as draft September 21, 2024 13:24
@RagingLink RagingLink marked this pull request as ready for review September 25, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant