Skip to content
TransBoxTransBox

Local Source & Development Environment

For reading the source, debugging plugins, or submitting PRs. End users should install the official version from Steam.


1. Requirements

ItemRequirement
OSWindows 10/11 64-bit
Python3.11 or 3.12 (>=3.11,<3.13)
Package manageruv (recommended)
GPUNVIDIA recommended for local models; cloud engines can run without a discrete GPU

Example software repository path: F:\projects\trans-box (sibling of the website repo, or match your disk layout).


2. Install & Run

powershell
cd F:\projects\trans-box
uv sync
uv run transbox

Steam release packaging (developers):

powershell
uv run --with pyinstaller python scripts/build_steam_release.py

3. Browser Extension

Located in the repository root as browser-extension/:

  1. Open chrome://extensions/ in Chrome/Edge
  2. Enable Developer mode
  3. Load unpacked → select that folder

Works together with the in-app Settings → Browser Captions (default port 8765).


4. Plugin Development Directories

PathPurpose
extensions/Official examples and local debug MODs
src/transbox/plugins/base.pySPI base classes
src/transbox/plugins/manifest.pymod.json parsing
src/transbox/plugins/registry.pyScanning and loading
src/transbox/locales/zh-CN.jsonUI string keys

After copying your MOD folder into extensions/, open Extension Workshop → Refresh in the app to load it (when running from source, %APPDATA%\transbox\extensions\ is also scanned).


5. How the Website Docs Are Built

Website repository trans-box-website:

powershell
pnpm install
pnpm run dev      # http://127.0.0.1:5173/
pnpm run build

Documentation source files live under docs/manual/ and docs/developer/.

TransBox — empowering borderless cross-language communication for everyone