[FEATURE]: Support for custom web app proxy URL in firewalled environments #8696

Open
opened 2026-02-16 18:10:36 -05:00 by yindo · 1 comment
Owner

Originally created by @jobrk on GitHub (Feb 6, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Feature hasn't been suggested before.

  • 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:

  1. Deploy the OpenCode web UI on an internal server
  2. 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.

Originally created by @jobrk on GitHub (Feb 6, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Feature hasn't been suggested before. - [x] 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: 1. Deploy the OpenCode web UI on an internal server 2. 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.
yindo added the discussionweb labels 2026-02-16 18:10:36 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #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.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8696