Skip to content

Proposal: StarlingMonkey Playground for JS-in-Wasm Components #260

@iamrajiv

Description

@iamrajiv

I’m exploring how to improve the developer experience around WebAssembly components, specifically for JavaScript developers using StarlingMonkey and componentize-js. I’d like to propose a browser- or server-accessible playground that allows users to write JavaScript, compile it to a Wasm component, and execute it using StarlingMonkey.

Such a playground would:

  • Allow JS developers to test and run JavaScript code as WebAssembly components without needing to set up a local toolchain.
  • Demonstrate how StarlingMonkey integrates with WASI and the Component Model.
  • Serve as an educational tool to visualize the WIT interface and component boundaries in real-time.

Proposed Features

  • A simple UI for JS code input.
  • Backend that compiles JS code into a component (via componentize-js or jco).
  • Executes the component using Wasmtime + StarlingMonkey.
  • Shows output from console.log, return values, or HTTP handlers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions