Skip to content

garlic0x1/cl-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Bindings for webui.

(let ((w (webui-new-window)))
  (webui-bind w "my-button"
              (lambda (event)
                (declare (ignore event))
                (webui-run w "alert(\"hi\");")))
  (webui-show w "<html>
                   <script src=\"webui.js\"></script>
                   Hello,
                   <button id=\"my-button\">world!</button>
                 </html>")
  (webui-wait))

demo-1

Setup

I installed webui like this on Linux:

git clone https://github.com/webui-dev/webui
cd webui/
make
cp dist/webui-2.so /usr/lib/webui-2.so

Feel free to contribute ways to load webui for Mac or Windows.

About

webui bindings for Common Lisp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published