Nui
Build C++ desktop interfaces with webview and reactive state
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install Nui?โผ
Run `npx skills add NuiCpp/Nui --all -g -y` in your terminal to install the skill globally. The library itself is integrated via CMake as described in the official documentation.
What is Nui used for?โผ
Nui is a C++ library for building desktop user interfaces inside a webview window, letting you write frontend UI entirely in C++ compiled to WebAssembly.
How do I write reactive UI in Nui?โผ
Use Nui::Observed values for state and bind them to elements with Nui::observe or Nui::range; the skill teaches the exact syntax and mutation rules to keep the UI updating correctly.
Which platforms does Nui support?โผ
Nui is tested on Ubuntu, Windows, and macOS with modern C++20 compilers. Mobile platforms and BSD systems are not supported.
Can I call JavaScript from Nui C++ code?โผ
Yes. Nui exposes emscripten::val for direct JavaScript interop, plus convertToVal and convertFromVal helpers to pass structured C++ data to and from JS.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core