r/coolgithubprojects • • 38m ago

zar: A new archive format with history, deduplication, grep, FUSE mount, MCP server

https://github.com/brmmm3/zar-rs

I’ve been building zar (zar-rs), an archive format and toolset in Rust 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.19**.0** release it now includes:

  • History: zar allows to append several commits. Each commit can have a different version of existing files.
  • Commits: Commits can have names and description. Arbitrary commits can be selected for extraction.
  • Random access & deduplication: Extract single files directly and avoid storing duplicate blocks.
  • Mount archives to folder and as a drive (zarmount): Read-only FUSE mount on Linux and Windows (including a system tray app). Currenty MacOS version isn't supported.
  • Search without extracting (grep): Search directly inside .zar archives via CLI (zarc), GUI (zarg), or MCP (zarmcp).
  • Streaming: (part of) zar files can be streamed for low ressource usage.
  • Fast & resource-friendly: Parallel zstd compression, streaming support, and ZARLIB_CPU_PRIORITY / ZARLIB_MAX_CPU_COUNT env vars so big archiving jobs don't hog your whole system.
  • CLI, GUI, Libs: Several applications are already available: zarc (cli), zarg (gui), zarmount, zarmcp, and many language bindings.

GitHub: https://github.com/brmmm3/zar-rs

To get an idea how well it performs:

https://github.com/brmmm3/zar-rs/blob/master/doc/benchmarks/benchmark-report-windows-x86_64-core-u7-linux-6.1.1.md

Feedback, bug reports, and suggestions are very welcome!

2 Upvotes

0 comments sorted by