Skip to content

Webassembly plugins? #1577

Open
Open
@lachlansneff

Description

@lachlansneff

The plugin functionality of mdBook is really useful, but I do feel a bit strange about letting plugins run amok without any sandboxing. It wouldn't be too complicated to add wasmtime or a wasm interpreter to mdBook to let it run plugins that have been compiled to wasm32-wasi. Most plugins could probably be recompiled without any source changes.

Of course, regular executable plugins would still be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions