# ElMassimo/vite_ruby

⚡️ Vite.js in Ruby, bringing joy to your JavaScript experience

Repository: https://github.com/ElMassimo/vite_ruby
Canonical: https://ross.abutalabs.com/products/vite_ruby
Homepage: https://vite-ruby.netlify.app
Language: Ruby
License: MIT
License Family: permissive
Topics: vitejs, vite, rails, ruby, frontend-tooling, integration, plugin, rack, hanami
Last push: 2026-08-26T17:07:55+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2052, "days_push": 7, "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 1591, forks 150 (observed 2026-08-28T04:05:08.570205+00:00)

## What it is
Vite Ruby is a set of Ruby libraries that integrate the Vite.js frontend build tool with Ruby frameworks like Rails and Hanami. It enables instant dev server startup, hot module reload, and zero-config production bundling integrated with Rails asset precompilation.

## Use cases
- use vite instead of webpacker in a rails app
- add hot module reload to my ruby web app frontend
- bundle javascript assets in hanami with vite
- speed up frontend dev server startup in rails
- integrate vite build with assets:precompile rake task
- replace webpack with a faster frontend tooling setup in ruby

## When to choose
- you're building a Rails or Hanami app with modern JavaScript or TypeScript frontend
- you want fast HMR and instant dev server start compared to webpacker
- you want production bundling with tree-shaking integrated into Rails asset tasks

## When to avoid
- your app has no JavaScript/frontend assets beyond minimal scripts
- you're heavily invested in webpacker or importmap-rails and don't need a bundler
- your stack isn't Ruby-based

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, developer-tools, middleware
- domain: web-development, frontend, developer-tools
- platform: ruby
- tags: vite, rails, hanami, frontend-tooling, hmr, asset-pipeline, webpacker-alternative, nodejs, web-server

## Member repositories
- ElMassimo/vite_ruby (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.570205+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-30T03:54:42.661778+00:00, confidence not recorded.
  - readme: https://github.com/ElMassimo/vite_ruby (fetched 2026-08-28T04:05:08.570205+00:00, sha 742d3d7346be)
  - homepage: https://vite-ruby.netlify.app (fetched 2026-08-29T11:25:13.704068+00:00, sha 4de2f10b85da)
- Data as of 2026-08-30T08:39:29.467469+00:00.
