# Propshaft

> Deliver assets for Rails

Source: https://talira.ai/catalog/propshaft-qtpqd0hb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [frameworks / rails / asset pipelines](https://talira.ai/categories/frameworks/rails/asset-pipelines), [languages / ruby / rails](https://talira.ai/categories/languages/ruby/rails)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Ruby on Rails](https://talira.ai/orgs/ruby-on-rails.md)
- Creator: David Heinemeier Hansson

Propshaft is the asset pipeline in new [Rails](https://talira.ai/catalog/ruby-on-rails-xkdcpj5k.md) 8 apps, replacing Sprockets. It deliberately does less: it gathers assets from a configurable load path across the app and its gems, copies them with a digest stamped into each filename so they can be cached forever, serves them in development without precompiling, and rewrites `url()` references in CSS to the digested paths. It leaves bundling, transpiling and minification to JavaScript bundlers or [import maps](https://talira.ai/catalog/importmap-for-rails-nszvnc7v.md), and supports Subresource Integrity.

## Links

- GitHub: https://github.com/rails/propshaft

## Problems it solves

- Sprockets is slow and complicated for what our Rails app needs
- fingerprint our static files so browsers can cache them forever
- serve images, CSS and JavaScript in development without precompiling
- migrate a Rails app off Sprockets to the newer default
- add integrity hashes to our script and stylesheet tags
- reference digested asset paths from inside our CSS files

## Features

- configurable load path across the app and gems
- digest stamping with a manifest for long-expiry caching
- development server without precompiling
- CSS url() rewriting to digested paths
- Subresource Integrity
- excluded paths for compiler inputs
- upgrade guide from Sprockets

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- backed by Ruby on Rails
- created by David Heinemeier Hansson

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Shakapacker](https://talira.ai/catalog/shakapacker-hhhnjmth.md): Use Webpack to manage app-like JavaScript modules in Rails

## Sources

[^1]: https://github.com/rails/propshaft/blob/main/MIT-LICENSE (checked 21 Nov 2026)
[^2]: https://github.com/rails/propshaft (checked 21 Nov 2026)
