The goal here is to make it easy to bundle applications completely in a browser.
The primary use case is to support AI generated applications at run time.
For example: prompt an AI model to generate a full application including its package.json and all of the components as "files" and then using a virtual file system and import maps bundle it and run it.
This is a key piece of the puzzle for how a vibe coding platform would be built. Companies like Bolt.new have proprietary technology that runs node in a browser to handle this use case.
Which is very cool but not accessible to everyone.
I am not sure how Loveable does this... they may have a similar library to this one. I'd love to know if someone wants to share! :-)
This library was itself vibe coded using Claude code. This is my third attempt at this... the BIG key was really honing in on the exact requirements (LOL... that has always been the key right!?!).
I'd love some feedback if you have any. I am sure there may be some other option out there for this but I wasn't able to find any easy wrappers of esbuild-wasm myself that fully solved my use case.
Now I can go vibe code the full vibe coding platform!!
The primary use case is to support AI generated applications at run time.
For example: prompt an AI model to generate a full application including its package.json and all of the components as "files" and then using a virtual file system and import maps bundle it and run it.
This is a key piece of the puzzle for how a vibe coding platform would be built. Companies like Bolt.new have proprietary technology that runs node in a browser to handle this use case.
Which is very cool but not accessible to everyone.
I am not sure how Loveable does this... they may have a similar library to this one. I'd love to know if someone wants to share! :-)
This library was itself vibe coded using Claude code. This is my third attempt at this... the BIG key was really honing in on the exact requirements (LOL... that has always been the key right!?!).
I'd love some feedback if you have any. I am sure there may be some other option out there for this but I wasn't able to find any easy wrappers of esbuild-wasm myself that fully solved my use case.
Now I can go vibe code the full vibe coding platform!!