Skip to content
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

Feature request: webview #11

Open
tom-hines opened this issue Mar 13, 2021 · 8 comments
Open

Feature request: webview #11

tom-hines opened this issue Mar 13, 2021 · 8 comments

Comments

@tom-hines
Copy link

Hi. Great project. Is there any chance you could use webview instead of or in addition to Chrome?

https://github.com/oskca/webview

Thanks.

@Niminem
Copy link
Owner

Niminem commented Mar 19, 2021

@tom-hines Yes, ability to use webview rather than Chrome will be an option. To be honest, it's looking to be around July based on my current workload. I'll leave this open and ping you when it's been added in :)

@Niminem
Copy link
Owner

Niminem commented Apr 7, 2021

@tom-hines I have a working version of using webview with Neel. I'll be releasing this as v0.4.0 over the next week or so after some testing on all 3 OSs

@tom-hines
Copy link
Author

Great! Can't wait to try it. Thank you.

@EriKWDev
Copy link

EriKWDev commented May 7, 2021

Any update? :)

@tom-hines
Copy link
Author

Just tried it on my Linux Mint 19.3 machine. I need to install libgtk-3-dev and libwebkit2gtk-4.0-dev. I have a Dockerfile for that somewhere. Stay tuned...

@Niminem
Copy link
Owner

Niminem commented May 9, 2021

@EriKWDev @tom-hines

Excuse the delay guys I've been extremely busy with work. You can try the webview version w/ the devel2 branch

There's a few changes for how it works in this branch. Check out the forum post for details:
Nim Forum Post

I'm more than likely going to redo this entire aspect and use the most recent version of the Webview library you see mentioned. The unfortunate part is that you're going to be forced to compile to C++. It takes away from a goal I've had for Neel but at this point, it may be necessary to get what we want.

At the end of the day I want us to be able to make commercial applications and using a Chrome window in App mode isn't going to cut it.

@tom-hines
Copy link
Author

OK, I set up my Dockerfile to build this. I got the same error others got about missing "webview.h".

Here's my output:
https://pastebin.com/Y9GYtWTF

And FYI, here's my Dockerfile:
https://pastebin.com/9nEy6pWG

@Niminem
Copy link
Owner

Niminem commented Jun 24, 2021

@tom-hines @EriKWDev

Now that we're able to embed static assets into the binary and package our apps via Neel 0.4.0 ( still working on Linux for packaging :( ),
I'm dedicating the next release to include a stable webview option. I had been doing testing with the Webview libraries with some success, will let you guys know when the devel-2 branch is updated and ready for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants