shrinerb/shrine
File Attachment toolkit for Ruby applications observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3965
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
3285 stars · 277 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Shrine is a modular file attachment toolkit for Ruby applications that handles uploading, storing, processing, and serving files across many storage backends like filesystem, S3, and Google Cloud. It integrates with popular ORMs via plugins and supports direct, presigned, and resumable uploads with background processing.
Use cases
- attach images to models in a Ruby app
- upload files to S3 from a Rails application
- generate image thumbnails on upload
- handle large resumable file uploads
- accept direct-to-cloud uploads from the browser
- store attachments with ActiveRecord or Sequel
- process uploads in background jobs
When to choose
- you need framework-agnostic file attachments in Ruby (Sinatra, Roda, Hanami, Rails)
- you want pluggable storage backends and a modular plugin system
- you need direct or resumable uploads with Uppy or tus
- you want eager or on-the-fly thumbnail generation
When to avoid
- you're not using Ruby
- you need a simple one-file upload in a non-web script
- you want a batteries-included Rails-only solution like Active Storage
Facets
library · maturity stable
file-upload image-processing orm middleware plugin-system web-development backend files developer-tools ruby cross-platform file-attachments s3 direct-upload resumable-uploads activerecord sequel rack background-jobs thumbnails web-server
7 sources
- readme: https://github.com/shrinerb/shrine · fetched 2026-08-28 · faf4368a095f
- homepage: https://shrinerb.com · fetched 2026-08-29 · d0399c091f85
- site_page: https://shrinerb.com/docs/getting-started · fetched 2026-08-29 · a53d0ce741fc
- site_page: https://shrinerb.com/docs/plugins/activerecord · fetched 2026-08-29 · d93c8cd956f7
- site_page: https://shrinerb.com/docs/external/extensions · fetched 2026-08-29 · 32ab17e31c30
- site_page: https://shrinerb.com/docs/release_notes/3.9.0 · fetched 2026-08-29 · ba21ed0c3175
- site_page: https://shrinerb.com/docs/advantages · fetched 2026-08-29 · 5744639446d7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shrinerb/shrine | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem