Remix.run Logo
▲ Riiiiichard 7 hours ago

Thanks! I'd be interested to hear how it works out for GoNix.

One clarification: Zebkit still uses Chromium's sandboxed renderer processes and shared memory internally. The embedding interface is a C API: your application links the library, keeps its own window and event loop, and can either embed a web view or receive off-screen frames to draw itself.

There's no Go binding yet, but the C API should be usable through cgo. If you give it a try, I'd love to hear where it fits your setup and where the integration gets awkward. Thanks for sharing your use case!

▲prologic 6 hours ago | parent [-]

I'm sure Claude will do a fine job of creating some Go bindings :D

I already noticed Webkit doesn't support Wayland on Linux, and some sandbox limitations on Windows.

I assume you're working on improving this? I think I'll just focus on a PoC for macOS right now, and see how that goes!

▲torginus 4 hours ago | parent | next [-]

Not only does Webkit support Wayland, but WPE Webkit was one of the first apps to get ported, and its basically the poster child for Wayland:

https://wpewebkit.org/about/faq.html

That said this is not upstream Webkit (but they do try to keep up to date, its just they usually lag due to the customizations they did), but a more cut down version of it that supports a bunch of build config flags, and is used by a ton of embedded devices.

It's a fairly significantly more lightweight option to Chrome/CEF, that does suffer from a somewhat worse DX and compat with web content, but if you can tailor your content to it, rather than looking for a flawless ootb experience, it's a worthwhile choice.

▲Riiiiichard 6 hours ago | parent | prev [-]

Yes, I'm actively maintain this project, If you want to have go bindings, no problem.

It has the same sandbox support and limitations as Chromium. It supports X11 default in Linux and with limited Wayland support.

It has been tested on M4 macbook and works fine, if you have issues, just post it on the project.

▲prologic 5 hours ago | parent [-]

Just letting you know the PoC worked! ~20MB Go binary on macOS, basic features, but it works. Very nice!