You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Support for custom web app proxy URL in firewalled environments #12445
I have verified this feature I'm about to request 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.
Reacted by Fredrik Reveny, Jonas, Jeremy Kahn and Alexey Volkov
This issue might be a duplicate of existing issues. Please check:
[FEATURE]: opencode web shall not use external website app.opencode.ai #11981: [FEATURE]: opencode web shall not use external website app.opencode.ai - This is a closed feature request describing the exact same problem in restricted environments (like GCP Cloud workstations) that cannot access app.opencode.ai, and proposes bundling the frontend or allowing a custom path to FE files.
Feel free to ignore if none of these address your specific case.
Fixed by #19299 - The WebUI is now embedded directly in the binary, so you no longer need to proxy to app.opencode.ai. The embedded UI can be served locally in firewalled/air-gapped environments.
Activity
github-actions commentedon Feb 6, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
feat(web): embed UI in binary; bypass auth for static routes
thdxr commentedon Mar 26, 2026
Fixed by #19299 - The WebUI is now embedded directly in the binary, so you no longer need to proxy to app.opencode.ai. The embedded UI can be served locally in firewalled/air-gapped environments.
thdxr commentedon Mar 26, 2026
Closing as fixed by #19299
jobrk commentedon Mar 26, 2026
amazing news, thanks