cztomczak/cef2go
FreeGo lang bindings for the Chromium Embedded Framework (CEF)
About cztomczak/cef2go
CEF2go is an open source project that provides Go language bindings for the Chromium Embedded Framework (CEF). Founded by Czarek Tomczak in 2014 and licensed under BSD 3-clause, it allows developers to embed a full Chromium browser within Go applications. CEF2go can serve as a GUI toolkit for building HTML5-based user interfaces or add browser capabilities to existing applications. The library is cross-platform, supporting Windows, Linux, and macOS, and has been tested with Go 1.2 and 1.3.3. Communication between Go and JavaScript is achieved through an internal HTTP server using XMLHttpRequests. The repository includes binary examples for CEF 3 branch 1750 and provides setup guides for all major platforms.
Key Features
Pros & Cons
- Open source and free to use
- Cross-platform support reduces development effort
- Leverages modern HTML5/Chromium rendering
- Well-documented with setup guides for all platforms
- Active forks extend functionality (e.g., client handlers, V8 callbacks)
- Bindings are limited to basic window and cache options; advanced features are planned but not yet implemented
- Go-JS communication requires running an internal HTTP server (not native)
- Requires downloading and managing CEF binaries
- Tested only with older Go versions (1.2/1.3.3); compatibility with newer Go versions is uncertain