Commit graph

992 commits

Author SHA1 Message Date
Your Name
f7430107b7 fix: 修復 MinerU 安裝失敗問題,使用 uv pip install(官方推薦方式)
- 改用 uv pip install 替代 pipx install(MinerU 官方推薦)
- 增加至 4 種安裝方法重試
- 增加詳細診斷資訊輸出
- 更新 CACHE_BUST 強制重建
2026-01-25 10:25:59 +08:00
evil0119
2d6ae474f3
更新 README.md 2026-01-25 10:07:18 +08:00
Your Name
688e30abc3 fix: 增加 MinerU 安裝重試等待時間,改善安裝穩定性 2026-01-25 00:43:15 +08:00
Your Name
910250caee fix: MinerU 安裝增加重試機制和備用方法
- 方法 1: pipx install(標準方式)
- 方法 2: pipx install 重試(等待 5 秒後)
- 方法 3: pip3 install(備用方式)
- amd64 必須成功安裝,否則 build 失敗
2026-01-25 00:41:35 +08:00
Your Name
81b82006f0 fix: 預存 ONNX 模型於儲存庫,避免 build 時下載失敗
- 將 DocLayout-YOLO ONNX 模型 (72MB) 預下載到 models/ 目錄
- 使用 COPY 指令複製模型,無需 runtime 下載
- 更新驗證邏輯,跳過已預置的資源驗證
- 添加 CACHE_BUST 到 GitHub Actions workflows
2026-01-25 00:26:44 +08:00
Your Name
0f5bf46111 fix: 新增 CACHE_BUST 參數以強制重新執行模型下載層,改善下載穩定性 2026-01-25 00:22:46 +08:00
Your Name
4b0f77aa2d fix: 預存字型檔案於儲存庫,避免 build 時下載失敗 2026-01-25 00:02:09 +08:00
Your Name
3a7c049818 fix: 修正字型檔案驗證邏輯,確保檔案存在及大小符合要求 2026-01-24 23:48:37 +08:00
Your Name
f2c5997847 fix: use huggingface_hub for ONNX download and add CACHE_BUST
- Use huggingface_hub.hf_hub_download() instead of curl (supports xet storage)
- Add CACHE_BUST ARG to force fresh downloads after cache delete
- Add font file size validation after download
- Re-enable registry cache (buildcache tag deleted manually)
- ARM64 graceful degradation for MinerU
2026-01-24 23:46:44 +08:00
Your Name
2d28665714 fix: 修復 ONNX 模型下載(使用 huggingface_hub 支援 xet 格式)
- 使用 huggingface_hub.hf_hub_download 替代 curl 下載 ONNX 模型
- 增加字型下載的超時和重試設定
- ARM64 架構優雅跳過 MinerU 模型下載
- 驗證邏輯對 ARM64 更寬容,僅 amd64 強制驗證
- 確保 linux/amd64 開箱即用,無運行時模型下載
2026-01-24 23:25:34 +08:00
Your Name
d3aa8e5fee fix: 修正 Dockerfile 中的輸出格式,統一縮排以提高可讀性 2026-01-24 21:49:29 +08:00
Your Name
cc8df3c91d fix: shell syntax for strict model validation in Dockerfile
- Change 'set -eux' to 'set -eu' (remove -x for cleaner logs)
- Fix if statement syntax for set -e compatibility
- Add proper && chaining inside if blocks
- Add fallback echo values for numeric comparisons
2026-01-24 21:42:46 +08:00
Your Name
27ffdee6f4 fix: Docker image size and add download retry mechanism
## Bug Fixes
- Fix standard image size issue (was ~1.5GB, should be 8-12GB)
- Add strict model validation during build
- Add retry mechanism (--retry 3 --retry-delay 5) to all curl downloads

## Documentation
- Clarify version terminology: Standard (一般版), Extended (擴充版), Lite (Lite版)
- Remove duplicate docs/環境變數總覽.md
- Improve environment variable documentation structure
- Add quick reference tables for environment variables

## Build
- Explicitly specify 'file: Dockerfile' in release.yml
- Use 'buildcache-full' cache key to prevent cross-pollution
2026-01-24 21:31:11 +08:00
Your Name
ee7c1da01f docs: 新增線上示範連結至 README 2026-01-24 17:37:27 +08:00
Your Name
99a9934428 docs: 更新 README,新增 Lite 版 Docker 映像大小顯示及版本特性比較 2026-01-24 17:14:10 +08:00
Your Name
9526d3e5c0 docs: 更新 README 版本說明為三版本(Lite/一般版/Full) 2026-01-24 17:05:53 +08:00
Your Name
ca2246dcb6 chore: release v0.1.15 - Lite 版 Docker Image 與基礎架構優化 2026-01-24 16:58:08 +08:00
Your Name
da2c53fd8a fix: 分開處理 GHCR 和 Docker Hub manifest 推送,避免跨 registry 400 錯誤 2026-01-24 16:50:02 +08:00
Your Name
dd0bb2a8df fix: 完全移除 Lite 版 build-time endesive,改用 runtime 憑證初始化 2026-01-24 16:10:01 +08:00
Your Name
d235ba7505 fix: 修復 Dockerfile.lite ARM64 build 問題
- 將 Python 安裝分成多個 RUN 步驟
- 修正 apt-get purge 在 lists 清除後失敗的問題
- 添加動態版本號修改步驟到 docker-build-lite.yml
- Lite 版 UI 將顯示 X.Y.Z-lite 版本號
2026-01-24 16:01:40 +08:00
Your Name
73f2bfd890 fix: 修復 ARM64 上 endesive 編譯問題
- 添加 python3-dev, gcc, libffi-dev 編譯依賴
- 編譯完成後自動移除以減小體積
2026-01-24 15:51:13 +08:00
Your Name
1b8cae30a0 feat: 新增 Lite 版 v0.1.15-lite
- Dockerfile.lite: 輕量版,僅保留英/簡/繁語言
- 移除 Inkscape/VIPS/ImageMagick 以減小體積 (< 1.5 GB)
- docker-build-lite.yml: 自動觸發 Lite 版發布
- docker-build-remote.yml: 改進交互邏輯,支援 standard/full/lite 版本
- release.yml: 修正只觸發一般版發布
2026-01-24 15:47:04 +08:00
Your Name
506340ecda fix: 更新 site.webmanifest 和 base.tsx,新增多語言支持及應用元數據 2026-01-24 15:03:34 +08:00
Your Name
944fe18b75 Add unit tests for PDF Packager converter functionality
- Implement tests for converter properties, ensuring correct input and output formats.
- Add tests for chip parsing, covering various image, pdf_image, and pdfa chip formats.
- Include tests for the isArchiveOutput and getOutputFileName functions.
- Mock execFile for testing the convert function, verifying command execution and output file creation.
- Ensure all chips are parseable and validate the completeness of chip categories.
2026-01-24 14:39:22 +08:00
Your Name
87bd318303 fix: 重構 E2E 測試 - 使用直接工具調用模擬真實用戶操作 2026-01-24 13:17:31 +08:00
Your Name
0755ff7831 fix: 重構 E2E 測試 - 使用 Xvfb 替代 xvfb-run 解決 docker exec 環境問題 2026-01-24 13:11:54 +08:00
Your Name
cb0ea8b578 fix: add xauth package for xvfb-run support 2026-01-24 12:04:36 +08:00
Your Name
d1b81fcb34 fix: 修復 Tools & Model Verification 超時問題 2026-01-24 11:29:42 +08:00
Your Name
2b584dc909 fix: 修復 E2E 測試 - 添加 xvfb-run server-args 和改進錯誤處理 2026-01-24 11:26:22 +08:00
Your Name
699fca4e78 Update account label translations across multiple languages to "Settings" or equivalent 2026-01-24 10:26:35 +08:00
Your Name
6f8ef5834a fix: 修復 Tools & Model Verification 超時問題 2026-01-24 10:19:08 +08:00
Your Name
8a84caa503 Refactor Docker Compose examples and documentation
- Updated README.md to include new example files for minimal and production configurations with detailed instructions.
- Added compose.production-alt.example.yml for an annotated production setup.
- Introduced new example files: compose.minimal.example.yml, compose.production.example.yml, nginx.example.conf, and traefik.example.yml for better clarity and usability.
- Removed outdated configuration files and consolidated documentation for OCR language support.
- Adjusted Nginx and Traefik configurations to reflect best practices and added necessary comments for user guidance.
- Minor formatting and consistency improvements across documentation files.
2026-01-24 00:36:58 +08:00
Your Name
f6b45627e0 fix: 調整 entrypoint 格式並修正測試檔案的空格問題 2026-01-24 00:16:40 +08:00
Your Name
a4489f4945 feat: add OCR language extension configuration and documentation
- Introduced `compose.ocr-languages.yml` for installing additional Tesseract OCR language packs during container startup.
- Updated documentation to include new OCR language extension options and usage scenarios.
- Enhanced existing documentation with references to the new OCR language extension guide.
- Improved test coverage for the deark converter and formats, ensuring accurate format handling and error management.
- Refactored code to streamline file system operations and improve readability.
2026-01-24 00:16:32 +08:00
Your Name
737e925ac7 fix(deark): 合併格式類別,UI 只顯示單一 extract 選項 2026-01-23 23:45:17 +08:00
Your Name
9b4ecadc79 更新轉換器文檔:調整內建內容格式,增強可讀性 2026-01-23 23:35:31 +08:00
Your Name
ef3bf66cce feat: 新增 deark 引擎支援解包/解析多種格式
- 新增 deark 轉換器 (src/converters/deark.ts)
- 支援 100+ 種輸入格式(壓縮檔、舊圖片、字型、可執行檔資源等)
- 輸出為 .tar 封裝
- Dockerfile 添加 deark 從源碼編譯安裝
- 更新 main.ts 註冊新引擎
- 添加單元測試 (tests/converters/deark.test.ts)
- 更新文件 (docs/功能說明/轉換器.md)
- CI/CD 添加 deark 版本驗證
2026-01-23 23:33:26 +08:00
Your Name
2a28e4073a fix: 使用 xvfb-run 解決 GUI 工具在 headless 環境卡住問題 2026-01-23 23:22:11 +08:00
Your Name
80ab233d15 Add comprehensive format integrity tests for various converters 2026-01-23 23:15:36 +08:00
Your Name
47968f6c80 更新轉換器文檔:擴充輸入輸出格式詳情,新增多種格式分類 2026-01-23 22:54:13 +08:00
Your Name
c2ad11db11 更新轉換器文檔:擴充輸入輸出格式詳情,修正格式與描述 2026-01-23 22:51:22 +08:00
Your Name
b2eb66b8c7 更新轉換器文檔:新增 4 種轉換器,修正格式與描述,擴充輸入輸出格式詳情 2026-01-23 22:45:18 +08:00
Your Name
23e9b4aeab Merge branch 'main' of https://github.com/pi-docket/ConvertX-CN 2026-01-23 22:24:30 +08:00
Your Name
5a2aac1a66 Refactor documentation structure: migrate and consolidate multiple files into new organization, update links and references for clarity and accessibility. 2026-01-23 22:24:26 +08:00
evil9369
006256ca92
Update MinerU description in overview document 2026-01-23 22:08:37 +08:00
Your Name
034cc44c25 Merge branch 'main' of https://github.com/pi-docket/ConvertX-CN 2026-01-23 22:05:13 +08:00
Your Name
3f1a5e0fbf Add comprehensive documentation for ConvertX-CN deployment and configuration
- Create 指定版本部署.md to explain fixed version deployment
- Create 最新版.md detailing the use of the latest tag
- Create 版本選擇指南.md to guide users on version selection
- Add Nginx and Traefik configuration examples for reverse proxy
- Introduce minimal and production configuration examples
- Develop Docker deployment guide with detailed steps
- Implement quick start guide for first-time Docker users
- Include version update instructions and rollback procedures
- Add troubleshooting section for common issues
- Enhance overall documentation structure and links for better navigation
2026-01-23 22:05:09 +08:00
evil0119
572ef9fa7f
Merge pull request #3 from pi-docket/copilot/update-file-paths
[WIP] Update file paths for documentation links
2026-01-23 18:55:49 +08:00
copilot-swe-agent[bot]
9507cbf10c Initial plan 2026-01-23 10:55:15 +00:00
evil0119
b2477323ea
Merge pull request #2 from pi-docket/copilot/fix-e2e-test-path
[WIP] Fix path to E2E testing documentation
2026-01-23 18:53:39 +08:00