trunk-rs/trunk
trunk-rs/trunk has 4,423 GitHub stars and 325 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 15:43 UTC. Last push 2026-11-02.
Build, bundle & ship your Rust WASM application to the web.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalTrunk
Build, bundle & ship your Rust WASM application to the web.
”Pack your things, we’re going on an adventure!” ~ Ferris
Trunk is a WASM web application bundler for Rust. Trunk uses a simple, optional-config pattern for building & bundling WASM, JS snippets & other assets (images, css, scss) via a source HTML file.
📦 Dev server - Trunk ships with a built-in server for rapid development workflows, as well as support for HTTP & WebSocket proxies.
🏗 Change detection - Trunk watches your application for changes and triggers builds for you, including automatic browser reloading.
Getting Started
Head on over to the Trunk website, everything you need is there. A few quick links:
- Install
- Download a released binary: https://github.com/trunk-rs/trunk/releases
cargo binstall trunk(installing a pre-compiled binary using cargo-binstall)cargo install trunk --locked(compile your own binary from crates.io)cargo install --git https://github.com/trunk-rs/trunk trunk(compile your own binary from the most recent git commit)cargo install --path . trunk(compile your own binary from your local source)brew install trunk(installing from Homebrew)nix-shell -p trunk(installing from nix packages)
- App Setup
- Assets
- Configuration
- CLI Commands
Examples
Check out the example web applications we maintain in-repo under the examples directory.
Contributing
Anyone and everyone is welcome to contribute! Please review the CONTRIBUTING.md document for more details. The best way to get started is to find an open issue, and then start hacking on implementing it. Letting other folks know that you are working on it, and sharing progress is a great approach. Open pull requests early and often, and please use GitHub's draft pull request feature.
License
trunk is licensed under the terms of the MIT License or the Apache License 2.0, at your choosing.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,729 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,279 starsreact/react
The library for web and native user interfaces.
252,377 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,630 stars