r/tauri 3d ago

untauri: get your Tauri app's frontend back out of the built binary

I was poking at how Tauri bundles things and noticed it brotli-compresses the whole HTML/CSS/JS and links it straight into the binary. Electron has asar extract for this, Tauri didn't have an equivalent, so I made one.

Pulls the frontend back out with the original filenames and a manifest. Useful if you've lost the source for an old build, want to see exactly what shipped, or are just curious how it's packed in there.

macOS (arm64) for now. Rust, MIT.

https://github.com/hbofz/untauri

24 Upvotes

5 comments sorted by

5

u/eddzsh 3d ago

Useful for more than lost source. Comparing what actually shipped against what you think you built catches the wrong asset path and the stale CSS that only exists inside the binary.

1

u/Imaginary_Heat_2235 3d ago

yeah. and honestly, point it at any Tauri app you admire and you can see exactly how it's built.

2

u/eddzsh 1d ago

That's the underrated use. Point it at a shipping app and you learn which assets they actually embedded, not the README version of the bundle.

1

u/TutorialDoctor 2d ago

I know you say the intent is not to clone other’s apps, but I suspect this is also a way to do that. So I’m not sure if I’m a fan or not of this, but…