| Crates.io | bevy_cef |
| lib.rs | bevy_cef |
| version | 0.1.0 |
| created_at | 2025-08-10 16:59:45.253539+00 |
| updated_at | 2025-08-10 16:59:45.253539+00 |
| description | Bevy CEF integration for web rendering |
| homepage | |
| repository | https://github.com/not-elm/bevy_cef |
| max_upload_size | |
| id | 1789101 |
| size | 275,636 |
A powerful Bevy plugin for embedding web content using the Chromium Embedded Framework (CEF). Render websites, local HTML files, and web applications directly onto 3D meshes or 2D sprites with full interactivity and bidirectional communication between JavaScript and Bevy.
https://github.com/user-attachments/assets/54f476d0-8eda-4030-a3f6-dc4f2f54209f
Add to your Cargo.toml:
[dependencies]
bevy = "0.16"
bevy_cef = "0.1.0"
On macOS, using CEF typically requires creating an app bundle.
For development, this library provides a debug feature flag.
When enabled, it installs a debug renderer process and the CEF framework locally so the app can run standalone.
[!NOTE] Use this feature only during development; for releases, bundle the renderer process and the CEF framework inside the app.
> cargo install export-cef-dir
> export-cef-dir --force $HOME/.local/share/cef
> cargo install bevy_cef_debug_render_process
See examples/.
On macOS, you need to enable debug feature enabled:
cargo run --example simple --features debug
| Platform | Status | Notes |
|---|---|---|
| macOS | โ Full | Primary development platform |
| Windows | โ ๏ธ Planned | CEF support ready, testing needed |
| Linux | โ ๏ธ Planned | CEF support ready, testing needed |
We welcome contributions! Here's how you can help:
cargo build --features debug to set up CEFcargo fmt)cargo clippy)| Bevy | bevy_cef | CEF | Status |
|---|---|---|---|
| 0.16 | 0.1.0 | 138 | โ Current |
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Built with ๐ฆ Rust and โค๏ธ for the Bevy community