{"id":21945024,"url":"https://github.com/gurkengewuerz/cefgo","last_synced_at":"2025-04-22T21:11:31.194Z","repository":{"id":143577303,"uuid":"265943304","full_name":"Gurkengewuerz/cefgo","owner":"Gurkengewuerz","description":"Go bindings for the Chromium Embedded Framework (CEF)","archived":false,"fork":false,"pushed_at":"2021-10-11T21:15:06.000Z","size":78,"stargazers_count":25,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-22T21:11:22.641Z","etag":null,"topics":["cef","cefgo","cgo","chrome","chromium","go","golang","gui-toolkit"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gurkengewuerz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-21T20:17:37.000Z","updated_at":"2025-04-18T09:14:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"c27c7680-dda1-4fe5-bf8f-6308f83c9512","html_url":"https://github.com/Gurkengewuerz/cefgo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fcefgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fcefgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fcefgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fcefgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gurkengewuerz","download_url":"https://codeload.github.com/Gurkengewuerz/cefgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250324697,"owners_count":21411946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cef","cefgo","cgo","chrome","chromium","go","golang","gui-toolkit"],"created_at":"2024-11-29T04:17:37.130Z","updated_at":"2025-04-22T21:11:31.175Z","avatar_url":"https://github.com/Gurkengewuerz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cefgo\nThese are simple bindings for [CEF](https://bitbucket.org/chromiumembedded/cef/src/master/) `C API` in Go.\nIt's not documented yet, but you can follow the [example](examples/main.go) to figure out how to use. It's pretty simple.  \nIn order to run the examples, the CEF supporting files must be placed beside the executable.\n\n## Features\n- JS to Go callbacks\n- Go to JS eval\n- frameless window\n- single and sub executable support\n- Tested on Windows and Linux (macOS should work using seperate processes)\n- window functions (maximize, minimize, show, always on top, etc)\n- application icon\n\n## CEF Version and Compatibility\nThis lib is compiled against CEF 94.4.9+g09ee681+chromium-94.0.4606.71 / Chromium 94.0.4606.71 from https://cef-builds.spotifycdn.com/index.html\n\n## Installation\n1. Download the CEF SDK for your system from [Spotify](https://cef-builds.spotifycdn.com/index.html).\n2. Locate your installation of cefgo (typically in $GOPATH/src/github.com/Gurkengewuerz/cefgo or $GOPATH/pkg/mod/github.com/Gurkengewuerz/cefgo), and extract the CEF SDK.  \n    Copy include/* to cefgo/include  \n    Copy Release/* to cefgo/Release  \n    Copy Resources/* to cefgo/Release  \n3. Run your binaries inside the Release folder\n\n## Usage on macOS\nBecause i don't have the opportunity to test cefgo on a mac i need your help. Theoretically cefgo _should_ compile on macOS. Because macOS is different the application needs a bit more preperation.  \nPlease read the [CEF Wiki](https://bitbucket.org/chromiumembedded/cef/wiki/GeneralUsage#markdown-header-macos) carefully and set up your enviroment. Feel free to share your [experience](https://github.com/Gurkengewuerz/cefgo/issues/4).\n\n## About JS callbacks\nCallbacks need to be registered before browsers are created. Currently only basic type conversions are supported (undefined/null, bool, int/uint, double, string).\nObjects and Arrays are possible, but not done. If you are running in multi-process mode (the default - as opposed to single-process) keep in mind the callback will be executed in the browser process and not in the main process.\n\n## DevTools\nSet the a `RemoteDebuggingPort` in the `Settings` struct. Start your application and point your browser to `http://127.0.0.1:\u003cport\u003e`.\n## Updating the CEF Version\nThe process for updating CEF to a newer version is relatively simple.\n1. Download a new version from Spotify and extract.\n2. Update the headers inside the include folder\n3. Extract the new cef resources and libs to the Release folder\n4. Try to compile the test application: ``go clean -cache -testcache \u0026\u0026 CGO_ENABLED=1 go build -o Release/test.exe examples/main.go``\n5. Fix any incompatibilities with new APIs until the application compiles.\n6. Push the new version, and update the version listed in this README.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurkengewuerz%2Fcefgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgurkengewuerz%2Fcefgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurkengewuerz%2Fcefgo/lists"}