Skip to content

Desktop: Option to open links in external browser #10309

Closed

Description

@mguttmann

Problem

Currently, clicking on links in the desktop app opens them within the app itself. This can be frustrating when you want to open links in your default system browser instead.

Proposed Solution

Add a setting in Settings → General → Browser that allows users to choose whether links should open:

  • In external browser (default) - opens links in the system's default browser
  • In app - opens links within the desktop app

Implementation Details

The setting would affect all http:// and https:// links clicked within the app. When enabled, the click handler intercepts these links and uses shell.open() to launch the system browser.

Use Cases

  • Opening documentation links in a full browser with extensions
  • Keeping the OpenCode app focused on coding while browsing in a separate window
  • Using browser features not available in the embedded webview

Additional Context

This is a desktop-only feature since the web version already opens links in new tabs by default.

Activity

  1. github-actions commented on Jan 24, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. mguttmann commented on Jan 24, 2026

    @mguttmann
    Author

    Thanks for pointing this out! Yes, this is related to #8361.

    I see there are already open PRs addressing this:

    Given #8523 already exists with more features, I'd suggest the maintainers consider that PR. My PR (#10310) can serve as a simpler alternative if preferred.

    This issue can be closed as a duplicate of #8361 if the maintainers prefer to track it there.

  3. mguttmann commented on Feb 2, 2026

    @mguttmann
    Author
    Image
  4. github-actions commented on Apr 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions