fpwebview is Free Pascal binding for webview, a tiny cross-platform library for building modern cross-platform GUIs using web technology. fpwebview supports two-way Javascript-Pascal bindings: calling Pascal from Javascript, and calling Javascript from Pascal.
- simple web browser opening to a specific web site
- invoking Javascript from Pascal
- bidirectional Javascript-Pascal calling
- embedded web server
- LCL GUI embedding webview and web server
Binary support files for x86_64 (Linux, macOS, Windows), i386 (Windows) and aarch64 (macOS)
are provided with this repo. See the files in the /dll
folder.
% git clone https://github.com/PierceNg/fpwebview
% cd fpwebview/demo/browser_cli
% ./linbuild.sh
<output>
% ./linrun.sh
% git clone https://github.com/PierceNg/fpwebview
% cd fpwebview/demo/browser_cli
% ./macbuild.sh
<output>
% ./macrun.sh
C:\> git clone https://github.com/PierceNg/fpwebview
C:\> cd fpwebview\demo\browser_cli
C:\fpwebview\demo\browser_cli> winbuild.bat
<output>
C:\fpwebview\demo\browser_cli> winrun.bat
Copyright (c) 2022 Pierce Ng. This repo is under MIT license, except for the following:
- Microsoft's
WebView2Loader.dll
is distributed as perLICENSE.Microsoft
.