bytecodealliance / bytecodealliance/StarlingMonkey

Proposal: StarlingMonkey Playground for JS-in-Wasm Components

Open
#260 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
288
Forks
57
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.