Nui
A C++ WebView UI Library
Install / Use
/learn @NuiCpp/NuiREADME
Nui
A C++ WebView UI Library. Nui enables you to build C++ user interfaces using a browser window tied to a main process.
Website: https://nuicpp.org
Documentation: https://nuicpp.github.io/nui-documentation/
Setup
How to get going with nui is explained here in detail: Installation
A template to get going can be found here: Template
Platforms & Compilers
Tested on:
- Ubuntu (using clang20 and libc++)
- Windows (using clang20 and current msys libstdc++)
- MacOS 13: (using clang16)
Not automatically tested but should work:
- Windows with Visual Studio, vcpkg and clang_cl
- Arch Linux
- MacOS 14+
- Other Linux Distributions with new enough packages for C++20
Planed:
- Android if this gets more traction here: https://github.com/webview/webview/issues/871
Examples
Using SAPUI5 Components

To use them, see this repo: https://github.com/NuiCpp/ui5
Using Bootstrap and some custom CSS

Plenty found on https://nuicpp.org
Contributing
Pull Requests are welcome, please format your changes and additions with clang-format (Ideally version 16+).
Dependencies pulled by CMake
Nui uses the following dependencies:
- emscripten - Custom LICENSE
- A nui maintained fork of webview/webview https://github.com/webview/webview - MIT LICENSE
- boost under BSL License
- fmt https://github.com/fmtlib/fmt - Custom MIT-like LICENSE
- gtest https://github.com/google/googletest - BSD 3-Clause LICENSE
- 5cript/interval-tree https://github.com/5cript/interval-tree - CC0-1.0 LICENSE
- nlohmann/json https://github.com/nlohmann/json - MIT LICENSE
- portable-file-dialogs https://github.com/samhocevar/portable-file-dialogs - WTFPL LICENSE
- 5cript/roar https://github.com/5cript/roar - BSL-1.0 LICENSE
- Nui/traits https://github.com/NuiCpp/traits - CC0-1.0 LICENSE
- nemtrif/utfcpp https://github.com/nemtrif/utfcpp - BSL-1.0 license
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
