Hi Janko, I'm about to start implementing our documents management module so I started to read more seriously about Shrine, Upper and S3 direct uploads.
You've covered a great example in your article regarding S3 direct uploads with Uppy:
It even covers resumable uploads but if I understood it correctly, that means giving up on direct uploads to S3 since all parts would be uploaded to the tus server, that would then upload to S3.
I looked at the Uppy plugins and noticed that they seem to support multipart uploading to S3:
However it seems to require their bundled Companion server in order to support that (see the serverUrl parameter):
At this point I'm not sure how it works. I wonder if their Companion server would send many pre-signed URLs so that each part would be uploaded directly to S3 or whether the Companion server would use a similar approach as you described in your article.
Do you know whether it's possible to send the parts directly to S3 by using a presigned URL for each part with Shrine and Uppy alone? If this is what happens when using the S3 Multipart plugin already, would it make sense to provide an end-point in Shrine to basically do the same as the Companion server does for that scenario?
I've also found this related discussions:
Any suggestions on how to implement multi-part direct upload to S3 using pre-signed urls would be greatly appreciated :)
Thanks in advance,
Rodrigo.