https://github.com/turutcrane/cefingo
Go bindings for CEF (Chromium Embedded Framework)
https://github.com/turutcrane/cefingo
cef chromium-embedded-framework go golang-library
Last synced: 5 months ago
JSON representation
Go bindings for CEF (Chromium Embedded Framework)
- Host: GitHub
- URL: https://github.com/turutcrane/cefingo
- Owner: turutcrane
- License: other
- Created: 2018-10-07T10:08:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-18T13:41:52.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T05:02:44.203Z (almost 2 years ago)
- Topics: cef, chromium-embedded-framework, go, golang-library
- Language: Go
- Homepage:
- Size: 2.1 MB
- Stars: 21
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cefingo
This is experimental go binding for CEF.
This library is build with `cef_binary_115.3.15+g21130e0+chromium-115.0.5790.173_windows64'.
## Supported Environment
* Windows 10 64bit
* msys2/mingw64
## How to Use
1. Download Spotify's Autobuild Image (windos 64bit)
https://cef-builds.spotifycdn.com/index.html#windows64
1. Expand it.
1. Copy library files and Resouce files to a Directory in PATH Envrironment Variable (eg. $GOPATH/bin).
```bat
C:\> xcopy /e \path\to\expand_dir\Release \path\to\gopath\bin
C:\> xcopy /e \path\to\expand_dir\Resources \path\to\gopath\bin
```
1. create cefingo.pc file on PKG_CONFIG_PATH
```.pc
target=C:/path/to/gopath/bin
libdir=${target}
includedir=C:/path/to/expand_dir
Name: cefingo
Version: 0.1
Description: cefingo
Cflags: -I${includedir}
Libs: -L${libdir} -lcef
```
## Example
https://github.com/turutcrane/cefingo-sample
## Caution
Some functions and methods of cef has thread constraint. Any functions and methods in this package are not disable goroutine preemption. So thread error may be produced.
## License
This project is licensed under the MIT License.
This project quotes header files of the following third party libraries:
* Chromium Embedded Framework licensed under the BSD 3-clause
license. Website: https://bitbucket.org/chromiumembedded/cef
Thanks to https://github.com/cztomczak/cefcapi .