opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Cannot ’open project‘ in Web mode

Open DonKongPaPa opened this issue 2 months ago • 3 comments

Description

Honestly, I'm not sure if this is a bug either. I don't know what it should looks like.

Image

OpenCode version

1.0.204

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

DonKongPaPa avatar Dec 28 '25 18:12 DonKongPaPa

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

  • #6109: Web/desktop breaks with blank page
  • #5237: opencode web mode broken: empty page - multiple versions and multiple os
  • #5685: Cannot open terminal from opencode web

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

github-actions[bot] avatar Dec 28 '25 18:12 github-actions[bot]

We plan to add support for opening projects in web through a few different methods:

  • use server APIs to build our own folder selector in app (since native folder selector in browser doesn't give us the actual file path)
  • point at a github repo (and run against a cloud sandbox)
  • drag & drop a folder onto the app to upload (and run against a cloud sandbox)

Will get to this sometime in the new year.

adamdotdevin avatar Dec 29 '25 16:12 adamdotdevin

you can work around this by setting the url to the base-64 encoding of the path within the container. this is something i'm interested in fixing since i've been hosting a web instance of opencode for a bit and doing this is very tedious (i have one container acting as a sandbox for all agents).

paperclover avatar Dec 29 '25 21:12 paperclover

I added the ability to open projects on web this morning, closing

adamdotdevin avatar Dec 30 '25 21:12 adamdotdevin