# trunk-rs/trunk

Build, bundle & ship your Rust WASM application to the web.

Repository: https://github.com/trunk-rs/trunk
Canonical: https://ross.abutalabs.com/products/trunk
Homepage: https://trunk-rs.github.io/trunk/
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, wasm, bundler, assets, wasm-bindgen, html, scss, sass, build-tool, compiler
Last push: 2026-08-26T09:35:02+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 40, longevity 100
- inputs: {"age_days": 2205, "days_push": 7, "days_rel": 482, "gap_med": 10, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4376, forks 322 (observed 2026-08-28T04:08:46.899234+00:00)

## What it is
Trunk is a build tool and bundler for Rust WASM web applications, driven by a source HTML file with optional configuration. It bundles WASM, JS snippets, and assets like images, CSS, and SCSS, and includes a built-in dev server with live reload.

## Use cases
- build and bundle a rust wasm web app
- serve a yew or leptos app locally with hot reload
- compile scss and bundle assets for a wasm frontend
- package wasm-bindgen output for web deployment
- set up a dev server with proxying for a rust frontend

## When to choose
- you are building a web frontend in Rust with wasm-bindgen-based frameworks like Yew or Leptos
- you want a simple, convention-over-configuration bundler with a built-in dev server
- you need asset pipelines for SCSS/Sass, images, and JS snippets alongside WASM

## When to avoid
- your frontend is written in JavaScript or TypeScript rather than Rust
- you need a full-featured bundler with complex code-splitting and plugin ecosystems
- you are targeting non-web platforms like native or embedded

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, compiler, wasm, developer-tools, cli
- domain: web-development, frontend, developer-tools, compilers
- platform: rust, cli, cross-platform
- tags: wasm-bundler, wasm-bindgen, scss, dev-server, asset-pipeline, yew, leptos, web-server

## Member repositories
- trunk-rs/trunk (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.899234+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:22:07.516585+00:00, confidence not recorded.
  - readme: https://github.com/trunk-rs/trunk (fetched 2026-08-28T04:08:46.899234+00:00, sha 06ef4e5e8845)
  - homepage: https://trunk-rs.github.io/trunk/ (fetched 2026-08-29T09:09:35.979095+00:00, sha b74fd869af89)
  - registry_crates: https://crates.io/api/v1/crates/trunk (fetched 2026-08-29T09:09:35.988466+00:00, sha 4665b81715ef)
- Data as of 2026-08-30T08:39:29.467469+00:00.
