--
You received this message because you are subscribed to the Google Groups "Shrine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-shrine+unsubscribe@googlegroups.com.
To post to this group, send email to ruby-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-shrine/ef0c2cec-395b-40a0-b874-89a1c5c06554%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For large files it's definitely recommended that you have resumable uploads, and the recommended solution for that is tus-ruby-server + tus-js-client. Shrine-tus-demo is a Roda example app (but can easily be translated into Rails) showing how you can hook up tus-ruby-server with Shrine, and includes a progress bar implementation. Just remember to set the `chunkSize` option for tus-js-client, to force it to split the upload into multiple chunks.Another JavaScript file upload library that supports resumable uploads (thus is suitable for large files) is FineUploader, which additionally supports uploading the chunks in parallel (thus making the overall upload faster). However, there doesn't exist yet something like tus-ruby-server for FineUploader.Kind regards,Janko
On Wed, Dec 28, 2016 at 1:22 AM, <michae...@gmail.com> wrote:
I make a rails app that needs to:
- be able to upload huge files (2-20GB) and not make the rails hang,
- have a progress bar, otherwise end user will not know what's going on for so long.
this is welcome, but not absolutely necessary:
- resumable uploads.
I've watched gorails screencast on shrine uploads to s3, and I think I can follow along, but I need to upload to local storage.I'm totally blown away with the amount of information I need to consume in order to make it work. This jquery-file-uploads monster with tons of javascript to write, and js is not what I'm not really into.Plus, jquery-file-uploads suggests its go/python server side scripts, and I'm not sure I really need them in rails/shrine situation. But what's instead?What is the most straightforward and proper way to do this? Maybe tus-ruby-server + tus-js-client?
--
You received this message because you are subscribed to the Google Groups "Shrine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-shrine...@googlegroups.com.
For large files it's definitely recommended that you have resumable uploads, and the recommended solution for that is tus-ruby-server + tus-js-client. Shrine-tus-demo is a Roda example app (but can easily be translated into Rails) showing how you can hook up tus-ruby-server with Shrine, and includes a progress bar implementation. Just remember to set the `chunkSize` option for tus-js-client, to force it to split the upload into multiple chunks.Another JavaScript file upload library that supports resumable uploads (thus is suitable for large files) is FineUploader, which additionally supports uploading the chunks in parallel (thus making the overall upload faster). However, there doesn't exist yet something like tus-ruby-server for FineUploader.Kind regards,Janko
On Wed, Dec 28, 2016 at 1:22 AM, <michae...@gmail.com> wrote:
I make a rails app that needs to:
- be able to upload huge files (2-20GB) and not make the rails hang,
- have a progress bar, otherwise end user will not know what's going on for so long.
this is welcome, but not absolutely necessary:
- resumable uploads.
I've watched gorails screencast on shrine uploads to s3, and I think I can follow along, but I need to upload to local storage.I'm totally blown away with the amount of information I need to consume in order to make it work. This jquery-file-uploads monster with tons of javascript to write, and js is not what I'm not really into.Plus, jquery-file-uploads suggests its go/python server side scripts, and I'm not sure I really need them in rails/shrine situation. But what's instead?What is the most straightforward and proper way to do this? Maybe tus-ruby-server + tus-js-client?
--
You received this message because you are subscribed to the Google Groups "Shrine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-shrine...@googlegroups.com.