Christian Carpinelli
Christian Carpinelli
TTCTheo's Typesafe Cult
Created by j0e on 2/1/2024 in #questions
Compressing images before uploading to UploadThing?
Yeah, unfortunately, we can't have it all :poohheh:
9 replies
TTCTheo's Typesafe Cult
Created by j0e on 2/1/2024 in #questions
Compressing images before uploading to UploadThing?
oh yes of course, let's say that in that case (IMHO) you would loose a lot of the convenience of UT in comparison of a standard s3 bucket, or not?
9 replies
TTCTheo's Typesafe Cult
Created by j0e on 2/1/2024 in #questions
Compressing images before uploading to UploadThing?
so... at least for now that we can't have additional stuff on top of the UT Ingest Server (which for what I'm guessing they'll charge more for additional services, like file compression and so on), what I'm doing is: - The user uploads a file. - UT triggers an "onUploadComplete" callback, in which I send a message to another microservice informing that a new file has been uploaded (with file reference that I got from the callback). - The service, will read this message with the file informations, retreive it and do compression on it, then upload the compressed file on UT again. If there's a more efficient way to do this currently using UT, please let me know.
9 replies
TTCTheo's Typesafe Cult
Created by j0e on 2/1/2024 in #questions
Compressing images before uploading to UploadThing?
No description
9 replies
TTCTheo's Typesafe Cult
Created by Christian Carpinelli on 9/19/2024 in #questions
ERROR handleCallbackRequest Failed to register callback result
Thanks Julius, I don't know why I haven't thought of it, but yes a patch is needed:blessjmg: Regardless, congratulations on building such a cool product, I look forward to show you guys how I used it!
6 replies