This repository contains the source code of some C++ classes wrapping a subset
of the Chromium Embedded Framework
API into a Godot 3.4 or Godot 3.5 native module (GDNative) which allows you to
implement a web browser for your 2D and 3D games through your gdscripts for
Linux and Windows. We have named this CEF GDNative module gdcef.
This module can be downloaded directly from the Godot asset library:
Note: You are a Godot-4 dev? You are on the wrong branch. Please go to https://github.com/Lecrapouille/gdcef/tree/godot-4.x instead!
Note: This current repository is a fork of the following repo (under GPLv3) with a more permissive license (MIT). Since the original repo is no longer maintained by their two original authors (Alain and Quentin), we, the undersigned Alain and Quentin, gave consent to relicensing the original code under the MIT license.
Since this current README is not taken when importing this module from the Godot asset library, all details are referred in the following document which explains you how to build this module, how to run demos, describe the architecture, details design and more ...
To compile this project with the Python3 build script for Linux and Windows:
cd addons/gdcef
python3 -m pip install -r requirements.txt
./build.py
This will generate artifacts in the build/ folder. Use this folder for your Godot
project and add gdns and gdnlib files to refer libgdcef.so or libgdcef.dll.
Check for releases. Since tag 0.7.2 CEF artifacts are given for Linux and Windows for x86_64 architectures. Uncompress the tarball and move the folder inside your project. Do no forget to add gdns and gdnlib files in your project to tell Godot where to find shared lib. They are given in the demos folders.
If you are using this project, please do not hesitate to share your project links and pictures by making a GitHub pull request, I'll add them in this gallery. Thanks to teams for having shared the current gallery:
Click to see on the image to see the Elitemeta video shared on IPFS.
