{"id":24186015,"url":"https://github.com/tauri-apps/cef-rs","last_synced_at":"2026-06-07T03:06:24.677Z","repository":{"id":272250313,"uuid":"914659208","full_name":"tauri-apps/cef-rs","owner":"tauri-apps","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-30T02:01:02.000Z","size":26942,"stargazers_count":385,"open_issues_count":11,"forks_count":58,"subscribers_count":12,"default_branch":"dev","last_synced_at":"2026-06-04T09:03:04.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tauri-apps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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-01-10T03:29:36.000Z","updated_at":"2026-06-04T08:01:21.000Z","dependencies_parsed_at":"2026-02-15T05:03:17.114Z","dependency_job_id":null,"html_url":"https://github.com/tauri-apps/cef-rs","commit_stats":null,"previous_names":["tauri-apps/cef-rs"],"tags_count":291,"template":false,"template_full_name":null,"purl":"pkg:github/tauri-apps/cef-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fcef-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fcef-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fcef-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fcef-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tauri-apps","download_url":"https://codeload.github.com/tauri-apps/cef-rs/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fcef-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34006056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-13T12:25:32.708Z","updated_at":"2026-06-07T03:06:24.638Z","avatar_url":"https://github.com/tauri-apps.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cef-rs\n\nUse CEF in Rust.\n\n## Supported Targets\n\n| Target | Linux | macOS | Windows |\n| ------ | ----- | ----- | ------- |\n| x86_64 | ✅    | ✅    | ✅      |\n| ARM64  | ✅    | ✅    | ✅      |\n\n## Usage\n\n### Install Shared CEF Binaries\n\nThis step is optional, but it will make all other builds of the `cef` crate much faster. If you don't do this, the `cef-dll-sys` crate `build.rs` script will download and extract the same files under its `OUT_DIR` directory. You should repeat this step each time you upgrade to a new version of the `cef` crate.\n\n#### Linux or macOS:\n\n```sh\ncargo run -p export-cef-dir -- --force $HOME/.local/share/cef\n```\n\n#### Windows (using PowerShell)\n\n```pwsh\ncargo run -p export-cef-dir -- --force $env:USERPROFILE/.local/share/cef\n```\n\n### Set Environment Variables\n\n#### Linux\n\n```sh\nexport CEF_PATH=\"$HOME/.local/share/cef\"\nexport LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:$CEF_PATH\"\n```\n\n#### macOS\n\n```sh\nexport CEF_PATH=\"$HOME/.local/share/cef\"\nexport DYLD_FALLBACK_LIBRARY_PATH=\"$DYLD_FALLBACK_LIBRARY_PATH:$CEF_PATH:$CEF_PATH/Chromium Embedded Framework.framework/Libraries\"\n```\n\n#### Windows (using PowerShell)\n\n```pwsh\n$env:CEF_PATH=\"$env:USERPROFILE/.local/share/cef\"\n$env:PATH=\"$env:PATH;$env:CEF_PATH\"\n```\n\n### Run the `cefsimple` Example\n\nThis command should work with each platform:\n```sh\ncargo run --bin bundle-cef-app -- cefsimple -o target/bundle\n```\n\nYou can configure the name of the macOS helper in the `Cargo.toml` file, as well as a resource directory that will be copied into the bundle in a platform-appropriate location:\n```toml\n[package.metadata.cef.bundle]\nhelper_name = \"cefsimple_helper\"\nresources_path = \"resources\"\n```\n\n#### Linux\n\nThere's an extra `--release` flag to build a much smaller bundle on Linux:\n```sh\ncargo run --bin bundle-cef-app -- cefsimple -o target/bundle --release\n./target/bundle/cefsimple.exe\n```\n\n#### macOS\n\nThe macOS utility creates an application bundle directory at the target location, you can run it with the `open` command:\n```sh\ncargo run --bin bundle-cef-app -- cefsimple -o target/bundle\nopen target/bundle/cefsimple.app\n```\n\nOn macOS, the `bundle-cef-app` utility also supports several additional bundle options, most of which default to the name of the application (e.g. `cefsimple`):\n```\nUsage: bundle-cef-app [OPTIONS] \u003cNAME\u003e\n\nArguments:\n  \u003cNAME\u003e\n\nOptions:\n  -o, --output \u003cOUTPUT\u003e\n  -i, --identifier \u003cIDENTIFIER\u003e\n  -d, --display-name \u003cDISPLAY_NAME\u003e\n  -r, --region \u003cREGION\u003e              [default: English]\n  -v, --version \u003cVERSION\u003e            [default: 1.0.0]\n  -h, --help                         Print help\n```\n\n#### Windows (using PowerShell)\n\nThe Windows utility supports the `--release` flag, but it makes much less difference in the binary size than on Linux. It also does not copy the resources directory to the bundle, because the preferred mechanism on Windows is to link binary resources directly into the executable.\n\nHowever, the utility will emit an executable manifest file, and if the `sandbox` feature is enabled, it will build the DLL (cdylib) target instead of the executable (bin) target, and copy that with a renamed `bootstrap.exe` file to the bundle directory, so you can run it from there directly:\n```pwsh\ncargo run --bin bundle-cef-app -- cefsimple -o ./target/bundle\n./target/bundle/cefsimple.exe\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftauri-apps%2Fcef-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftauri-apps%2Fcef-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftauri-apps%2Fcef-rs/lists"}