RepoPilot

trunk-rs/trunk

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

Healthy

Strong maintenance signals

HealthyDependency

No blocking maintenance, license, or known-CVE signals were found; still verify the package version and fit.

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

Scorecard "Branch-Protection" is 0/10; 8 cyclic import chains — pervasive coupling

  • Scorecard: default branch unprotected (0/10)
  • Last commit 2w ago
  • 21+ active contributors
  • Distributed ownership (top contributor 36% of recent commits)
  • Apache-2.0 licensed
  • CI configured
  • Tests present

What would improve this?

  • Deploy as-is Mixed to Healthy if: bring "Branch-Protection" to ≥3/10 (see scorecard report)

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: trunk-rs/trunk

Generated by RepoPilot · document generated 2026-09-14 · concise human review Evidence snapshot · analyzed 2026-09-14T22:30:10.234Z · commit 7403c41cb4a5

Verdict

Healthy — Strong maintenance signals

  • Last commit 2w ago
  • 21+ active contributors
  • Distributed ownership (top contributor 36% of recent commits)
  • Apache-2.0 licensed
  • 2 more receipts on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

What it is

Trunk is a Rust WASM bundler that builds, bundles, and ships web applications compiled from Rust to WebAssembly. It processes a source HTML file to bundle WASM binaries, JavaScript snippets, and static assets (images, CSS, SCSS) into optimized production artifacts, with an integrated dev server featuring hot reloading and proxy support. Single-binary architecture: src/cmd/ contains subcommands (build, serve, watch, clean, completion, config, tools), src/config/ handles static config parsing and runtime execution models, src/pipelines/ processes asset types (CSS, HTML, icons, inline content, copy operations), and src/common/ provides HTML rewriting and shared utilities. The…

Start here

Read these in order:

  • src/common/html_rewrite.rs — Foundation: doesn't import anything internally and is imported by 2 other files. Read first to learn the vocabulary.
  • src/pipelines/copy_dir.rs — Foundation: imported by 2, no internal dependencies of its own.
  • src/common/mod.rs — Built on the foundation; imported by 5 downstream files.
  • src/processing/mod.rs — Built on the foundation; imported by 1 downstream file.
  • src/tools.rs — Layer 2 — application-level code that wires the lower layers together.

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

Clone and build from source using cargo install --path . trunk (per README). For development: cargo build (inferred from standard Rust project structure). Verify the manifest at Cargo.toml before running any comma…

Daily commands:

Not directly runnable as a library; Trunk is a CLI binary. Run trunk build to compile a WASM project (requires a Trunk.toml config and HTML entry point), trunk serve to start the dev server with hot reload, or `trun…

…shortened for this brief.

Key cautions & unknowns

  • Scorecard: default branch unprotected (0/10)
  • The Cargo.toml sets edition to 2024 (unusual; verify this is intentional with project maintainers). The serde_yaml dependency is explicitly pinned to version 0.9.33 with a comment noting it is deprecated—updating it…
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Healthy" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Healthy
[![RepoPilot: Healthy](https://repopilot.app/api/badge/trunk-rs/trunk)](https://repopilot.app/r/trunk-rs/trunk)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/trunk-rs/trunk on X, Slack, or LinkedIn.

Ask AI about trunk-rs/trunk

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Recent Q&A

Public conversations other people have had about this repo.

Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/trunk-rs/trunk"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>