#Wry in tauri

20 messages · Page 1 of 1 (latest)

runic dirge
#

Can i use wry inside tauri as a separate service?
So it will become something like https://www.electronjs.org/docs/latest/api/webview-tag

And i'll be able to create my own browser

Electron's webview tag is based on Chromium's webview, which is undergoing dramatic architectural changes. This impacts the stability of webviews, including rendering, navigation, and event routing. We currently recommend to not use the webview tag and to consider alternatives, like iframe, Electron's BrowserView, or an architecture that avoids ...

shell swallow
#

Tauri uses Wry already. Anyway, no it's not possible (at least not in a sane and cross-platform compatible way) to use wry inside a tauri app.

Either way this would not make it possible to implement electron's webview tag.
Maybe these links are insightful on that topic:
https://github.com/tauri-apps/tauri/issues/2709#issuecomment-980785842
https://github.com/tauri-apps/tauri/issues/5260

So if a webview or browserwindow tag is absolutely a must have for your app, then tauri is likely not a framework for you.

silk marlin
#

Perhaps an iframe?

shell swallow
#

that likely won't work for a DIY browser

silk marlin
#

True but it’s probably the closest you can get aside from fetching and rendering html

shell swallow
#

yeah probably

runic dirge
#

well i can make it secure (ig)

#

if it exists

#

hmm

shell swallow
#

famous last words :D

#

jokes aside, that's a really brave statement when all field experts say the opposite

#

but anyway, security was only a side info. we don't rly get around the technical limitation

runic dirge
#

i guess xd, if experts say is impossible, then i cant do it 100%

#

well

#

ok then

#

i just wont create my own browser

shell swallow
#

that by itself is already a brave idea. I mean sure, we all want to do it tbh, but thinking about how much money and human resources google, mozilla, microsoft, apple, etc spend on their browsers, i'm always super scared trying to do what they do alone as a hobby project x)

well tbf with electron/tauri/wry you'd be using the web engines the industry created & maintained but i still have that uneasy feeling 🤔

runic dirge
#

same ngl

#

I would probably give up after a few days anyway

shell swallow
#

relatable