Hmm.. Gives me early vibes. Which reminds me, maybe I should start promoting my thing[0] too best of luck [0]: https://github.com/temphia/temphia
Your project looks really interesting. I've been looking into many different "plugin" architecture options (mainly with the goal to run untrusted js/ts code) and your extended readme sounds interesting. But i can tell it's early so i'm not fully seeing how this would be used (like an example folder). - I too have tried to think of how plugins could be "full-stack" with both sandboxing on BE & FE via iframe but i'm no…
yeah making core framework in fast low level language and making scripting/embed language on top is such underexplored area i think.
i have removed suborigin bashed frontend sandbox for now, inline iframe is just faster to iterate, i will bring back suborigin later. iframe related code would here.
https://github.com/temphia/temphia/blob/main/code/frontend/l... https://github.com/temphia/temphia/blob/main/code/frontend/e...
suborigin code is also same but template part would be in go template and you will need to setup (.myapp.com) domain name.
no i donot do use any wasm runtime snapshoting, i do cache the instance once they are run though so yeah first one will have latency.
i will try to post some demo/examples of app running later on, maybe. ¯\_(ツ)_/¯