topheman a day ago

WebAssembly Component Model is super promising, but the examples out there are either too simple or way too complex.

I made a project to demonstrate its power, with more than a simple hello world. It's a basic REPL with a plugin system where you can run plugins written in any language that compiles to WASM:

- same plugins work in both CLI and web implementations

- plugins are sandboxed by default (implemented a Deno like security model)

- the REPL logic itself is compiled to WASM, like the plugins, you could swap its implementation

- a few built-in plugins available, some of them to demonstrate the access to the filesystem and the network