Marcos
Marcos10mo ago

if you mean self-host all what you need

if you mean self-host all what you need for a WASM-based web app, then no : but I have an issue / (well discussion) open here
3 Replies
Sam Carey
Sam Carey10mo ago
Wouldn't an "export" feature still require me to go to http://marimo.app to create the notebook initially? Perhaps I'm not understanding... Is the WASM web-app entirely client-side, such that I could just download the page contents and then rehost it with any server? Where is the source code for the WASM deployment?
Marcos
MarcosOP10mo ago
Well, I imagine it'd be a command line option. marimo export wasm app dir or something like that. Shiny Live works like that. you type shinylive export myapp site and then a new folder called site can be uploaded to any web server (apache, nginx) and it just works; all the wasm/pyodide stuff gets loaded. Wasm is client side but I don't think the python code is exposed? Like my shinylive exported folder for an app has a bunch of python .whl files, pyodide_py.tar and a bunch of other source files; but I don't think anyone can just download all that source by visiting the wasm app url.
Akshay
Akshay2mo ago
@Marcos and @Sam Carey, it's now possible to export notebooks as WASM-powered HTML files for self hosting, thanks to work by @Myles Scolnick. Learn how here: https://docs.marimo.io/guides/exporting.html#export-to-wasm-powered-html

Did you find this page helpful?