No description
Find a file
2026-01-25 13:43:49 +08:00
.devcontainer chore: update Bun version to 1.3.6 in Dockerfiles 2026-01-22 00:58:36 +08:00
.github fix: 新增 CACHE_BUST 參數以強制重新執行模型下載層,改善下載穩定性 2026-01-25 00:22:46 +08:00
.vscode chore: fix lint 2025-10-05 14:19:13 +00:00
api-server feat(api): Docker Compose 整合與補充文件 - Docker Compose profiles 支援選用 API Server - API Server Dockerfile (多階段建置) - .env.api.example 環境變數範本 - integration_tests.rs 完整整合測試 - health_check.sh 健康檢查腳本 - 主專案 README 新增 API Server 說明區塊 2026-01-21 11:50:11 +08:00
docs fix: revert to v0.1.16, remove incorrect documentation 2026-01-25 13:23:14 +08:00
fonts fix: 預存字型檔案於儲存庫,避免 build 時下載失敗 2026-01-25 00:02:09 +08:00
images fix: wrong layout on search with few options 2024-09-26 23:37:19 +02:00
models fix: 預存 ONNX 模型於儲存庫,避免 build 時下載失敗 2026-01-25 00:26:44 +08:00
public fix: 更新 site.webmanifest 和 base.tsx,新增多語言支持及應用元數據 2026-01-24 15:03:34 +08:00
scripts fix(docker): replace python3 -c with heredoc scripts to fix IndentationError 2026-01-25 13:43:49 +08:00
src fix: 更新 site.webmanifest 和 base.tsx,新增多語言支持及應用元數據 2026-01-24 15:03:34 +08:00
tests fix: 更新 site.webmanifest 和 base.tsx,新增多語言支持及應用元數據 2026-01-24 15:03:34 +08:00
.bun-version fix: ENOENT download error for archive-only converters (PDFMathTranslate/MinerU) 2026-01-22 00:47:37 +08:00
.dockerignore refactor: split main file to pages 2025-06-03 15:04:18 +02:00
.gitignore chore: add devcontainer 2025-10-05 13:57:54 +00:00
.prettierignore chore: release v0.1.15 - Lite 版 Docker Image 與基礎架構優化 2026-01-24 16:58:08 +08:00
biome.json chore: fix lint 2025-10-05 14:19:13 +00:00
bun.lock fix: 更新 bun.lock 中的依賴版本以提升穩定性和安全性 2026-01-22 23:52:25 +08:00
CHANGELOG.md fix: Docker image size and add download retry mechanism 2026-01-24 21:31:11 +08:00
compose.yaml feat(api): Docker Compose 整合與補充文件 - Docker Compose profiles 支援選用 API Server - API Server Dockerfile (多階段建置) - .env.api.example 環境變數範本 - integration_tests.rs 完整整合測試 - health_check.sh 健康檢查腳本 - 主專案 README 新增 API Server 說明區塊 2026-01-21 11:50:11 +08:00
Dockerfile fix(docker): replace python3 -c with heredoc scripts to fix IndentationError 2026-01-25 13:43:49 +08:00
Dockerfile.full feat: 新增 Lite 版 v0.1.15-lite 2026-01-24 15:47:04 +08:00
Dockerfile.lite fix: 完全移除 Lite 版 build-time endesive,改用 runtime 憑證初始化 2026-01-24 16:10:01 +08:00
eslint.config.ts fix(ci): resolve all lint errors for GitHub Actions 2026-01-20 12:16:13 +08:00
knip.json fix: format E2E tests and add helpers to knip ignore 2026-01-23 00:26:11 +08:00
LICENSE Add comprehensive format integrity tests for various converters 2026-01-23 23:15:36 +08:00
LICENSE-AUTHOR Add unit tests for PDF Packager converter functionality 2026-01-24 14:39:22 +08:00
LICENSE-OVERVIEW.md Add unit tests for PDF Packager converter functionality 2026-01-24 14:39:22 +08:00
mise.toml fix: ENOENT download error for archive-only converters (PDFMathTranslate/MinerU) 2026-01-22 00:47:37 +08:00
package.json fix: Docker image size and add download retry mechanism 2026-01-24 21:31:11 +08:00
postcss.config.js chore: fix lint 2025-10-05 14:19:13 +00:00
prettier.config.js feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
README.md 更新 README.md 2026-01-25 10:07:18 +08:00
renovate.json chore: add bun to renovate ignore 2025-10-07 20:56:55 +00:00
SECURITY.md feat: 新增 OCRmyPDF 轉換引擎 (v0.1.14) 2026-01-23 16:28:33 +08:00
tsconfig.eslint.json chore: fix typescript-eslint (#439) 2025-11-15 20:15:02 +01:00
tsconfig.json feat(i18n): add multi-language UI support with 5 languages 2026-01-20 10:01:55 +08:00

ConvertX-CN

ConvertX-CN

開箱即用的全功能檔案轉換服務 — 一個 Docker 命令5 分鐘部署完成

Docker Pulls GitHub Release License AGPL-3.0 Source Available Docker Image Size (Latest Lite)


為什麼選擇 ConvertX-CN

特色 說明
📁 1000+ 格式 文件、圖片、影音、電子書一次搞定
🔧 20+ 引擎 LibreOffice、FFmpeg、Pandoc 全到位
🈶 中文優化 內建中日韓字型與 OCR告別亂碼
🌐 65 種語言 跨國團隊無障礙使用
📊 PDF 翻譯 PDFMathTranslate + BabelDOC 雙引擎
📄 PDF 轉 MD MinerU 智能擷取(保留表格、公式、圖片)

📚 文件

完整文件請參閱 文件中心

分類 連結
🚀 快速入門 概覽 · 快速開始 · FAQ
🐳 部署指南 Docker · 反向代理
⚙️ 配置設定 環境變數 · 安全性
🔌 功能說明 轉換器 · OCR · 翻譯
🔗 API API 總覽 · 端點說明
👩‍💻 開發 專案結構 · 貢獻指南

🚀 快速開始

Docker Run

mkdir -p ~/convertx-cn/data && cd ~/convertx-cn && \
docker run -d \
  --name convertx-cn \
  --restart unless-stopped \
  -p 3000:3000 \
  -v ./data:/app/data \
  -e TZ=Asia/Taipei \
  -e JWT_SECRET=Xk9mPqL2vN7wR4tY6uI8oA3sD5fG1hJ0 \
  convertx/convertx-cn:latest

⚠️ 安全提醒:正式環境請更換 JWT_SECRET 為自己的隨機字串(至少 32 字元)

開啟瀏覽器:http://localhost:3000

Docker Compose推薦

💡 以下命令會自動建立 ~/convertx-cn/data 資料夾、產生 docker-compose.yml 並啟動服務

mkdir -p ~/convertx-cn/data && cd ~/convertx-cn && \
cat > docker-compose.yml << 'EOF'
services:
  convertx:
    image: convertx/convertx-cn:latest
    container_name: convertx-cn
    restart: unless-stopped
    ports:
      - "3000:3000"
    volumes:
      - ./data:/app/data
    environment:
      - TZ=Asia/Taipei
      - JWT_SECRET=Xk9mPqL2vN7wR4tY6uI8oA3sD5fG1hJ0
EOF
docker compose up -d

⚠️ 安全提醒:正式環境請更換 JWT_SECRET 為自己的隨機字串(至少 32 字元)

開啟瀏覽器:http://localhost:3000

📖 詳細說明請參閱 快速開始


🔗 線上示範

Live Demo

🔗 https://convertx-cn.bioailab.qzz.io

項目 內容
帳號 admin@example.com
密碼 admin

⚠️ 示範站僅供測試,請勿上傳敏感檔案,會定期清理資料。


常見問題速查

問題 解決方法
登入後被踢回登入頁 加上 HTTP_ALLOWED=trueTRUST_PROXY=true
重啟後資料消失 確認 ./data:/app/data 且資料夾存在
重啟後被登出 設定固定的 JWT_SECRET

更多問題 → FAQ


📦 支援格式

轉換器 用途 格式數
FFmpeg 影音 400+
ImageMagick 圖片 200+
LibreOffice 文件 60+
Pandoc 文件 100+
Calibre 電子書 40+
Inkscape 向量圖 20+
PDFMathTranslate PDF 翻譯 15+
BabelDOC PDF 翻譯/轉換 15+
MinerU PDF 轉 Markdown 10+

完整列表 → 轉換器文件


🖼️ 預覽

ConvertX-CN Preview


🔄 更新

docker compose down
docker compose pull
docker compose up -d

🎯 版本選擇Lite / 一般版 / Full

ConvertX-CN 提供三個版本,滿足不同需求:

特性 Lite 版 一般版(推薦) Full 版
Image 大小 Docker Image Size (Lite) Docker Image Size 約 12-15+ GB
部署速度 最快 中等 較慢
適用對象 輕量使用者 一般使用者 進階/多語言
基本轉檔
OCR7語言
PDF 翻譯
MinerU AI
OCR65語言
完整 TexLive

版本標籤

Tag 說明
latest 一般版最新穩定版
latest-lite Lite 版最新穩定版
0.1.16 一般版指定版本
0.1.16-lite Lite 版指定版本

Lite 版快速啟動

docker run -d \
  --name convertx-cn-lite \
  -p 3000:3000 \
  -v ./data:/app/data \
  -e JWT_SECRET=你的隨機字串至少32字元 \
  convertx/convertx-cn:latest-lite

📖 詳細說明請參閱 Lite 版部署指南


📄 License Overview

This is a Mixed License / Source-Available Project.

1. Upstream Components

Core components derived from C4illin/ConvertX are licensed under GNU AGPL v3.0.

  • Any modifications to these files are open source under AGPL-3.0.

2. Author Original Components

Original modules, UI, i18n, and new features created by the ConvertX-CN author are licensed under Custom Non-Commercial License.

使用情境 是否允許
個人使用 允許
教育/研究 允許
商業使用 / SaaS 需授權

📞 商業授權聯繫

如需商業授權,請透過以下方式聯繫:

⚠️ Commercial Usage: If you plan to use this project in a commercial product, SaaS, or revenue-generating service, you must contact the author for a license exception regarding the custom components. The AGPL obligations (sharing source code) still apply to the upstream portions.

📄 完整授權說明 → LICENSE-OVERVIEW.md