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]。