FindSoftware

Shakapacker

Rails gem and npm package that bundles a Rails app's JavaScript and CSS with webpack or Rspack and exposes the output through Rails view helpers.

Shakapacker connects a Rails application to a JavaScript bundler. It runs webpack or Rspack over the app’s JavaScript and CSS, writes a manifest of the output files, and gives view helpers for rendering the bundled assets. It is added to a Rails app with bundle add, and an installer task writes the bundler configuration and entry points into the app. The project’s configuration lives in config/shakapacker.yml, and the bundler configuration stays editable for teams that need custom setups.

The project describes itself as the successor to rails/webpacker, the bundler integration it replaces. ShakaCode, LLC, a consultancy for Rails teams, maintains it.

Worth knowing

Compiling the assets runs as a step of assets:precompile, so the machine or CI job that precompiles the app needs Node.js as well as Ruby. The installation guide lists both as requirements.

Identity

Status
Active
Maintainer
ShakaCode, LLC4
Maintained by
Company4
First release
20228
Headquarters
United States4

Rendering and deploy

Runs as
Dev only7
Install with
bundle add shakapacker --strict13

Releases

Current major version
109
Last release
2026-08-299

Adoption

GitHub stars
4892
npm downloads a week
306,94511
Contributors
43710
Dependent repositories
18612
Dependent packages
312

Why these figures do not compare

Sources

  1. 2026-10-28: links, Install with
    shakapacker.com/
  2. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/shakacode/shakapacker
  3. 2026-10-28: links, Categories, Built on, Install with, License model
    github.com/shakacode/shakapacker/blob/main/README.md
  4. 2026-10-28: Maintainer, Maintained by, Headquarters
    www.shakacode.com/
  5. 2026-10-28: Runtime
    shakapacker.com/docs/installation/
  6. 2026-10-28: Minimum runtime
    github.com/shakacode/shakapacker/blob/v10.3.2/shakapacker.gemspec
  7. 2026-10-28: Runs as
    shakapacker.com/docs/deployment/
  8. 2026-10-28: First release
    rubygems.org/api/v1/versions/shakapacker.json
  9. 2026-10-28: Current major version, Last release
    api.github.com/repos/shakacode/shakapacker/releases
  10. 2026-10-28: Contributors
    api.github.com/repos/shakacode/shakapacker/contributors
  11. 2026-10-28: npm downloads a week
    api.npmjs.org/downloads/range/2026-09-28:2026-10-04/shakapacker
  12. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/shakapacker

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON