跳到內容

快速開始

選擇適合您的方式。所有方式皆免費且開源 (Apache 2.0)。

終端機視窗
docker pull ghcr.io/wsj-br/transrewrt:latest
docker run -d \
-p 5000:5000 \
-v transrewrt-data:/app/data \
-e PROVIDER_API_KEY=your-api-key \
--name transrewrt \
ghcr.io/wsj-br/transrewrt:latest

將 PROVIDER_API_KEY 替換為您的供應商變數(例如 OPENROUTER_API_KEY、OPENAI_API_KEY、ANTHROPIC_API_KEY、XIA_API_KEY、…)並設定其值。請在設定中查看完整列表。

然後開啟 http://localhost:5000 並在公開服務前更改預設管理員密碼。

終端機視窗
wget https://github.com/wsj-br/transrewrt/raw/refs/heads/master/production.yml -O transrewrt.yml
# Edit the file to add your API keys, or use a `.env` file. Set TZ if needed.
docker compose -f transrewrt.yml up -d
  1. 從發行版本下載最新的 Transrewrt Setup x.y.z.exe。
  2. 執行安裝程式。
  3. 開啟應用程式並在設定 → API 設定中輸入 API 金鑰。至少設定一個供應商;OpenRouter 是免費模型的常見選擇。

從發行版本下載適用於您 CPU 的 .AppImage (x64 或 arm64,包含 Raspberry Pi 4+):

終端機視窗
chmod +x Transrewrt-x.y.z-x64.AppImage && ./Transrewrt-x.y.z-x64.AppImage

在設定 → API 設定中輸入 API 金鑰。

如果 Chromium 輸出 GPU / EGL 錯誤但應用程式運作正常,您可以停用硬體加速:

終端機視窗
TRANSREWRT_DISABLE_GPU=1 ./Transrewrt-x.y.z-arm64.AppImage

從 Releases 下載適用於您 Mac 的 .dmg:

  • Apple Silicon — Transrewrt-x.y.z-arm64.dmg
  • Intel — Transrewrt-x.y.z-x64.dmg

打開磁碟映像檔,將 Transrewrt 拖曳至應用程式。在 Settings → API Config 中輸入 API 金鑰。

或者清除隔離屬性:

終端機視窗
xattr -dr com.apple.quarantine /Applications/Transrewrt.app
  • Windows — 從 Releases 下載較新的 Transrewrt Setup x.y.z.exe 並執行。設定和資料會保留。
  • Linux — 下載較新的 .AppImage 並取代舊檔案。設定和資料會保留。
  • macOS — 下載較新的 .dmg,打開它,並將 Transrewrt 拖曳至應用程式,取代現有的應用程式。設定和資料會保留。
  • Docker — 拉取新映像檔並重新建立容器。資料會保存在 /app/data 磁碟區中:
終端機視窗
docker pull ghcr.io/wsj-br/transrewrt:latest
docker stop transrewrt && docker rm transrewrt
# then run the same `docker run` command as above
# or, with Docker Compose:
docker compose -f transrewrt.yml pull && docker compose -f transrewrt.yml up -d
  1. 取得 API 金鑰
  2. 執行一次簡單的翻譯以確認一切運作正常
  3. 閱讀翻譯、重寫與轉換指南