Open wwderw opened 4 years ago
I would love for something like this, but last time I looked into pywebview, the JS support wasn't good enough.
I imagine eventually, OSes will support an Electron-like GUI framework out of the box.
I would love for something like this, but last time I looked into pywebview, the JS support wasn't good enough.
My mention of pyview wasn't necessarily to use that directly, but as an example of a desktop usage of a project that was being done in python (just to have another example that wasn't a node js project).
The downside with webview in general (and I mention this as I am a Linux user) is that webview isn't bundled in outright in Linux, other platforms have their own versions of it. So that is one negative for it and a positive for how things are done now with Eel as most people will have a browser installed, no matter what the platform.
Main idea was to have something that would give a consistent app view versus a user having to have chrome/chromium. Would there be a way to pull a widget that can render/interpret html/css/js and bundle that in? If wxpython has something for instance, would that be feasible or more trouble then it's worth?
To bad there wasn't an add on for Firefox that we could hook into and then use that for firefox app mode and just script in to look for that as the mode?
If electron had a tiny binary instead of a full blown chromium to put in .. they would have done it .. It hasn't happened yet.. I'm sure when electron find an alternative to a bloated system, many others will benefit.
I don't think projects like Electron or NW.js are on course to that path because they depend on two very bloated dependencies that would preclude that.
Tauri is about the closest hope that I've seen so far, but that is still in alpha.
Bit late to the party here, but I wrote a plugin for the Neutralinojs webview (https://gist.github.com/lkn849/25f9497d8b51041a4a9cff39cea302bb). I'm currently working on getting Eel to work with the Neutralino native API.
P.S. Tauri is no longer compatible with Eel AFAIK
Sorry, I didn't initially want to inundate with a bunch of issues that had some connection with one another.
This is something that is being worked on with Node.JS devs as a lighter alternative to Electron so not have to pack chromium into every app like with Electron. Deskgap is what comes to mind with this. As far as python goes, have pywebview, but that depends on GTK and/or Qt. I would hope for something that is more like pygame to where this just calls up a window with a title bar, everything else would be handled by front end languages for the rest of the GUI.
For us and this project, to me, it would be to provide a more app like experience without having to worry about if chrome/chromium is installed for the chrome-app integration.