Any webview binding for Zig like this one in C++?

Hello everyone,

There is this project which looks way better than use electron for desktop applications based on web technologies:

I am wondering if there is any similar project for zigo. or, if what ould be the errort to consume this from zig.

any thougts on this?

1 Like

There’s zig-webui

4 Likes

Here’s another one. This is one I put together for making desktop apps. The demo shows how to do bidirectional communication between javascript and native code, which can be kind of tricky at first. It works on macos,linux,windows. Binary sizes are typically small depending on release mode - a minimal browser that opens a URL on macos is about 250kb.

2 Likes

Actually, the README.md in the webview/webview repository you shared already provides this Zig binding library. On top of that binding, I’ve additionally added window management functionality and support for Windows/macOS cross-compilation.

2 Likes