Glaze toolkit lets Go developers build desktop WebView apps without CGo
A developer has released Glaze, an open-source desktop WebView toolkit for Go that eliminates the need for CGo or a C compiler in the build process. Glaze uses the purego library to call native platform APIs directly, targeting WKWebView on macOS, WebKitGTK on Linux, and WebView2 on Windows. The toolkit is designed for small, local tools that need a basic visual interface without requiring a full GUI framework or a web server. It supports rendering HTML in a native window, binding Go functions to JavaScript, and wrapping existing net/http applications as desktop apps with minimal code changes. The project is still in early stages but is already functional for developers who want to stay within the standard Go workflow.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in