convertor/public
Your Name 5322f85721 feat: 實作全域檔案傳輸機制與 .tar 封裝規範
## 主要變更

### 新增全域檔案傳輸模組 (src/transfer/)
- constants.ts: 定義傳輸常數(10MB 門檻、5MB chunk 大小)
- types.ts: 傳輸類型定義
- uploadManager.ts: 後端上傳管理器(支援直傳與 chunk)
- downloadManager.ts: 後端下載管理器(支援直傳與 chunk)
- archiveManager.ts: 封裝管理器(僅允許 .tar)
- index.ts: 統一匯出

### 新增 API 端點
- uploadChunk.tsx: Chunk 上傳 API
- downloadChunk.tsx: Chunk 下載 API

### 前端更新
- public/script.js: 整合智慧傳輸策略(≤10MB 直傳,>10MB chunk)
- public/transfer.js: 前端傳輸管理模組

### 轉換器更新
- mineru.ts: 改用 .tar 格式(不壓縮),禁止 .tar.gz
- download.tsx: 使用統一的封裝管理器

### 測試
- tests/transfer/: 完整傳輸機制測試套件
- tests/converters/mineru.test.ts: 更新以符合 .tar 規範

### 文件
- README.md: 新增檔案傳輸機制說明

## 設計原則
- 檔案 ≤10MB:直接傳輸
- 檔案 >10MB:使用 5MB chunks 分段傳輸
- 多檔輸出:僅允許 .tar 封裝(禁止 .tar.gz/.zip)
- 引擎層不感知 chunk(僅傳輸層處理)
2026-01-21 13:58:01 +08:00
..
android-chrome-192x192.png fix: update favicon 2025-06-26 00:38:59 +02:00
android-chrome-512x512.png fix: update favicon 2025-06-26 00:38:59 +02:00
apple-touch-icon.png fix: update favicon 2025-06-26 00:38:59 +02:00
favicon-16x16.png fix: update favicon 2025-06-26 00:38:59 +02:00
favicon-32x32.png fix: update favicon 2025-06-26 00:38:59 +02:00
favicon.ico fix: update favicon 2025-06-26 00:38:59 +02:00
favicon.svg fix: update favicon 2025-06-26 00:38:59 +02:00
i18n.js fix(ci): resolve all lint errors for GitHub Actions 2026-01-20 12:16:13 +08:00
results.js feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
robots.txt chore: add devcontainer 2025-10-05 13:57:54 +00:00
script.js feat: 實作全域檔案傳輸機制與 .tar 封裝規範 2026-01-21 13:58:01 +08:00
site.webmanifest chore: fix lint 2025-10-05 14:19:13 +00:00
transfer.js feat: 實作全域檔案傳輸機制與 .tar 封裝規範 2026-01-21 13:58:01 +08:00