Repository navigation
Releases
DocKit 1.1.4
DocKit 1.1.4
- 配置与更新窗口提供可持久化的刷新快捷键,检查重复或系统保留组合,并支持暂停快捷键。
- 可选 iCloud 配置同步包含操作、目标格式、快捷键和更新选项;文档内容仍在本机处理。
- 检查更新支持选项持久化、版本忽略与发行说明,公开版继续从 GitHub 获取发行记录。
- 使用 Developer ID 签名、Apple 公证并装订票据,安装保留原 bundle 身份和用户数据。
主页沿用标明录制版本的文档处理演示;新增设置与快捷键不在旧视频覆盖范围内。
Build 60 · macOS 15+,Apple Silicon。安装教程:https://app-mac-doctools.tianli.cyou/#install
Binary source commit: df710a7945a3beefa08070dbc50b0cdbf2712523
SHA-256: cde7496ff493555bb95d08a1095d2484fa81ddff69b11bb3d7d04bf41db76e29
DocKit 1.1.3
DocKit 1.1.3
新增「配置与更新」:可选择用系统 Apple ID 的 iCloud 保存操作和目标格式偏好,支持导出、导入 JSON 配置;文件内容、路径和处理授权不进入配置。
新增真实版本检查与安装包下载入口。保留原有离线处理、原件保留和独立输出流程。本版沿用 ad-hoc 签名分发,尚未 Apple 公证。
Build 37 · macOS 15+,Apple Silicon。安装教程:https://app-mac-doctools.tianli.cyou/#install
Binary source commit: 0eff0d75f6c7f6dee483f99fc954208ac6c98589
SHA-256: 64099e4ffd445c1185aaa5f7db89f9524a9d01105f8f3893cbba56dd1310b6ee
DocKit 1.1.2
DocKit 1.1.2:修复版本。界面与功能不变,失败时的提示更清楚,并修正 PowerPoint 规范化后打开的是备份的问题。
修复:
- PowerPoint(.pptx)规范化完成后,结果里列出的是未修改的 .backup 备份;现在列出并打开规范化后的文件。
- 损坏的 Word/Excel/PowerPoint 文件以前只显示「处理失败(详见日志)」,现在直接说明「文件已损坏或不是有效的 Office 文档」;同一批里其他文件照常处理。
- 输出文件夹没有写权限时,以前显示英文系统错误,现在提示换一个可写的位置。
- 格式转换没选目标格式等参数错误,现在在创建输出文件夹之前就拒绝,不再留下只装着副本的空任务文件夹。
内部:新增固定验收脚本(功能、故障恢复、隐私、界面自检);界面自检在屏幕外运行,不会弹出窗口或占用鼠标键盘。
DocKit 1.1.2: a fix release. Interface and features are unchanged.
- Normalising a .pptx now returns the normalised file instead of the untouched .backup.
- Corrupt Office files report "the file is damaged or not a valid Office document"; other files in the batch still run.
- An unwritable output folder gets a plain message asking for a writable location.
- Invalid arguments (e.g. conversion without a target format) are rejected before any output folder is created.
- Internal: fixed acceptance scripts and an offscreen in-process UI self-test.
Build 31 · macOS 15+,Apple Silicon。安装教程:https://app-mac-doctools.tianli.cyou/#install
Binary source commit: d4937a4d5849d89fda0569c2bc2d3c34666ae854
SHA-256: 22c7779071af72409367d26c49aa7dc20deaa4ab2ad700ca1b4a9ebafdf8d8e3
DocKit 1.1.1
DocKit 1.1.1:轻量化版本。功能与界面不变,安装包和运行时大幅瘦身,操作更快;另修两个原有问题。
轻量化(本机实测,Mac16,12 / Apple M4 / macOS 27.2)
| 指标 | 1.1.0 | 1.1.1 |
|---|---|---|
| 下载 | 77.1 MB | 44.7 MB(-42%) |
| 安装后占用 | 251.8 MB | 132.4 MB(-47%) |
| 包内文件数 | 6,833 | 4,634 |
| 空闲内存(界面进程) | 46 MB | 43 MB |
| 空闲 CPU | 0.06% | 0.07% |
| docx → Markdown 子进程峰值内存 | 128.4 MB | 90.3 MB |
体积与空闲数字均来自两个版本的发布包解压副本;冷启动到窗口出现同一时段交替测量,1.1.0 为 1.28 秒、1.1.1 为 0.96–1.03 秒(5 次中位数,本机负载偏高)。各项操作耗时(直接调用包内后端,与 App 参数相同,3 轮取中位数):启动时读取操作列表 0.62 → 0.29 秒,docx 规范化 3.1 → 0.8 秒,docx → Markdown 9.9 → 4.1 秒,Excel → txt 4.6 → 2.0 秒,pptx → Markdown 2.1 → 0.7 秒,Markdown → Word 3.1 → 1.2 秒。这组耗时在本机高负载时与发布候选同源的构建上交替测得,绝对秒数偏大,只作前后对比。
改了什么:
- docx → Markdown 不再依赖 magika 与 onnxruntime 模型运行时,改用约 140 行的内容识别替身;16 份真实文档输出逐字节相同,扩展名是 .docx 但内容其实是 HTML、纯文本等的文件仍按内容转换。
- 不再打包 magika、onnxruntime 及只被它们依赖的库(约 84 MB),以及各库自带的测试目录、类型存根和头文件、标准库里用不到的 Tk/IDLE/turtle/ensurepip 等(约 38 MB),另去掉没有任何模块导入的 lxml.objectify(约 5 MB)。构建时有导入守卫:随包发出的代码只要还导入被删模块,构建就失败。
- 所有二进制去掉本地调试符号(strip -x)后逐个重新签名。
- 为各项操作实际用到的 1,169 个模块预编译字节码,不再每次操作都从源码重新编译 pandas、python-docx 等。注意:改动包内 .py 后不会自动重新编译。
修复:
- 老版 .ppt 转 Markdown 以前会假显示成功;现在装了 LibreOffice 时先另存为 .pptx 再转,没装就明确失败并提示先另存为 .pptx。格式转换没产出新文件一律算失败,失败行显示具体原因。
- 合并多个 .txt(按列合并成 merged.csv)以前会失败,现已修复。
DocKit 1.1.1: a lightweight release. Features and interface are unchanged; the bundle and runtime are much smaller and operations are faster, plus two fixes.
| Metric | 1.1.0 | 1.1.1 |
|---|---|---|
| Download | 77.1 MB | 44.7 MB (-42%) |
| Installed | 251.8 MB | 132.4 MB (-47%) |
| Files in bundle | 6,833 | 4,634 |
| Idle memory (UI process) | 46 MB | 43 MB |
| Idle CPU | 0.06% | 0.07% |
| docx → Markdown subprocess peak memory | 128.4 MB | 90.3 MB |
Size and idle figures come from extracted copies of both release archives. Cold launch to window, measured alternately in the same period, was 1.28 s for 1.1.0 and 0.96–1.03 s for 1.1.1 (median of 5, machine under load). Operation times (median of 3, calling the bundled backend with the app's own arguments) fell from 0.62 to 0.29 s for reading the operation list at launch, 3.1 to 0.8 s for docx cleanup, 9.9 to 4.1 s for docx → Markdown, 4.6 to 2.0 s for Excel → txt, 2.1 to 0.7 s for pptx → Markdown and 3.1 to 1.2 s for Markdown → Word. These were measured alternately on a build from the same sources while the machine was heavily loaded, so absolute seconds run high; read them as before/after ratios.
- docx → Markdown no longer needs magika and the onnxruntime model runtime; a ~140-line content sniffer takes its place. 16 real documents convert byte-for-byte identically, and files named .docx that are really HTML or plain text still convert by content.
- The bundle drops magika, onnxruntime and libraries only they used (about 84 MB), plus test folders, type stubs, headers and unused standard-library parts such as Tk, IDLE, turtle and ensurepip (about 38 MB), and the never-imported lxml.objectify (about 5 MB). An import guard fails the build if any shipped code still imports a removed module.
- All binaries are stripped of local symbols (strip -x) and re-signed.
- Bytecode is precompiled for the 1,169 modules the operations import, so pandas, python-docx and others are no longer recompiled on every run. Editing a bundled .py will not trigger recompilation.
- Fixed: legacy .ppt to Markdown used to report success without output; it now converts through LibreOffice when installed and otherwise fails with a clear message. Conversions that produce no new file count as failures and show the reason.
- Fixed: merging several .txt files into merged.csv failed.
Build 24 · macOS 15+,Apple Silicon。安装教程:https://app-mac-doctools.tianli.cyou/#install
Binary source commit: 0fe09afe58672fdfac16f4ee6468dc5fba8adb86
SHA-256: 05aae4b16ae78f6ed9087c2c8a51846d7deed9e9d3f353aece51fca573a28ceb
DocKit 1.1.0
DocKit 1.1.0 (build 16): 内置文档运行环境,支持本地离线处理;原件保留、每次任务独立输出;规则与范围可勾选。
macOS 15+,Apple Silicon。安装教程:https://app-mac-doctools.tianli.cyou/#install
Binary source commit: 93a2074a04e078b93417862facbbc678e8962402
SHA-256: 2afd9cd036b974550c99c89e1d53aa82a03ce3fccada4060a53a67c1ab28ef6d
DocTools 1.0.0
Native macOS batch document toolbox — clean / convert / split / merge / preview for docx, pptx, xlsx, md and csv, tuned for Chinese typography.
Install: unzip, move DocTools.app to /Applications, then clear quarantine once (the app is ad-hoc signed):
xattr -cr "/Applications/DocTools.app"Requires: macOS 15+ (Apple Silicon), uv (brew install uv). Python dependencies (python-docx / openpyxl / python-pptx) are resolved automatically by uv on first run — the first operation may take a minute. Optional: LibreOffice for legacy .doc/.xls.
Or build from source: ./build.sh --install (needs Xcode).