PierceNg / fpwebview

Free Pascal binding for Webview, a tiny cross-platform library for building modern cross-platform GUIs using web technology

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Free Pascal binding for Webview, a tiny cross-platform library for building modern cross-platform GUIs using web technology

License:MIT License


Languages

Language:Pascal 100.0%