# refile/refile

Ruby file uploads, take 3

Repository: https://github.com/refile/refile
Canonical: https://ross.abutalabs.com/products/refile
Language: Ruby
License: MIT
License Family: permissive
Last push: 2024-07-01T17:43:36+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4305, "days_push": 793, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2433, forks 296 (observed 2026-08-28T04:06:51.176582+00:00)

## What it is
Refile is a Ruby file upload library for web applications, offering configurable backends (file system, S3), ORM integration, on-the-fly image processing, and streaming uploads. It includes a Rack app for serving files and a JavaScript library for direct uploads.

## Use cases
- handle file uploads in a Rails app
- upload images to S3 from Ruby
- resize images on the fly after upload
- support direct uploads from the browser to S3
- attach files to ActiveRecord models
- handle multiple file uploads in forms

## When to choose
- you need simple, streaming file uploads in a Ruby/Rails app
- you want pluggable backends like S3 or local file system
- you need on-the-fly image processing with MiniMagick

## When to avoid
- you need a very actively developed solution with frequent updates
- you are not using Ruby or Rack-based web frameworks
- you need advanced features of newer upload libraries like Active Storage

## Facets
- artifact type: library
- maturity: maintenance
- function: file-upload, image-processing, http-server
- domain: web-development, backend, files
- platform: ruby
- tags: file-uploads, rack, rails, s3, direct-upload, activerecord, web-server

## Member repositories
- refile/refile (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:51.176582+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:31:10.018683+00:00, confidence not recorded.
  - readme: https://github.com/refile/refile (fetched 2026-08-28T04:06:51.176582+00:00, sha 6b8e72720863)
- Data as of 2026-08-30T08:39:29.467469+00:00.
