# 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.


Source: https://findsoftware.frbit.cloud/shakapacker/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://shakapacker.com
- repository: https://github.com/shakacode/shakapacker
- docs: https://shakapacker.com/docs/

### Identity

- status: active
- maintainer: ShakaCode, LLC
- maintainerType: company
- parent: unknown
- firstRelease: 2022
- hqCountry: US

### Kind

- category: build-tool
- hosting: not applicable
- language: ruby
- runtime: ruby, node
- runtimeMin: ruby 2.7
- basedOn: rails

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: local
- renderingModes: not applicable
- installMethod: bundle add shakapacker --strict

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 10
- latestReleaseDate: 2026-08-29

### Adoption

- githubStargazers: 489
- packagistDownloads: not applicable
- npmWeeklyDownloads: 306945
- contributors: 437
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 186
- dependentPackages: 3

### Sources

- urls: https://shakapacker.com/ (read 2026-10-28)
- urls: https://api.github.com/repos/shakacode/shakapacker (read 2026-10-28)
- urls: https://github.com/shakacode/shakapacker/blob/main/README.md (read 2026-10-28)
- maintainer: https://www.shakacode.com/ (read 2026-10-28)
- maintainerType: https://www.shakacode.com/ (read 2026-10-28)
- hqCountry: https://www.shakacode.com/ (read 2026-10-28)
- language: https://api.github.com/repos/shakacode/shakapacker (read 2026-10-28)
- category: https://github.com/shakacode/shakapacker/blob/main/README.md (read 2026-10-28)
- basedOn: https://github.com/shakacode/shakapacker/blob/main/README.md (read 2026-10-28)
- runtime: https://shakapacker.com/docs/installation/ (read 2026-10-28)
- runtimeMin: https://github.com/shakacode/shakapacker/blob/v10.3.2/shakapacker.gemspec (read 2026-10-28)
- installMethod: https://github.com/shakacode/shakapacker/blob/main/README.md (read 2026-10-28)
- installMethod: https://shakapacker.com/ (read 2026-10-28)
- runsAs: https://shakapacker.com/docs/deployment/ (read 2026-10-28)
- license: https://api.github.com/repos/shakacode/shakapacker (read 2026-10-28)
- licenseModel: https://github.com/shakacode/shakapacker/blob/main/README.md (read 2026-10-28)
- firstRelease: https://rubygems.org/api/v1/versions/shakapacker.json (read 2026-10-28)
- currentMajor: https://api.github.com/repos/shakacode/shakapacker/releases (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/shakacode/shakapacker/releases (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/shakacode/shakapacker (read 2026-10-28)
- contributors: https://api.github.com/repos/shakacode/shakapacker/contributors (read 2026-10-28)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/shakapacker (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/shakapacker (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/shakapacker (read 2026-10-28)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
