No description
Find a file
2026-01-26 14:50:30 +08:00
.devcontainer chore: update Bun version to 1.3.6 in Dockerfiles 2026-01-22 00:58:36 +08:00
.github feat: 更新 Docker Pulls 歷史記錄工作流程,改善 CSV 檔案處理及 SVG 圖表生成邏輯 2026-01-26 14:50:30 +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 feat: implement automatic format inference service with candidate generation and prediction model 2026-01-26 12:47:16 +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 feat: 更新推斷模組以使用 search token 進行格式推斷,並新增格式搜尋字詞詞庫 2026-01-26 14:14:38 +08:00
scripts fix(docker): replace python3 -c with heredoc scripts to fix IndentationError 2026-01-25 13:43:49 +08:00
src feat: 更新推斷模組以使用 search token 進行格式推斷,並新增格式搜尋字詞詞庫 2026-01-26 14:14:38 +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 docs: add v0.1.17 changelog and update Dockerfile.full version 2026-01-25 20:19:48 +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: 修正 release.yml 檔案中的格式問題 2026-01-25 22:01:57 +08:00
Dockerfile.full docs: add v0.1.17 changelog and update Dockerfile.full version 2026-01-25 20:19:48 +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 feat: implement automatic format inference service with candidate generation and prediction model 2026-01-26 12:47:16 +08:00
LICENSE Add comprehensive format integrity tests for various converters 2026-01-23 23:15:36 +08:00
mise.toml fix: ENOENT download error for archive-only converters (PDFMathTranslate/MinerU) 2026-01-22 00:47:37 +08:00
package.json chore: bump version to v0.1.17 (CPU-only build) 2026-01-25 20:17:18 +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 feat: 新增 Docker 採用歷史記錄區塊,顯示 Docker Pulls 歷史圖表 2026-01-26 14:46:34 +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 Docker Image Size (Latest Lite)


為什麼選擇 ConvertX-CN

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

📚 文件目錄

完整文件請參閱 專案總覽

章節 說明 連結
📖 00 專案總覽 專案定位、功能特色、版本比較 查看
🚀 01 快速開始 5 分鐘部署完成 查看
🐳 02 部署指南 Docker 設定、反向代理、HTTPS 查看
⚙️ 03 環境變數 所有可用設定與推薦值 查看
🔌 04 功能總覽 轉換器、OCR、PDF 翻譯 查看
🔗 05 API 文件 REST & GraphQL API 查看
🔧 06 錯誤排查 常見問題與解決方案 查看
👩‍💻 07 開發指南 專案結構、貢獻規範 查看
📄 08 授權說明 AGPL-3.0 授權 查看

🚀 快速開始

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

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


📈 Docker Adoption History

Docker Pull History


🙏 致謝

本專案基於 C4illin/ConvertX 開發,感謝原作者的貢獻。