NativeWebView
0.9.1.6
Open HTML in a native window from PowerShell 7 on Windows, Linux and macOS - no downloads: WebView2 on Windows, WebKitGTK on Linux, WKWebView on macOS. Two-way messages between the page and your script.
Minimum PowerShell version
7.2
Installation Options
Owners
Copyright
(c) 2026 kalmstrom.com. MIT License.
Package Details
Author(s)
- Peter Kalmstrom
Tags
WebView WebView2 WebKit GUI HTML Window CrossPlatform Linux macOS Windows
Functions
PSEditions
Dependencies
This module has no dependencies.
Release Notes
0.9.1: kHost.call(action, data) returns the script's reply; -OnMessage gets the message with its fields as properties; kHost.close(result) / $Window.Close($Result) make Show-NativeWebView return a result; new -MinWidth, -MinHeight, -Icon, -NoResize, -Maximized, -TopMost, -Position and -Engine; the engine used is reported with -Verbose.
FileList
- NativeWebView.nuspec
- LICENSE
- NativeWebView.psd1
- NativeWebView.psm1
- README.md
- docs\Guide.md
- docs\Reference.md
- docs\Troubleshooting.md
- docs\images\01-hello.png
- docs\images\02-form.png
- docs\images\03-twoway.png
- docs\images\04-picker.png
- docs\images\05-progress.png
- docs\images\06-fromfile.png
- docs\images\demo.gif
- docs\images\demo.mp4
- docs\images\flow.png
- docs\images\flow.svg
- docs\images\icon-128.png
- docs\images\icon-256.png
- docs\images\icon.svg
- examples\01-Hello.ps1
- examples\02-Form.ps1
- examples\03-TwoWay.ps1
- examples\04-Picker.ps1
- examples\05-Progress.ps1
- examples\06-FromFile.ps1
- examples\07-Animations.ps1
- examples\08-Call.ps1
- examples\09-Wizard.ps1
- examples\10-WindowOptions.ps1
- examples\icon.png
- examples\page.html