Cannot ’open project‘ in Web mode
Description
Honestly, I'm not sure if this is a bug either. I don't know what it should looks like.
OpenCode version
1.0.204
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
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.
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.
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).
I added the ability to open projects on web this morning, closing