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

feat: wasm plugin system #6

Open
zztkm opened this issue Nov 5, 2023 · 0 comments
Open

feat: wasm plugin system #6

zztkm opened this issue Nov 5, 2023 · 0 comments
Assignees

Comments

@zztkm
Copy link
Member

zztkm commented Nov 5, 2023

Wasm (WASI) を使ったプラグインシステムを作りたい。

プラグインシステムの流れ

  1. vss 側でプラグインに渡すデータを用意
  2. 標準入力を通じて、gRPC or json でデータを受け渡し
  3. wasm 側で処理するし、処理結果を標準出力に書き込み
  4. vss 側で標準出力の内容をキャッチしてなんかやる

利用例

標準では用意していない機能を付け足したいとき

  • Open Graph 用の画像を生成したいとき
  • Markdown to HTML 処理方法を変更したいとき

References

@zztkm zztkm self-assigned this Nov 5, 2023
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