No description
Find a file
Your Name f7ebc084ea refactor: update MinerU to use tar.gz and mineru CLI
- Change archive format from zip to tar.gz
- Use 'mineru' CLI command instead of 'magic-pdf'
- Install mineru[all] via pipx in Dockerfile
- Remove zip dependency from Dockerfile
- Update normalizeFiletype to output tar.gz extension
- Update all tests for tar.gz output format
- Simplify README MinerU section
2026-01-21 12:20:40 +08:00
.devcontainer fix(docker): add python3-tinycss2 for Inkscape DXF export (#498) 2026-01-11 16:18:46 +01:00
.github fix(ci): 修正 Release workflow 確保 Docker Image 正確發佈 2026-01-20 12:52:02 +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 docs: README 重構 + i18n UI 規範 + 文件連結整理 2026-01-20 17:00:21 +08:00
fonts feat: bundle full conversion dependencies into image 2026-01-19 22:00:45 +08:00
images fix: wrong layout on search with few options 2024-09-26 23:37:19 +02:00
public docs: 優化全頁拖曳上傳支援,增加防重複檢查機制 2026-01-21 11:13:21 +08:00
src refactor: update MinerU to use tar.gz and mineru CLI 2026-01-21 12:20:40 +08:00
tests/converters refactor: update MinerU to use tar.gz and mineru CLI 2026-01-21 12:20:40 +08:00
.bun-version chore: add bun version files 2025-08-13 23:35:07 +02: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
biome.json chore: fix lint 2025-10-05 14:19:13 +00:00
bun.lock feat(i18n): add multi-language UI support with 5 languages 2026-01-20 10:01:55 +08:00
CHANGELOG.md feat: v0.1.9 - Setup 頁面 i18n + 語言選擇器 UI 修復 + 文件重構 2026-01-20 15:55:49 +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 refactor: update MinerU to use tar.gz and mineru CLI 2026-01-21 12:20:40 +08:00
Dockerfile.full feat(docker): 重組 Docker 架構 v0.1.6 2026-01-20 12:46:49 +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(ci): resolve all lint errors for GitHub Actions 2026-01-20 12:16:13 +08:00
LICENSE chore: add devcontainer 2025-10-05 13:57:54 +00:00
mise.toml chore: add comment to dev compose file 2026-01-11 17:46:56 +01:00
package.json feat: v0.1.9 - 全頁拖曳上傳 + i18n 修正 + 文件更新 2026-01-20 15:09:30 +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 refactor: update MinerU to use tar.gz and mineru CLI 2026-01-21 12:20:40 +08:00
renovate.json chore: add bun to renovate ignore 2025-10-07 20:56:55 +00:00
SECURITY.md chore: fix lint 2025-10-05 14:19:13 +00: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


為什麼選擇 ConvertX-CN

  • 支援 1000+ 格式(影音、圖片、文件、電子書)
  • 已內建 LibreOffice、FFmpeg、Pandoc 等 20+ 轉換器
  • 預載中日韓字型與 OCR 語言包
  • 支援 65 種介面語言

線上示範

想先試用再部署?歡迎使用我們的示範站:

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

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

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


快速啟動Docker Run

1. 建立資料夾

mkdir -p ~/convertx-cn/data && cd ~/convertx-cn

2. 啟動容器

JWT_SECRET=請改成你自己的隨機字串至少32字元

docker run -d \
  --name convertx-cn \
  --restart unless-stopped \
  -p 3000:3000 \
  -v ./data:/app/data \
  -e TZ=Asia/Taipei \
  -e JWT_SECRET=e78a2da4-135f-06a8-fa46-17ef7990f5d1 \
  convertx/convertx-cn:latest

3. 開啟瀏覽器

  http://localhost:3000

首次下載約 4-6 GB請耐心等待。


Docker Compose推薦

1. 建立專案資料夾

Linux / macOS

mkdir -p ~/convertx-cn && cd ~/convertx-cn

Windows PowerShell

mkdir C:\convertx-cn; cd C:\convertx-cn

Windows CMD

mkdir C:\convertx-cn
cd C:\convertx-cn

2. 建立 docker-compose.yml在專案資料夾下

  • 範例內容(請修改 JWT_SECRET=請改成你自己的隨機字串至少32字元
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=e78a2da4-135f-06a8-fa46-17ef7990f5d1

3. 啟動:

docker compose up -d

更多範例 → docs/docker-compose/


重要:資料夾說明

./data 是你主機上的實體資料夾,用於存放上傳檔案、轉換結果與使用者資料。

作業系統 建立指令
Linux / macOS mkdir -p ~/convertx-cn/data
Windows (PS) mkdir C:\convertx-cn\data
Windows (CMD) mkdir C:\convertx-cn\data

若不先建立Docker 會建立匿名 volume導致資料難以存取或備份。


必要參數

參數 說明
./data 主機資料夾,必須先建立
JWT_SECRET 登入驗證金鑰,不設會每次重啟被登出

其他環境變數 → docs/config/environment.md


常見問題

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

更多問題 → docs/faq.md


支援格式

轉換器 用途 格式數
FFmpeg 影音 400+
ImageMagick 圖片 200+
LibreOffice 文件 60+
Pandoc 文件 100+
Calibre 電子書 40+
Inkscape 向量圖 20+
MinerU 文件→MD 2

完整列表 → docs/converters.md


MinerU

ConvertX 內建文件轉換引擎。

  • md-t
  • md-i

輸出格式tar.gz


語言支援

支援 65 種語言,包含繁體中文、簡體中文、英文、日文、韓文等。

語言會根據瀏覽器設定自動偵測,也可透過右上角選單手動切換。

詳細說明 → docs/i18n.md


版本與更新

docker compose down
docker compose pull
docker compose up -d

API Server選用

如需以程式整合方式使用 ConvertX 的轉檔功能,可啟用 API Server

⚠️ API Server 為選用功能,不影響現有 Web UI 的使用。若只使用網頁介面,無需任何額外設定。

功能特點

  • 🔐 JWT 認證 — 安全的 API 存取控制
  • 🌐 REST + GraphQL — 雙協議支援,滿足不同整合需求
  • 🔍 智慧建議 — 轉換失敗時自動推薦替代引擎
  • 🛠️ 20+ 轉換引擎 — 與 Web UI 共用完整轉換器套件

快速啟用

# 同時啟動 Web UI 與 API Server
docker compose --profile api up -d
服務 端口 說明
Web UI 3000 網頁介面
API Server 3001 REST & GraphQL

API 文件

詳細的 API 規格與使用說明:


進階文件

文件 說明
環境變數 所有可用參數
安全性設定 HTTP_ALLOWED、TRUST_PROXY
反向代理 Nginx / Traefik / Caddy
Docker 進階 自訂 Build
FAQ 疑難排解

預覽

ConvertX-CN Preview


License

MIT | 基於 C4illin/ConvertX