Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.53 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.53 KB

fpwebview

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.

Demos

LCL GUI embedding

Getting Started

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.

Linux

% git clone https://github.com/PierceNg/fpwebview
% cd fpwebview/demo/browser_cli
% ./linbuild.sh
<output>
% ./linrun.sh

macOS

% git clone https://github.com/PierceNg/fpwebview
% cd fpwebview/demo/browser_cli
% ./macbuild.sh
<output>
% ./macrun.sh

Windows

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 and License

Copyright (c) 2022 Pierce Ng. This repo is under MIT license, except for the following:

  • Microsoft's WebView2Loader.dll is distributed as per LICENSE.Microsoft.