Quip 的综合全自动导出(备份)工具。
Quip-Export 使用官方 Quip 自动化 API 并从 Quip 帐户导出所有文档和文件夹。
特征:
不支持幻灯片(由于生成的 PDF 质量较差)。不支持以 PDF 格式导出(由于生成的 PDF 质量较差)。
尽管 Quip-Export 被设计为 Node.js 环境的独立工具,但它也可以用作任何类型的 JavaScript 应用程序的quip export库。在这种情况下,Quip-Export 项目就是一个很好的使用示例。
Quip-Export 在 Windows、Mac OS 和 Linux/Unix 的 Node.js 或纯浏览器环境中完美运行。
使用具有演示模式的 Quip-Export npm 包的全功能 Web 应用程序可在 www.quip-export.com 上获取
如前所述,Quip-Export 工具需要 Node.js(版本 10.16 或更高版本)环境。 Node.js 版本检查:
node -v
如果未安装 Node.js 或版本低于 10.16,请按照 Node.js 网站上的安装/更新说明进行操作。
npx quip-export [options]
优点:您始终运行最新版本。
安装:
npm install -g quip-export
使用示例:
quip-export [options]
安装:
git clone https://github.com/sonnenkern/quip-export.git
安装项目依赖项:
cd quip-export
npm install
项目文件夹中的使用示例:
node quip-export [options]
安装:
npm install quip-export
-h, --help Usage guide.
-v, --version Print version info
-t, --token "string" Quip Access Token.
-d, --destination "string" Destination folder for export files
-z, --zip Zip export files
--embedded-styles Embedded in each document stylesheet
--embedded-images Embedded images
--docx Exports documents in MS-Office format (*.docx , *.xlsx)
--comments Includes comments (messages) for the documents
--folders "string" Comma-separated folder's IDs to export
--debug Extended logging
要生成个人访问令牌,请访问页面:https://quip.com/dev/token
请注意,选项 --comments、--embedded-images、--embedded-styles 不能与 MS-Office 格式 (--docx) 导出一起使用,并且将被忽略。
了解 Quip fodler ID 的最简单方法就是在浏览器中打开 Quip Web 应用程序中的文件夹并查看地址行。例如,地址“https://quip.com/bGG333444111”指向ID为“bGG333444111”的文件夹。
导出到文件夹 c:temp
quip-export -t "JHHHK222333444LLL1=" -d c:temp
导出到当前文件夹作为目标
quip-export -t "JHHHK222333444LLL1="
以当前文件夹为目标的 Zip 文件导出
quip-export -t "JHHHK222333444LLL1=" -z
导出错误将写入目标文件夹中的文件export.log。
Quip-Export 强烈依赖于公共 Quip 自动化 API。如果 Quip 自动化 API 更改,可能会出现一些问题。然后 Quip-Export 调整是必要的。
如有此情况或其他问题,请随时联系 [email protected]。