WebView for JUCE app running headless

Being new to WebView, I don’t know if it would be helpful for the following scenario.

I want to run a JUCE app on an embedded device, headless, and then access the app via an HTML web page to adjust a few parameters. The embedded device has a web server. I can compile the app and run headless on the device, but struggling with how to communicate with the app via an HTML web page.

Doable with WebView? Or is there another approach?

Any insights appreciated.

The typical solution to this problem is to provide an API to the device via the web server. It could be REST or RPC, whatever is more appropriate for your application.

You could use a webview on the client side if you want to present the interface as a native application, but you would still need the server to provide an API to handle the communication.

2 Likes