I’ve been working on this awesome project called "bolt.new-any-llm"and initially attempted the Docker route, which unfortunately failed. However, installing it locally on my OSX system using the OpenAI 4.0 API is working fine. I have two major concerns to address:
While I know it’s on the radar to be fixed, I’m mentioning it here in hopes of prioritizing it: can we get the Preview screen functional? (Update: I’m not entirely sure what I did, but after removing all core files, rebuilding and installing them again, updating dependencies, and deactivating all advanced security browser features—including strict HTTPS over VPN and any other Firefox developer settings that might have firewalled the environment—I returned to the browser tab with the project open, and voilà! It works! Strange.)
Most importantly, I’m currently unable to sync large folders with web apps built in bolt.new or any other source. Currently, the only way to sync files is by uploading a single document to the agent prompt, which is quite limiting. Additionally, it’s unclear where the project files are stored or how to access them, especially if we have dozens of image assets and other updates to add. (Yes I’m aware you can download a .zip file of the code) Isn’t the whole point of having a local build to have files immediately accessible? Am I missing something here?
Any guidance on these issues, especially on managing and accessing files efficiently, would be greatly appreciated. Where do we go from here to address these challenges?
The original design choice seems to have been browser-based containerized nodejs which could then be ported to somewhere like cloudflare instances to scale hosting, thus not dealing with huge node module folders largely duplicated across many small projects. Webcontainer predates current LLMs, thou it happened to suit them by having potentially hazardous edits safely sandboxed.
Mirroring the browser-based files might be safe, but live edits to both would compromise the sandboxing to some degree, if not entirely. Taking snapshots (unzipped) at certain intervals should be okay if we can set the timing or have selectable options (with or without installing modules, etc) for safely doing so, depending on our personal risk aversion.
Yes, originally its more like hosted in browser full stack dev environment.
Its not mean to really work with local files but you can import and export.
There are limitations currently in loading images or large projects.
We are knocking off those limitations in small steps.
I look at this more like on WordPress, open source, extendable, hosted or self hosted enviroment.
Potentially locally installable but there are many challenges for ordinary users.
I would look in direction of some kind of bundled solutions.
PS: There doesn’t seem to be a way to clear the error message when the transfer times-out, or any indication of the progress, such as files transferred or KB/MB remaining. Maybe something to add in later patches.