Developers

Peel’s archive engine without the app: a Rust library, the peel command line, an MCP server and a C library, for reading, creating and recovering archives safely from your own code.

Peel 1.4.0 · Snack Studio · Updated

Start here

The quickest way in is the peel command. On a Mac, the install script verifies the download’s checksum and installs the notarized tool from the latest Peel release:

TerminalShell
curl -fsSL https://filesunwrapped.com/developers/install.sh | sh
peel inspect archive.zip -j
TodayWhat
AvailableThe peel CLI and peel mcp on macOS, through the install script or inside the Peel app.
RestrictedThe Rust library and the C library. The source is private and peel-core is not on crates.io, so both need access to the repository.
PlannedRind’s own downloads: the Homebrew formula, Linux builds and prebuilt C libraries. Linux and Windows are not built or tested yet.

What Rind is

Rind is Peel with the app peeled away: the archive engine on its own, ready to build on. It is not a separate codebase. It is the engine that already runs inside Peel for Mac, offered in four forms so a CMS, a batch job, an on-device tool or a backend that speaks MCP can read, inspect, create and recover archives without writing its own unzip.

A host gets one archive layer for dozens of formats, including ones that are ZIP underneath: EPUB, Office files, OpenDocument, iWork, Sketch, USDZ, 3MF and comic books. peel formats -j prints exactly what each format supports, and the formats support matrix lays it out with the caveats.

The four surfaces

Guides

Task by task, each with the CLI, the Rust library and the C library side by side, and terminal output recorded from a real peel.

For how it fits together, read Architecture, the Safety model and Performance.

Which surface when

Your host isUseWhy
A Rust programLibraryTyped results, no process or JSON hop, cancellation and progress hooks, an open-once session.
A native program in C, C++, Swift, Python, Go or NodeC libraryIn-process and fast. Strings are JSON; bytes come back as a buffer. This is how the Mac app itself calls the engine.
A script, a CI job or a service in any languageCLINo build integration. Run peel, read JSON, branch on the exit code.
An MCP client or agent runtimeMCPTools with schemas. Reads work anywhere the process can read; writes stay inside the roots you grant.

If you are unsure, start with the CLI: peel inspect archive.zip -j gives you the same manifest the library returns, and you can move to the library or the C library later without changing what you learned about the data.

What you get

Safe on untrusted input

Rind is built to open hostile files. Every extraction goes through the same checks, on every surface:

A host that embeds Rind inherits these checks instead of hand-rolling a safe unzip.

Errors

On the CLI, the C library and the Rust library, a failure has a stable kind and a free-text detail. The CLI prints it as JSON on stderr with -j and exits with a matching code, the C library returns it as a JSON object, and the library exposes it as ErrorKind. MCP returns a tool error with a plain message. Branch on the kind, log the detail. Errors and exit codes lists every kind.

Status and limits

Questions or something missing? Email hello@snackstud.io.