https://github.com/doceazedo/godot_wry
๐ Cross-platform webview extension for Godot 4
https://github.com/doceazedo/godot_wry
Last synced: 5 months ago
JSON representation
๐ Cross-platform webview extension for Godot 4
- Host: GitHub
- URL: https://github.com/doceazedo/godot_wry
- Owner: doceazedo
- License: mit
- Created: 2024-08-10T17:27:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-14T23:31:14.000Z (5 months ago)
- Last Synced: 2026-01-15T04:39:35.757Z (5 months ago)
- Language: Rust
- Homepage: https://godot-wry.doceazedo.com
- Size: 35.1 MB
- Stars: 385
- Watchers: 11
- Forks: 26
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing/compiling.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot WRY
[WRY](https://github.com/tauri-apps/wry) is a cross-platform webview rendering library. This extension allows you to use the native webview in Godot to build browsers and GUIs with HTML, CSS and JavaScript.
## โจ Features
- ๐ Use the native system native webview (no extra dependencies!)
- ๐ Load website URLs and local `res://` files
- ๐งฉ JavaScript โ GDScript code integration
- ๐ฅ Mouse/keyboard input events forwarding
## โน๏ธ Demo
Demo game UI available at "examples/character_creator_ui_demo".
๐ธ Other screenshots




## ๐พ Installing
### Asset Library
The easiest way to install Godot WRY is through Godot's [Asset Library](https://godotengine.org/asset-library/asset/3426). You can install it via the editor by following these instructions:
1. Open your project in Godot 4.1 or later.
2. Go to the "๐ฅ AssetLib" tab at the top of the editor.
3. Search for "Godot WRY".
4. Click on the Godot WRY extension and click **Download**.
5. In the configuration dialog, click **Install**.
### GitHub releases
1. Go to the [Releases](https://github.com/doceazedo/godot_wry/releases) page.
2. Download the latest release ZIP file (_not_ the source code).
3. Extract the contents into your project's "addons" folder (create one if it doesn't exist yet).
### Build from source
Use [just](https://github.com/casey/just) to build the extension and move the binaries to the Godot project folder:
```sh
$ just build
```
If you need a more in-depth guide on how to compile the project, check the [Building from source](https://godot-wry.doceazedo.com/contributing/compiling.html) documentation page.
## ๐ Documentation
Please refer to the [Docs](https://godot-wry.doceazedo.com) for API reference and in-depth guides on how to use Godot WRY.
## ๐ฏ Supported platforms
| Platform | Support | Web engine |
| ------------------------------- | -------------- | -------------------------- |
| **Windows (10, 11)** | โ
Supported | WebView2 (Chromium) |
| **Mac (Intel, Apple Sillicon)** | โ
Supported | WebKit |
| **Linux (X11)** | ๐ง Supported\* | WebKitGTK |
| **Android** | โณ Planned | Android WebView (Chromium) |
| **iOS** | โณ Planned | WebKit |
| **Browser/HTML5** | โณ Planned | โ |
### Linux
[WebKitGTK](https://webkitgtk.org) is required for WRY to function on Linux. The package name may differ based on the operating system and Linux distribution.
\* X11 support only. Transparency is currently not supported. See [#17](https://github.com/doceazedo/godot_wry/issues/17).
### Android/iOS
WRY itself already has [mobile support](https://github.com/tauri-apps/wry/blob/dev/MOBILE.md). Contributions to add Android/iOS support in this extension are welcome!
## โ Caveats
- Webview always renders on top
- Different browser engines across platforms
- No automatic dependency checks
You can learn more about these caveats on the [Caveats](https://godot-wry.doceazedo.com/about/caveats.html) documentation page.
## ๐ค Contribute
Your help is most welcome regardless of form! Check out the [How to contribute](https://godot-wry.doceazedo.com/contributing/how-to-contribute.html) page for all ways you can contribute to the project. For example, [suggest a new feature](https://github.com/doceazedo/godot_wry/issues/new?template=feature_request.md), [report a problem/bug](https://github.com/doceazedo/godot_wry/issues/new?template=bug_report.md), [submit a pull request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests), or simply use the project and comment your experience.
See the [Roadmap](https://godot-wry.doceazedo.com/about/roadmap.html) documentation page for an idea of how the project should evolve.
## ๐ซ License
The Godot WRY extension is licensed under [MIT](/LICENSE). WRY is licensed under [Apache-2.0/MIT](https://github.com/tauri-apps/wry/blob/dev/LICENSE.spdx).
## ๐งช Similar projects
Below is a list of interesting similar projects:
- [gdcef](https://github.com/Lecrapouille/gdcef/tree/godot-4.x) โ Open-source, powered by Chromium (CEF)
- [Godot-HTML](https://github.com/Decapitated/Godot-HTML) โ Open-source, powered by Ultralight (WebKit)
- [godot-webview](https://godotwebview.com/) โ Commercial, powered by Qt6 (Chromium)