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

Recipe middleware system with WebAssembly #73

Open
majori opened this issue Jan 29, 2024 · 2 comments
Open

Recipe middleware system with WebAssembly #73

majori opened this issue Jan 29, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@majori
Copy link
Member

majori commented Jan 29, 2024

The middleware system could extend the recipe logic with hooks, like

  • better answer validation
  • dynamically adding questions
  • adding question options
  • pre-execute: make for example network requests before executing the recipe
  • post-execute: execute commands after rendering
  • render: use wasm binary as external render engine
@majori
Copy link
Member Author

majori commented Jan 29, 2024

https://github.com/extism/extism could be a nice fit for this

@majori majori added the enhancement New feature or request label Feb 29, 2024
@majori majori added the help wanted Extra attention is needed label Aug 23, 2024
@majori
Copy link
Member Author

majori commented Aug 23, 2024

We should start with validation hook since it is the most usable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant