Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
libui-node
Advanced tools
libui Node.js bindings.
libui is a simple and portable (but not inflexible) GUI library in C 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, lightweight alternative to Electron to develop multiplatform GUI.
Linux
macOS
Windows
The project run on any node version > 0.12.
We had published a first pre-release to npm.
You can now install libui-node
as a simple dependency in your project:
npm install -S libui-node
libui
prebuilt binaries are automatically downloaded after install.
This is tested with:
If you get error on windows, check this node-gyp issue
You can find ongoing documentation in docs folder.
Plase look in examples folder for working examples.
Some example uses ES6 syntax. We will soon configure babel transpilation for them. Meanwhile, if you are testing the project on Node.js < 6, you can check examples/core-api.js
that use ES5 syntax.
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
libui
API, except for these ones are implemented.This binding is actually implementing low-level API straight to the libui
ones.
We plan to add another level of API on top of it to simplify GUI building. You can get a taste of how they will be in example utils.js file.
This new API will support transpilation from JSX to further simplify GUI building.
These works will become in future the base for a React-Native like project.
libui
widget implementaion is written in it's own C++ file in src
folder.src/ui-node.h
that contains all classes definitions.node
convention: if you attach an handler to an event, previous one will be overwritten and never be called. This will be resolved on future high-level API repo, where each widget will be an EventEmitter
instance.Andrea Parodi | Juha Järvi | Chan Guan Hao |
The MIT License (MIT)
Copyright (c) 2016 parro-it
FAQs
Node.js bindings for libui
The npm package libui-node receives a total of 20 weekly downloads. As such, libui-node popularity was classified as not popular.
We found that libui-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.