The WebView is an experimental portable HTML user interface solution for Core CLR programs.

A native library wraps browser controls provided by different operating system libraries with a common interface and offers a .NET API to use it.

The native code is based on zserge/webview, the .NET interface is completely original code.

How do I get set up?

Clone or download the repository and run with .NET Core

hg clone
cd fsharp-webview
dotnet build
dotnet run -p WebView.Test

You may have to set a native library path to point to one of the subdirectories in WebView.Native/runtime.

To build a native runtime library for a new target, take a look at the WebView.Native/ script.