# farm-fe/farm

Extremely fast Vite-compatible web build tool written in Rust

Repository: https://github.com/farm-fe/farm
Canonical: https://ross.abutalabs.com/products/farm
Homepage: https://farmfe.org
Language: Rust
License: MIT
License Family: permissive
Topics: build-tool, compiler, rust, hmr, frontend, farm, bundler, typescript, vite
Last push: 2026-06-14T13:57:04+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 87, release rhythm 33, longevity 100
- inputs: {"age_days": 1529, "days_push": 80, "days_rel": 371, "gap_med": 0.0, "n_releases_24m": 199}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5592, forks 192 (observed 2026-08-28T04:09:22.725639+00:00)

## What it is
Farm is an extremely fast, Vite-compatible web build tool and bundler written in Rust that compiles JS/JSX/TS/TSX, CSS, HTML, JSON, and static assets into deployable bundles, with a built-in dev server offering millisecond cold starts and sub-10ms HMR updates. It ships official Rust and JavaScript plugins for React, Vue, Solid, and Sass/Less/PostCSS, supports Vite plugins directly, and provides persistent incremental compilation plus flexible partial bundling so development and production output stay consistent.

## Use cases
- speed up builds of a large webpack project
- find a fast Vite alternative written in Rust
- scaffold a React or Vue project with instant HMR
- bundle a TypeScript frontend app for production
- fix slow dev server refreshes with thousands of modules
- keep dev and production builds consistent
- control how bundles are split for better caching

## When to choose
- Your large web project takes minutes to build with webpack and HMR updates take tens of seconds
- You want Vite-style dev server, HMR, and plugin ergonomics backed by Rust-native speed and persistent module-level caching
- You need flexible, fine-grained bundle splitting without losing caching granularity
- You value identical behavior between development and production builds to simplify debugging

## When to avoid
- You depend on deeply webpack-specific loaders or plugins that cannot map to Rollup/Vite-style hooks
- You are bundling non-web targets such as native binaries or backend-only libraries
- Your team requires the most battle-tested, mature ecosystem for a critical legacy build pipeline
- You are starting a tiny project where migrating to a newer build tool is not worth the effort

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, compiler, cli
- domain: web-development, frontend, developer-tools
- platform: cross-platform, cli, windows
- tags: bundler, vite-compatible, hmr, rust, tree-shaking, code-splitting, partial-bundling, incremental-compilation, persistent-cache, dev-server, react, vue, typescript, css-modules, sass, frontend-tooling, plugin-system, esm, command-line, nodejs, linux, macos

## Member repositories
- farm-fe/farm (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.725639+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:21:41.809136+00:00, confidence not recorded.
  - readme: https://github.com/farm-fe/farm (fetched 2026-08-28T04:09:22.725639+00:00, sha 778ec38f0faf)
  - homepage: https://farmfe.org (fetched 2026-08-29T08:50:28.339801+00:00, sha 0ee4f2bb6b72)
  - site_page: https://www.farmfe.org/docs/quick-start (fetched 2026-08-29T08:50:28.348886+00:00, sha faea74e5e072)
  - site_page: https://www.farmfe.org/docs/config/configuring-farm (fetched 2026-08-29T08:50:28.351121+00:00, sha 37fb00ed3577)
  - site_page: https://www.farmfe.org/docs/api/rust-plugin-api (fetched 2026-08-29T08:50:28.353404+00:00, sha d1304a57d9e0)
  - site_page: https://www.farmfe.org/docs/plugins/official-plugins/overview (fetched 2026-08-29T08:50:28.356479+00:00, sha 4666c412d3c9)
  - site_page: https://www.farmfe.org/docs/why-farm (fetched 2026-08-29T08:50:28.358132+00:00, sha dee1d188ea2a)
  - site_page: https://www.farmfe.org/docs/0.x/why-farm (fetched 2026-08-29T08:50:28.359893+00:00, sha bd011d722d63)
- Data as of 2026-08-30T08:39:29.467469+00:00.
