# rails/propshaft

Deliver assets for Rails

Repository: https://github.com/rails/propshaft
Canonical: https://ross.abutalabs.com/products/propshaft
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-09-02T17:10:10+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 68, longevity 100
- inputs: {"age_days": 1810, "days_push": 0, "days_rel": 138, "gap_med": 43.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1044, forks 115 (observed 2026-09-03T02:15:17.231561+00:00)

## What it is
Propshaft is a modern asset pipeline library for Rails that serves and fingerprints assets with digest stamping. It offers a simpler, faster alternative to Sprockets by delegating bundling and transpilation to dedicated Node.js tools.

## Use cases
- serve assets in a Rails app without Sprockets complexity
- digest-stamp assets for long-lived cache headers in production
- serve assets directly in development without precompilation
- combine asset paths from app and gems into one load path
- rewrite CSS url() references to digested asset paths
- migrate a Rails 7 app to the Rails 8 default asset pipeline

## When to choose
- you use Rails 7+ and don't need bundling or transpilation in the pipeline
- you compile JavaScript and CSS with external tools like esbuild or Dart Sass
- you want a fast, minimal asset pipeline with digest fingerprinting

## When to avoid
- you need built-in minification, bundling, or transpilation
- you rely on Sprockets-specific features or legacy asset processing
- you're not building a Rails application

## Facets
- artifact type: library
- maturity: stable
- function: build-tool, http-server, developer-tools
- domain: web-development, frontend, developer-tools
- platform: ruby
- tags: asset-pipeline, rails, sprockets-replacement, digest-stamping, static-assets, web-server

## Member repositories
- rails/propshaft (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:17.231561+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-30T07:02:15.559152+00:00, confidence not recorded.
  - readme: https://github.com/rails/propshaft (fetched 2026-09-03T02:15:17.231561+00:00, sha db87701b8649)
- Data as of 2026-08-30T08:39:29.467469+00:00.
