parro-it/libui-node
parro-it/libui-node has 1,873 GitHub stars and 83 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-13 22:57 UTC. Last push 2021-07-22.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
À propos
Node bindings for libui, an awesome native UI library for Unix, OSX and Windows
ApprentissageREADME.md
Originallibui-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.
Screenshots
macOS

Linux

Windows

Supported platforms
- Windows: Windows Vista SP2 with Platform Update or newer
- Unix: GTK+ 3.10 or newer
- Mac OS X: OS X 10.8 or newer
- Node.js version 4 or greater.
Prerequisites
Windows
- windows-build-tools or Visual Studio 2015 to compile the project.
- Visual C++ Redistributable Package per Visual Studio 2013
Linux
If they are not provided by default in your distribution:
- build-essential to compile the project.
- GTK+ 3
macOS
- Xcode 8 to compile the project.
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
- Each
libuicontrol implementation is written in it's own C++ file insrcfolder. - Each control is implemented in it's own C++ class, each class is a simple wrapper of related libui C functions.
- Header files are in
src/includesfolder. - Control events does not follow
nodeconvention: if you attach an handler to an event, previous one will be overwritten and never be called. - We build the project using the awesome nbind tool, that automate the process of linking a straight C++ class to Node.js stuff...
Related projects
- libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
- nbind - Magical headers that make your C++ library accessible from JavaScript
- proton-native - A React environment for cross platform native desktop apps https://proton-native.js.org
- Vuido - A Vue.js component implementation built on top of LibUI-Node
Contributors
---|---|---|---
Andrea Parodi | Juha Järvi | Niklas Mischkulnig | Gustav Hansen
License
The MIT License (MIT)
Copyright (c) 2018 parro-it
Explorer des projets similaires
sindresorhus/awesome
😎 Listes Awesome sur toutes sortes de sujets intéressants [NOTE : les pull requests sont temporairement désactivées jusqu’à ce que j’aie l’occasion de rattraper celles qui existent déjà]
536,540 étoilesEbookFoundation/free-programming-books
:books: Livres de programmation librement disponibles
401,560 étoilesnilbuild/developer-roadmap
Feuilles de route interactives, guides et autres contenus éducatifs pour aider les développeurs à progresser dans leur carrière.
371,971 étoilesvinta/awesome-python
La liste de référence qui répond à « Je veux faire X en Python : quel outil dois-je utiliser ? ».
334,610 étoiles