Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem
When running opencode web, the server proxies the web UI from app.opencode.ai. This requires internet access, making OpenCode unusable in firewalled or air-gapped enterprise environments.
Use Case
Organizations with strict network policies need to:
- Deploy the OpenCode web UI on an internal server
- Have users run the local OpenCode server, pointing to the internally-hosted app
Proposed Solution
Add an environment variable OPENCODE_APP_URL to override the default proxy target.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem
When running
opencode web, the server proxies the web UI fromapp.opencode.ai. This requires internet access, making OpenCode unusable in firewalled or air-gapped enterprise environments.Use Case
Organizations with strict network policies need to:
Proposed Solution
Add an environment variable
OPENCODE_APP_URLto override the default proxy target.