Closed laoshaw closed 6 months ago
No difference. The most important feature of webui is not the web-server part but the WebSocket-server part, so just include webui.js
to establish a connection between your custom browser-tab window and your backend application and here we go.
More details in custom web server example: https://github.com/webui-dev/webui/tree/main/examples/C/custom_web_server
Thanks. Closing this one as it's not an issue anyways.
webui seems nice, better than webview based approach such as tauri and smaller than electron.js.
it's essentially running a web server(civetweb) on each OS right? how is this different from running a civetweb directly and open a browser tab to interact with that? yes I don't get a webui standalone interface(kiosk mode helps a bit) that is separated from the browser, but I can use all existing web programming on a tab from my browser.
I'm using civetweb on 3 OSes with simple html/js stuff.