Skip to content

marimo export html-wasm --mode=(read|edit) #3116

@mscolnick

Description

@mscolnick

Description

A new export type marimo export html-wasm that exports the app as a runnable wasm notebook. This should output slightly different HTML that runs the notebook in wasm instead of a static notebook.

Suggested solution

Rather than piggy-backing off marimo export html, we should create a new subcommand html-wasm, because the CLI args will diverge (--mode vs --include-code, already, and more to come).

The exported wasm should have a warning if the current window protocol is file:// because wasm/webworkers will not work in this context. So the warning should be clear that is must be hosted.

Alternative

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions