Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy WASI Command Runner #17

Open
G4Vi opened this issue Mar 20, 2024 · 0 comments
Open

Easy WASI Command Runner #17

G4Vi opened this issue Mar 20, 2024 · 0 comments

Comments

@G4Vi
Copy link

G4Vi commented Mar 20, 2024

To continue expanding Extism from a plugin system to a framework, we could add a WASI command module runner. A WASI command module runner would allow using Extism to run existing programs in the wild in addition to plugins built with the various PDKs.

The interface would take in a buffer to use as STDIN data and return two buffers out, STDOUT and STDERR. Setting this up in all WASM runtimes is non-trivial. Such interface would be convenient for creating a library function around a command module for example.

Prototype implementation: https://github.com/extism/extism/tree/g4vi/wasi-command-runner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant