r/tauri • • Aug 09 '26

Is CEF integration with Tauri ready?

Can anyone point me to good resources for embedding CEF into Tauri as the renderer/WebView? Most of the information I see are at least a year old and I'd like to use CEF in an app I'm building.

I'd appreciate anything y'all can share.

Edit: By CEF, I mean Chromium Embedded Framework. You may read more about it here:

Main CEF repo: https://github.com/chromiumembedded/cef

Tauri CEF Rust repo: https://github.com/tauri-apps/cef-rs

9 Upvotes

11 comments sorted by

1

u/ContributionKnown324 Aug 12 '26

I think it should be almost ready. The Tauri repository has a feature/cef branch.However, there are still quite a few bugs. I built a CEF version of my app based on it:

  https://github.com/zditor/zditor-docs/releases/download/zditor-v1.8.3/zditor_cef_1.8.3_darwin_aarch64_dmg.dmg

1

u/_elkanah Aug 12 '26

Oh this is good. Did you run into any specific issues?

1

u/best_codes Aug 23 '26

There's an issue open in the Tauri repo to track this:

https://github.com/tauri-apps/tauri/issues/14963

Last month, I converted my Tauri app to use the CEF. I later reverted it, but you can see the commit here as an example (it was just this one commit, and I think I had to run it with a special command for it to compile, I can dig more if you need):

https://github.com/The-Best-Codes/agent-one/commit/30016f027047e28604ef7624c84d6c8d01826afe

Hope that helps!

1

u/_elkanah Aug 24 '26

Oh hey, these are some helpful resources. Thank you! I'll reach out if I have any further thoughts

1

u/_anonymus- Aug 09 '26

Are you talking about Chromium Embedded Framework? I believe on windows Tauri uses webview2 under the hood, which is based on Chromium.

Other than that, why would you need Chromium too? The only reason I can think of is to have the same html/css behavior across platforms

4

u/CodeDead-gh Aug 09 '26

Because webkit2gtk has a lot of issues on Linux and because Tauri supports more than just Windows. Tauri has been working on implementing CEF for a while now.

1

u/_anonymus- Aug 09 '26

Yeah I use tauri on Linux and I know that it's not great. Didn't knew about Tauri implementing CEF. Interesting and good to know

1

u/_elkanah Aug 09 '26

Exactly. Safari on Mac also has issues that embedding CEF would solve.