ComfyUI-Aaalice-Pack-Unpack-Tool is a simplified toolkit for packing and unpacking ComfyUI workflows.
This project is based on comfy-pack with significant modifications to focus on essential functionality.
.cpack.zip artifacts containing ComfyUI workflows and custom nodesComfyUI-Aaalice-Pack-Unpack-Tool 是一个简化的 ComfyUI 工作流打包和解包工具包。
本项目基于 comfy-pack 进行大幅修改,专注于核心功能。
.cpack.zip 工件We recommend you use ComfyUI Manager to install this tool. Simply search for ComfyUI-Aaalice-Pack-Unpack-Tool and click Install. Restart the server and refresh your ComfyUI interface to apply changes.
Alternatively, clone the project repository through git:
cd ComfyUI/custom_nodes
git clone https://github.com/Aaalice233/ComfyUI-Aaalice-Pack-Unpack-Tool.git
我们建议使用 ComfyUI Manager 安装。只需搜索 ComfyUI-Aaalice-Pack-Unpack-Tool 并点击 安装。重启服务器并刷新 ComfyUI 界面以应用更改。
或者通过 git 克隆项目仓库:
cd ComfyUI/custom_nodes
git clone https://github.com/Aaalice233/ComfyUI-Aaalice-Pack-Unpack-Tool.git
You can package a workflow and the custom nodes required to run the workflow into an artifact that can be unpacked elsewhere.
您可以将工作流和运行工作流所需的自定义节点打包成一个工件,可以在其他地方解包使用。
.cpack.zip artifact.Unpacking is done through the provided executable file for simple setup.
解包通过提供的可执行文件进行,操作简单。
.cpack.zip fileOn Linux, use the command-line tool to unpack workflows.
在 Linux 上,使用命令行工具解包工作流。
# Method 1: Run as module / 方式 1:作为模块运行
cd ComfyUI/custom_nodes/ComfyUI-Aaalice-Pack-Unpack-Tool
python -m comfy_pack.unpacker_cli workflow.cpack.zip --comfyui /path/to/ComfyUI
# Method 2: Install and use command / 方式 2:安装后使用命令
pip install -e .
comfy-unpack workflow.cpack.zip --comfyui /path/to/ComfyUI
# With manual Python and Git paths / 手动指定 Python 和 Git 路径
comfy-unpack workflow.cpack.zip --comfyui /path/to/ComfyUI \
--python /usr/bin/python3 --git /usr/bin/git
# Verbose output / 详细输出
comfy-unpack workflow.cpack.zip --comfyui /path/to/ComfyUI -v
CLI Options / CLI 选项:
- --comfyui, -c : ComfyUI root directory (required) / ComfyUI 根目录(必需)
- --python, -p : Python executable path (optional, auto-detect) / Python 路径(可选,自动检测)
- --git, -g : Git executable path (optional, auto-detect) / Git 路径(可选,自动检测)
- --verbose, -v : Show detailed output / 显示详细输出
The cpack files contain workflow JSON and custom node information. Only unpack cpack files from trusted sources.
cpack 文件包含工作流 JSON 和自定义节点信息。请只解包来自可信来源的 cpack 文件。
As an open-source project, we welcome contributions focused on simplifying workflow sharing.
作为开源项目,我们欢迎专注于简化工作流共享的贡献。
This project is based on the excellent work of the comfy-pack project by the BentoML team. We appreciate their contributions to the ComfyUI community and have modified their work to focus on simplified local workflow sharing.
本项目基于 BentoML 团队的 comfy-pack 项目的优秀工作。我们感谢他们对 ComfyUI 社区的贡献,并修改了他们的工作以专注于简化的本地工作流共享。
This project follows the same license as the original comfy-pack project.
本项目遵循与原版 comfy-pack 项目相同的许可证。
$ claude mcp add ComfyUI-Aaalice-Pack-Unpack-Tool \
-- python -m otcore.mcp_server <graph>