parro-it / libui-node

Node bindings for libui, an awesome native UI library for Unix, OSX and Windows
MIT License
1.88k stars 85 forks source link

libui-node

Node.js bindings for libui library.

libui is a lightweight, portable GUI library that uses the native GUI technologies of each platform it supports.

It is in early stage of development, but is evolving at great pace and is really awesome. It could become an awesome alternative to Electron to develop multiplatform GUI, expecially suited to develop small apps.

Travis Build Status AppVeyor Build Status NPM module NPM downloads

Screenshots


macOS

macOS


Linux

Linux


Windows

Windows


Supported platforms

Prerequisites

Windows

Linux

If they are not provided by default in your distribution:

macOS

Installation

npm install -S libui-node

libui prebuilt binaries are automatically downloaded after install.

If you get this error on Windows:

'__pfnDliNotifyHook2': redefinition; different type modifiers

you need to install latest npm version:

$ npm i -g npm

see this node-gyp issue for more details.

Documentation & examples

Documentation is in docs folder. You can also find working examples in examples folder.

How to run the examples

First, you have to clone the GitHub repo and npm install it:

git clone https://github.com/parro-it/libui-node.git
npm install

Then, to run the control gallery example (requires Node.js >= 6), type:

npm start

For the core api, example, type:

npm run start-core

To run other examples:

node <path to example file>

Contribution & design

Related projects

Contributors

Andrea Parodi Juha Järvi Niklas Mischkulnig Gustav Hansen
Andrea Parodi Juha Järvi Niklas Mischkulnig Gustav Hansen

License

The MIT License (MIT)

Copyright (c) 2018 parro-it