{"id":31789216,"url":"https://github.com/longbridge/wef","last_synced_at":"2026-02-18T05:01:09.976Z","repository":{"id":317132559,"uuid":"1066095012","full_name":"longbridge/wef","owner":"longbridge","description":"Wef is a Rust library for embedding WebView functionality using Chromium Embedded Framework (CEF3) with offscreen rendering support.","archived":false,"fork":false,"pushed_at":"2025-10-01T14:40:30.000Z","size":119,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T14:50:37.041Z","etag":null,"topics":["cef","chrome-embedded-framework","gpui","webview"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/longbridge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-29T02:32:22.000Z","updated_at":"2025-10-10T00:16:03.000Z","dependencies_parsed_at":"2025-09-29T04:19:55.333Z","dependency_job_id":"3f813d5f-3de4-4e1b-84ed-95123f55e2bf","html_url":"https://github.com/longbridge/wef","commit_stats":null,"previous_names":["longbridge/wef"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/longbridge/wef","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Fwef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Fwef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Fwef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Fwef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/longbridge","download_url":"https://codeload.github.com/longbridge/wef/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Fwef/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29569853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T04:18:28.490Z","status":"ssl_error","status_checked_at":"2026-02-18T04:13:49.018Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","chrome-embedded-framework","gpui","webview"],"created_at":"2025-10-10T14:49:51.930Z","updated_at":"2026-02-18T05:01:09.969Z","avatar_url":"https://github.com/longbridge.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wef\n\n\u003e Web Embedding Framework\n\n\u003e [!WARNING]\n\u003e This is an experimental project, we was tried to build a offscreen rendering WebView for solve GPUI render level issues in game engine, but there still not good enough.\n\u003e\n\u003e For example, the app size (included a CEF Framework increase 1GB), development experience, etc.\n\u003e\n\u003e So, we are still use [Wry](https://github.com/longbridge/gpui-component/blob/main/crates/ui/src/webview.rs) in [Longbridge](https://longbridge.com/desktop) desktop app for now.\n\n![CI](https://github.com/longbridge/wef/workflows/CI/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/wef.svg)](https://crates.io/crates/wef)\n[![Documentation](https://docs.rs/wef/badge.svg)](https://docs.rs/wef)\n\n**Wef** (Web Embedding Framework) is a Rust library for embedding WebView functionality using Chromium Embedded Framework (CEF3) with offscreen rendering support.\n\n\u003e The `Wef` name is an abbreviation of \"Web Embedding Framework\", and it's also inspired by Wry.\n\n![Wef Example](https://github.com/user-attachments/assets/f677ecb4-dbff-4e0d-86b9-203f6e1004a4)\n\n## Features\n\n- **Cross-Platform**: Support for Windows, macOS, and Linux\n- **CEF3 Integration**: Built on top of Chromium Embedded Framework for reliable web rendering\n- **Offscreen Rendering**: Advanced rendering capabilities with offscreen support\n- **JavaScript Bridge**: Seamless communication between Rust and JavaScript\n- **Multi-Process Architecture**: Leverages CEF's multi-process design for stability\n- **Cargo Integration**: Complete toolchain with `cargo-wef` for easy development\n\n## Quick Start\n\n### Installation\n\nAdd `wef` to your `Cargo.toml`:\n\n```toml\n[dependencies]\nwef = \"0.6.0\"\n```\n\n### Install cargo-wef\n\n```bash\ncargo install cargo-wef\n```\n\n### Initialize CEF\n\n```bash\ncargo wef init\n```\n\n### Basic Usage\n\n```rust\nuse wef::Settings;\n\nfn main() {\n    let settings = Settings::new();\n    wef::launch(settings, || {\n        // Your application logic here\n    });\n}\n```\n\n## Development\n\n### Building\n\n```bash\n# Build the library\ncargo wef build\n\n# Run tests\ncargo test --all\n\n# Run an example\ncargo wef run -p wef-winit\n```\n\n### Requirements\n\n- CEF binary distribution (automatically downloaded by `cargo-wef`)\n- Platform-specific dependencies:\n  - **Linux**: `libglib2.0-dev`, `pkg-config`\n  - **Windows**: Visual Studio Build Tools\n  - **macOS**: Xcode Command Line Tools\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for details.\n\n## License\n\nLicensed under the Apache License, Version 2.0. See [LICENSE-APACHE](LICENSE-APACHE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongbridge%2Fwef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flongbridge%2Fwef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongbridge%2Fwef/lists"}