3 ms·
Interesting, though what this actually does is run a local webserver so I assume it would be even simpler to just open the default web browser pointed to the lo
by splitbrain 8y ago
Interesting, though what this actually does is run a local webserver so I assume it would be even simpler to just open the default web browser pointed to the local server? But then you start thinking that sound output could also be handled via the audio API and one could even play this remotely. So what you created is a webapp? Why even run it locally at all then... just some thoughts. Still a cool idea to circumvent the lack of good native UI support in go I guess.
- messe 8y ago> Why even run it locally at all then Latency?
- zserge 8y agoWebview author here. It does not require local web server actually, it allows to inject js, css, HTML in runtime and bind go structs to is objects through the API, so the result is a self contained web app with no server. Although using a local web server may be more convenient to most web developers.
- pier25 8y agoWhy IE and not Edge for Windows?
- zserge 8y agoIntegrating Edge is my dream. However there is no C API unlike MSHTML. I still have hopes on cppwinrt though. Any help in this direction is highly appreciated.
- sausheong 8y agoI wrote the blog post, thanks Serge for the great library! I considered the self-contained app without the web server method, but I've already done the images before and I'm way more comfortable with Go web programming (I wrote that book too).