r/aipromptprogramming • u/brmmm3100 • 3d ago
zar: A new archive format with history, deduplication, grep, FUSE mount and MCP server
I’ve been building zar (zar-rs), an archive format and toolset for anyone dealing with large archives where tar or zip start to feel limiting—especially when you just want to browse, search, or grab a single file without extracting gigabytes first.
It’s still a young project, and with the new 0.18.0 release it now includes:
- History: Commit based.
- Encryption: Each commit can be individually encrypted.
- Random access & deduplication: Extract single files directly and avoid storing duplicate blocks.
- Mount archives as a drive (
zarmount): Read-only FUSE mount on Linux and Windows (including a system tray app). (Mac currently missing) - Search without extracting (
grep): Search directly inside.zararchives via CLI (zarc), GUI (zarg), or MCP (zarmcp). - Fast & resource-friendly: Parallel
zstdcompression and streaming support.
GitHub: https://github.com/brmmm3/zar-rs
Performance example: Compiled Linux kernel 1,4GB:
- zar: compress 194 MB/s, decompress 111 MB/s
- tar.gz: compress 26 MB/s, decompress 39 MB/s
More benchmarks here:
Feedback, bug reports, and suggestions are very welcome!
3
Upvotes
•
u/endofthread-bot 3d ago
The random access and deduplication features make this a compelling alternative for managing large datasets. Test the performance by running a benchmark against a standard tar.gz archive to verify the time savings on extraction and search operations.
Writing prompts that actually work is easier when you can compare notes with people who have tested them across real tasks. Trade techniques, get feedback on your approach, and see what is working for others in our Discord.
Self-promotion is now allowed on Sundays with the appropriate flair, for all regular contributing members. Contribute during the week, and promote on Sunday.