Zig Asset Bundler


Compress and embed directories into your Zig executable.

This is a first initial release, I plan to use it in Zine because the Zine executable needs to contain all the assets that are part of the template website you get when you run zine init.

As the readme says, I would like to add more features, starting from supporting more compression algorithms. For now I just use std.compress.flate.

I was thinking about something exactly like this a couple weeks ago, quite useful!

Quin July 10, 2026, 5:27pm 3

Well I’ll be damned…literally started writing something exactly like this to allow me to bundle a bunch of prerecorded audio files into an executable, opened ziggit after a bit to search for help with an error and this popped up. Excellent work from a quick glance, I’ll definitely be utilizing this!

Thank you all, I’m also interested in learning more about use cases to extend functionality.

My personal usecase at the moment is very banal, but I’d be happy to put in some work to account for people that make heavier use of this stuff.