Closed awead closed 6 years ago
Options for investigation
There are a few other gems in ruby toolbox, but they do not have recent releases
There could also be some javascript options to look at based on the java script framework chosen
Remotipart only has documentation for Rails 3. Going to skip it.
Shrine documentation suggests it is similar to
Uploading folders, and retaining their structure, would be a nice bonus. @ntallman will provide further details if nested folders should be nested works or not.
No AR | processing chain | restartable upload integration | File Folder Structure | html5 ui | code | |
---|---|---|---|---|---|---|
Shrine | yes | yes | tus (https://twin.github.io/resumable-file-uploads-in-ruby/) | yes (slightly harder to configure than the rest) | yes | https://github.com/psu-libraries/cho/compare/master...i%23364_shrine |
CarrierWave | yes | yes | no built in integration | yes | yes | https://github.com/psu-libraries/cho/compare/master...i%23364 |
dragonfly | yes | yes | no built in integration | yes | yes | https://github.com/psu-libraries/cho/compare/master...i%23364_dragonfly |
At this point, nested folders don't have to equate to nested works. Might be a good future enhancement for batch uploads, but not necessary right now.
I really like that tus (via Shrine) has built-in checksums to mitigate dropped bits on transfer. +1!
We have chosen shrine becuase of its extensibility and the example integration with TUS.
Sufia and Hyrax still use CarrierWave for the backend and a jQuery file upload plugin for the UI. Do we still want to use that combination? We should explore what other options exist.