I just rediscovered a library that could be useful: [webview`](https://github.com/webview/webview)
> A tiny cross-platform webview library for C/C++/Golang to build modern > cross-platform GUIs. Also, there are Rust bindings, Python bindings, Nim > bindings, Haskell, C# bindings and Java bindings available. > > The goal of the project is to create a common HTML5 UI abstraction layer for > the most widely used platforms. > > It supports two-way JavaScript bindings (to call JavaScript from C/C++/Go and > to call C/C++/Go from JavaScript). > > It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and Edge on Windows 10. .