MCPcopy Index your code
hub / github.com/blaind/bevy_webview

github.com/blaind/bevy_webview @v0.2.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.2 ↗ · + Follow
282 symbols 545 edges 58 files 50 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

bevy_webview WIP   Build Status Latest Version Docs Version

Rapidly iterate and build Bevy UI's with existing web-based technologies

It is currently very early days of this plugin - only Linux supported at the moment, many things are broken (e.g. keyboard input, mouse interaction except a primary button)

Example

Supported platforms: Linux. Windows being evaluated, Mac probably doable (pull requests welcome, #6). Android & IOS are currently unchartered territory.

The plugin uses platform-native webviews (webkitgtk on Linux, will use WebView2 on Windows). Core traits are exposed for integrating other webview engines.

Docs

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the software by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Acknowledgement

Huge thanks to the authors and contributors of tauri-apps/wry for their groundbreaking work upon which this crate is not only based, but also leans heavily upon.

Extension points exported contracts — how you extend this code

HeadlessWindow (Interface)
Represents an underlying (headless) window [2 implementers]
crates/headless_webview/src/window.rs
WebviewApp (Interface)
Trait that extends a Bevy [`App`] for registring webview events # Example ```rust # use bevy_webview::serde::{Serialize [1 …
src/events.rs
WebContextImpl (Interface)
(no doc) [2 implementers]
crates/headless_webview/src/webview/web_context.rs
EngineWebview (Interface)
(no doc) [2 implementers]
crates/headless_webview/src/webview/mod.rs

Core symbols most depended-on inside this repo

send
called by 32
src/events.rs
iter
called by 22
src/events.rs
tick
called by 18
crates/headless_webview/src/webview/mod.rs
build
called by 15
crates/headless_webview/src/window.rs
height
called by 10
crates/headless_webview/src/window.rs
get_texture
called by 10
crates/headless_webview_engine/src/platform_impl/webkitgtk/mod.rs
window
called by 9
crates/headless_webview/src/engines/dummy.rs
width
called by 8
crates/headless_webview/src/window.rs

Shape

Method 128
Function 74
Class 64
Enum 12
Interface 4

Languages

Rust98%
TypeScript2%

Modules by API surface

crates/headless_webview_engine/src/platform_impl/webkitgtk/mod.rs25 symbols
crates/headless_webview/src/webview/mod.rs24 symbols
crates/headless_webview/src/engines/dummy.rs22 symbols
src/lib.rs18 symbols
crates/headless_webview_engine/src/platform_impl/webkitgtk/web_context.rs18 symbols
crates/headless_webview/src/types.rs17 symbols
src/events.rs15 symbols
crates/headless_webview/src/http/response.rs13 symbols
crates/headless_webview/src/http/request.rs13 symbols
crates/headless_webview/src/window.rs12 symbols
examples/events.rs10 symbols
examples/react_ui.rs9 symbols

For agents

$ claude mcp add bevy_webview \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page