Code Monkey home page Code Monkey logo

blazorwebview's Introduction

He went ahead whether others agreed with him or not with his integrity as his only banner. ~ Howard Roark

blazorwebview's People

Contributors

czirok avatar jinshil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blazorwebview's Issues

Running on Windows

Is it possible to run this project on Windows? (Because it seems to be based on Gtk)

Exception on fedora 38 / Thoughts on Gir.Core

Hi,

I tried your project on a current fedora 38 with dotnet 6 / 7 installed. Unfortunately it did not work out. It looks like the code in GtkSharp is hard coding an old webkitgtk library.

Unhandled exception. System.TypeInitializationException: The type initializer for 'WebKit.WebView' threw an exception.
 ---> System.DllNotFoundException: Webkit: libwebkit2gtk-4.0.dll, libwebkit2gtk-4.0.so.37, libwebkit2gtk-4.0.dylib, libwebkit2gtk-4.0.0.dll
   at GLibrary.Load(Library library)
   at WebKit.WebView..cctor()

As this project looks quite interesting, I wonder what your thoughts are in regard to base it on Gir.Core? Gir.Core supports Gtk4 and current WebKitGtk versions. It follows the binaries inside the current gnome Flatpak SDK. This allows to create Flatpaks which can be distributed via Flathub.

But the project and API is not complete or guaranteed to be stable, so it is quite possible that the APIs you are relying on are not yet generated or are even not supported anymore as there was some API break on WebKitGTK side.

As I'm actively working on Gir.Core, I would be interested in making the needed API available to you.

I created a small issue on my side gircore/gir.core#931 to keep your project in my mind in case you are not interested as I think it could benefit a lot of users. If you like, the project could even be part of Gir.Core itself as it looks like that not much code is needed maintenance wise.

Is that what you want?

https://github.com/tryphotino/photino.Blazor

Photino is a lightweight open-source framework for building native,
cross-platform desktop applications with Web UI technology.

Photino.Blazor builds on Photino.NET to add Blazor capabilities.

Photino uses the OSs built-in WebKit-based browser control for Windows, macOS and Linux. Photino is the lightest cross-platform framework. Compared to Electron, a Photino app is up to 110 times smaller! And it uses far less system memory too!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.