-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WASM runner / WebView #19
Comments
Here is the WebView :) https://github.com/gioui-plugins/gio-plugins/tree/main/webviewer the share and other ones are pretty useful with Gioview too I find |
Sure, that might deserve a dedicated project. You can post your goal and I'll contribute. I have played around with the webviewer a while ago. It worked pretty well except the layout does not play well with Gio's layout system. |
Yes I have it in another repo . I never bothered to make it public because I figured no one would be into the idea . when I get some time i will finish it and moist a link here |
I'm looking forward to it. |
Hey . Almost there . The gio plugins dev has been helping me . It’s a bit tricky as it’s using a custom gio cmd so that url schemes and deeplinks work. So users have a Gioview file type , and so when they click the file extension it will open the web or native version . Works on web, desktop and mobile . Opens a web version of the server ( WASM ) but the OS prompt is there to open the native app if they want. Pretty cool :) |
I don’t think you have tested gio view for web ? The FS needs a VFS that if web goes and gets the file from the server |
Yeah it's pretty cool! Have you make the deeplink work? Gioview has a custom scheme for its. view manager, that should be possible if you can handle deeplink. |
Not much, it soon failed as there was no FS support in the web environment. I've been busy working on a new Gio based editor lib focused on code editing recently. The VFS support has always been in my mind but unfortunately I have no time working on it. |
Ok good to know . Baby steps :) |
I had some success, a while back , running the main panel as a WASM in a WebView. All golang if coatse.
the deck gio canvas ran fine there.
the file tree is the same on the left .
this is only so you can swap out the binary that runs in the main panel. I needed it because the schema varies and so the gui needs to be loaded as WASM .
If your interested we can make an example or something
the tabs on the top were gio native btw . So each view has side a tab is a WebView.
it also means you can phat video and other stuff which is hellish without a WebView
The text was updated successfully, but these errors were encountered: