Stream: general

Topic: Prototype web-based wasm module viewer


view this post on Zulip Ryan Hunt (Aug 13 2025 at 14:47):

Hi all! I just wanted to share a quick project I worked on that may be of interest to folks here: github.com/eqrion/wasm-explorer (https://eqrion.github.io/wasm-explorer)

It's a web based viewer for wasm modules built using componentized versions of the wasm-tools crates (originally a fork of the sandbox from that repo). My hope is to optimize it to work really well for huge wasm modules (+50MiB) where simply opening the text format in an text viewer is not a good experience. It virtualizes the wasm module text format so you navigate through the AST using search, cross references, and a tree view.

It's pretty early, so there may be bugs. I have a small roadmap of features I hope to add over time, contributions are welcome.

Contribute to eqrion/wasm-explorer development by creating an account on GitHub.

view this post on Zulip Pat Hickey (Aug 13 2025 at 14:59):

Love it! any plans to extend it to support components? It seems to just do nothing when I open one of those :)

view this post on Zulip Ralph (Aug 13 2025 at 15:01):

same here

view this post on Zulip Ralph (Aug 13 2025 at 15:01):

because I was sooooo excited to try one!

view this post on Zulip Ryan Hunt (Aug 13 2025 at 15:06):

Yes, that's one of the next things I'd like to do. I hope it won't be too bad, but I might need to refactor some of the virtualization/AST code to be less hacky to get it to work well.

view this post on Zulip Ralph (Aug 13 2025 at 15:08):

def ping when you want us to try -- I got large components waiting

view this post on Zulip bjorn3 (Aug 13 2025 at 15:11):

It kinda gets stuck for me on https://github.com/bjorn3/wasm-rustc/blob/main/bin/rustc.wasm which is 77MB.

Contribute to bjorn3/wasm-rustc development by creating an account on GitHub.

view this post on Zulip bjorn3 (Aug 13 2025 at 15:12):

Or at least it is very slow.

view this post on Zulip bjorn3 (Aug 13 2025 at 15:13):

And firefox uses 5GB when loading that file.

view this post on Zulip bjorn3 (Aug 13 2025 at 15:15):

My hope is to optimize it to work really well for huge wasm modules (+50MiB) where simply opening the text format in an text viewer is not a good experience.

Sorry, read that as that you already did optimizations.

view this post on Zulip bjorn3 (Aug 13 2025 at 15:15):

Slowness on my rather large wasm module aside, it does look pretty.


Last updated: Dec 06 2025 at 05:03 UTC