trunk

Build, bundle & ship your Rust WASM application to the web. (by trunk-rs)

Trunk Alternatives

Similar projects and alternatives to trunk

  1. vite

    892 trunk VS vite

    Next generation frontend tooling. It's fast!

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. crates.io

    670 trunk VS crates.io

    The Rust package registry

  4. SvelteKit

    639 trunk VS SvelteKit

    web development, streamlined (by sveltejs)

  5. missing-semester

    The Missing Semester of Your CS Education 📚

  6. webpack

    366 trunk VS webpack

    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

  7. yew

    205 trunk VS yew

    Rust / Wasm framework for creating reliable and efficient web applications

  8. wasmtime

    186 trunk VS wasmtime

    A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. dioxus

    168 trunk VS dioxus

    Fullstack app framework for web, desktop, mobile, and more.

  11. wasmer

    140 trunk VS wasmer

    🚀 Fast, secure, lightweight containers based on WebAssembly

  12. sycamore

    70 trunk VS sycamore

    A library for creating reactive web apps in Rust and WebAssembly

  13. vike

    66 trunk VS vike

    🔨 The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

  14. wasm-bindgen

    Facilitating high-level interactions between Wasm modules and JavaScript

  15. wasm-pack

    38 trunk VS wasm-pack

    📦✨ your favorite rust -> wasm workflow tool!

  16. book

    24 trunk VS book

    The Rust and WebAssembly Book (by rustwasm)

  17. tailwind-yew-builder

    Build tailwind css for yew style applications, using docker-compose, so you don't need to have npm installed

  18. wee_alloc

    The Wasm-Enabled, Elfin Allocator

  19. wasm-bindgen-rayon

    Discontinued An adapter for enabling Rayon-based concurrency on the Web with WebAssembly.

  20. rsw-rs

    3 trunk VS rsw-rs

    🦞 wasm-pack based build tool

  21. awesome-vite

    33 trunk VS awesome-vite

    ⚡️ A curated list of awesome things related to Vite.js

  22. lifeee-rs

    An implementation of the Game of Life

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better trunk alternative or higher similarity.

trunk discussion

Log in or Post with

trunk reviews and mentions

Posts with mentions or reviews of trunk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-07-23.
  • Trunk: Build, bundle and ship your Rust WASM application to the web
    4 projects | news.ycombinator.com | 23 Jul 2024
    is there any doc for header support?

    https://github.com/trunk-rs/trunk/pull/322

  • Secure Pattern for Deploying WASM on S3
    2 projects | dev.to | 11 May 2024
    Going back to building the WASM package, I used a tool called Trunk to build and bundle the Rust code. When I run the command trunk build I'm presented with the following images. The first is what the build looks like from the console and the second is the contents of the dist directory that is created and populated.
  • Surprisingly Powerful – Serverless WASM with Rust Article 1
    5 projects | dev.to | 27 Apr 2024
    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. - Trunk
  • Migrating a JavaScript frontend to Leptos, a Rust framework
    4 projects | dev.to | 26 Mar 2024
    Note that Leptos uses Trunk to serve the client side application. Trunk is a zero-config Wasm web application bundler for Rust.
  • Why Is the Front End Stack So Complicated?
    1 project | news.ycombinator.com | 16 Oct 2023
    I've been using Rust and WASM for my latest front-end project, and I think this setup is a viable alternative to commonly used JS frameworks for those willing to put in some effort to ramp up on new technology. Addressing the concerns from the article:

    "No universal import system" - Rust has it's own module system and Cargo is used for managing dependencies, no need to worry about different module systems.

    "Layers of minification, uglification, and transpilation." Just compile Rust to WASM file for the browser, same as using any other compile target.

    "Wildly different environments." Something that you'll still need to deal with. Some runtime dependencies are system-specific (code running on the browser usually needs access to Web APIs, and JavaScript, code running on the server can't access WebAPIs but can access the system clock and filesystem. Sometimes separate libraries or separate runtime configs are needed (e.g. configurable time source)

    "Overemphasis on file structure." Not a problem for imports, but you may still have file structure dependencies things like CSS, image resources etc.

    "Configuration hell." Pretty much non-existent once you have your Rust compiler setup locally.

    "Development parity." Just use trunk: https://trunkrs.dev/, to watch, build and serve, config is minimal.

  • PSA: Rust web frontend with Tailwind is easy!
    3 projects | /r/rust | 1 Jul 2023
    Trunk, the Rust-equivalent of Webpack & Vite, comes with tailwind built-in. You heard that right! You don't even need to install the tailwind CLI via npm or something like that. No more package.json! <3
  • Awesome presentation of Dioxus - cross-platform GUI framework at RustNL
    3 projects | /r/rust | 14 Jun 2023
    Can you not use dioxus with "trunk" (https://trunkrs.dev/) ?
  • A Chess Engine is written in Rust that runs natively and on the web!
    4 projects | /r/rust | 30 Mar 2023
    Thanks a lot! As I said in an earlier comment, building this allowed me to explore a lot of features of rust like Traits, Dynamic Dispatch, Pattern Matching, Const evaluation, Static variables, etc. and that on top of that trying to figure out how to conveniently port it to WASM was also a nice learning experience. I am currently using trunk as a bundler which ties in neatly with a GitHub action but before that, I tried cargo-run-wasm, which felt a little hacky. So overall a whole lot of learning.
  • Speak English to me, The secret World of Programmers
    7 projects | news.ycombinator.com | 16 Mar 2023
    Here here. I don't think programmers - as a group - get to complain about people not learning programming tools while simultaneously making them so unapproachable (especially Linux things).

    It's not just the overuse of acronyms. There's also:

    * Religious devotion to the CLI despite it having terrible discoverability.

    * Really bad naming. Git is probably the worst offender at this, but the whole of Unix is a naming mess. WTF is `usr`? Is that where user files go?

    * Generally over-complicated tooling. A good example of this is Node/NPM. So complicated to set up! Contrast it with https://trunkrs.dev/

    * Deification of distro packages. No I do not want to spend half of my development time packaging my app for 10 different distros. I guess I'll go with curl | bash then.

    * Distain for binary app distribution. I'm looking at you glibc.

  • Helper/cheat tool for the board game Cryptid - my first website built with Rust/Wasm
    1 project | /r/rust | 7 Mar 2023
    I used Notan for drawing the game board in combination with the excellent egui for adding UI elements. It was surprisingly easy to bring it to web with Trunk.
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 17 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic trunk repo stats
57
3,755
9.3
3 days ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Rust is
the 5th most popular programming language
based on number of references?