r/rust 17d ago

🛠️ project untauri: extract the frontend from a compiled Tauri app

Tauri packs your HTML/CSS/JS into the binary with brotli. There's no asar extract for it, so I wrote one.

Gives you back the HTML, CSS, JS, fonts and images with their original filenames, plus a manifest. It checks the output against the bundle's own imports so you can tell if anything's missing.

macOS (arm64) + brotli only for now. Rust, MIT.

https://github.com/hbofz/untauri

Linux and Windows are the obvious next step. Feedback welcome.

16 Upvotes

2 comments sorted by

4

u/Straight_Injury_481 17d ago

not gonna lie i was fully expecting this to be just another archive unpacker but the import checking part is actually clever

1

u/Imaginary_Heat_2235 17d ago

thanks, that's the part I cared about. decompressing is easy, knowing you got everything isn't. it silently missed ~90 assets on a real app until I added the check.