CarrierWave
Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks (by carrierwaveuploader)
Shrine
File Attachment toolkit for Ruby applications (by shrinerb)

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
CarrierWave | Shrine | |
---|---|---|
4 | 8 | |
8,776 | 3,193 | |
-0.1% | 0.1% | |
8.1 | 5.2 | |
about 1 month ago | 5 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CarrierWave
Posts with mentions or reviews of CarrierWave.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-12-16.
-
Released a Library for Synchronous Execution of Asynchronous Processes in JS/TS
Accel Record is also designed to be similar to Ruby on Rails' Active Record in terms of usability, and one of the things I want to achieve in the future is to create a library like CarrierWave. CarrierWave allows you to save images to external storage services (such as AWS S3) when saving records, and to achieve this with Accel Record, it is necessary to execute asynchronous processes such as image uploads synchronously. I expect that this process can be executed faster by using worker_threads instead of subprocesses.
-
I've done a mistake when I've chosen ActiveStorage (Rails 7. Start Kit, Release 1.7)
Don't you know `carrierwave` and `shrine` work already with this secure way to name folders/files? - https://github.com/carrierwaveuploader/carrierwave - https://github.com/shrinerb/shrine
-
Carrier Wave and How to Test Uploading a New Image to a ActiveRecord::Base Model
We’re a Rails shop at Forem. In the Forem code base we use the CarrierWave gem to help with our file uploads.
Shrine
Posts with mentions or reviews of Shrine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-05.
-
Hanami Shrine - file handling in Hanami
We will be using shrine and I want to start this post by saying a few words about it.
-
[Poll] How do you handle file attachments in your Rails app in 2023?
Shrine is great, has more features and a simpler API (imo) than ActiveStorage https://shrinerb.com
-
I've done a mistake when I've chosen ActiveStorage (Rails 7. Start Kit, Release 1.7)
Don't you know `carrierwave` and `shrine` work already with this secure way to name folders/files? - https://github.com/carrierwaveuploader/carrierwave - https://github.com/shrinerb/shrine
-
A First Look at Hanami 2 for Ruby
In general, even though the Hanami ecosystem lacks any "plug-and-play" solutions such as Devise, you can use many existing libraries not tightly coupled to Ruby on Rails. For authentication, you can use Warden, OmniAuth or Rodauth. For uploads there is Shrine. The pagination is built into ROM. Integration with exception catchers such as Rollbar is easy.
- If you use shrine, lock net-protocol to < 0.2.0 for now
-
Image Uploading with Shrine
Once I knew I wanted to upload images I stated to look around for different ways to do so. I came across a gem named shrine which can be found here https://shrinerb.com/. This is were the hard part came in. Aside from installing the gem like normal, there was a second step that needed to be done to allow images to be rendered. I needed to install https://imagemagick.org/index.php ImageMagick onto my system. After this I was able to add images.
-
is it possible to convert a json string into a StringIO or other file-like object?
A [file field submission](https://github.com/shrinerb/shrine/wiki/Adding-Direct-S3-Uploads) (without Dashboard/Webcam) takes hidden_field :image, value: @photo.cached_image_data and a file_field :image selection in the form, then does this in console when saved:
-
Shrine Photo Uploader – Galeria de Fotos
Toolkit: Shrine
What are some alternatives?
When comparing CarrierWave and Shrine you can also consider the following projects:
PaperClip - Easy file attachment management for ActiveRecord
DragonFly - A Ruby gem for on-the-fly processing - suitable for image uploading in Rails, Sinatra and much more!
Refile - Ruby file uploads, take 3
attache - Yet another approach to file upload
rack-secure-upload - Upload files securely
rails7-startkit - Launch Rails with 1 shell command!
ruby-cff - A Ruby library for manipulating CITATION.cff files.

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured