mirror of
https://github.com/openai/codex.git
synced 2026-04-29 19:03:02 +03:00
973 B
973 B
Codex App Server UI
Minimal React + Vite client for the codex app-server v2 JSON-RPC protocol.
Prerequisites
codexCLI available in your PATH (or setCODEX_BIN).- If you are working from this repo, the bridge will prefer the local
codex-rs/target/debug/codex-app-serverbinary when it exists. - A configured Codex environment (API key or login) as required by the app-server.
Quickstart
From the repo root:
pnpm install
pnpm --filter app-server-ui dev
This starts:
- a WebSocket bridge at
ws://localhost:8787that spawnscodex app-server - the Vite dev server at
http://localhost:5173
Configuration
CODEX_BIN: path to thecodexexecutable (default:codex).APP_SERVER_BIN/CODEX_APP_SERVER_BIN: path to acodex-app-serverbinary (overridesCODEX_BIN).APP_SERVER_UI_PORT: port for the bridge server (default:8787).VITE_APP_SERVER_WS: WebSocket URL for the UI (default:ws://localhost:8787).