RustAudio / vst-rs

VST 2.4 API implementation in rust. Create plugins or hosts. Previously rust-vst on the RustDSP group.
MIT License
1.04k stars 90 forks source link

Is it possible to use WebView for VST UI? #169

Open satelllte opened 3 years ago

satelllte commented 3 years ago

Hi! I'm trying to understand is it possible to use WebView for VST UI? For example, using these bindings: https://github.com/Boscop/web-view

jfalameda commented 1 year ago

Did you manage to figure out if it is possible to use it? I am trying to figure out how to build the UI. What options are available?

satelllte commented 1 year ago

Hi @jfalameda! I didn't manage to figure it out 100%, but there are some findings I've got some time ago:

  1. I was able to launch the VST on Mac with WebView based on rust-vst-gui. Here's the fork with my mac-test branch: https://github.com/satelllte/rust-vst-gui/pull/1/files

  2. There's an experimental framework called react-juce, which allows to use React.js UI with JUCE framework. So you can check it out, as well as more organised simple GainPlugin example I've put based on it