I built a 3.2 MB archiver your AI agent can drive
说明与用途
Ziplark 是一个轻量级、跨平台的归档工具,支持 15 种格式并提供安全提取。它默认只读模式,并通过 JSON‑RPC 与 AI 集成,允许代理在不解压的情况下与归档交互。
问题
Developers need a lightweight, cross‑platform archiver that can be used by AI agents without exposing write capabilities by default, while still supporting a wide range of formats and secure extraction.
结果
Ziplark delivers a compact, secure, and AI‑friendly archiver that supports 15 formats, offers read‑only defaults, and integrates with agents via JSON‑RPC, while keeping the binary size minimal.
工作流
- 1. Install Ziplark via installer, Homebrew, or Scoop.
- 2. Register the MCP server in the agent’s configuration.
- 3. Use the agent to call JSON‑RPC methods such as
list,extract, orinfoon archives. - 4. If write operations are needed, pass
--allow-writeto expose extract/create tools. - 5. Verify extraction safety via the built‑in zip‑slip guard.
- 6. Optionally enable shell‑integration for context‑menu actions.
证据
The Windows installer is 3.2 MB. Not because of any clever trick — the desktop app uses the OS webview instead of bundling a browser, and there is no account system, no store, no telemetry to ship.
Three read‑only tools — ziplark_info, ziplark_list, ziplark_test — are always available. The two that touch your disk, ziplark_extract and ziplark_create, do not appear in tools/list at all unless you pass --allow-write.
Every format in Ziplark extracts through the same guard, and it checks both ends: the entry name and what is actually on disk at the destination.
- 记录日期: 2026-09-20T08:00:24.371Z