[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10854":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":36,"discoverSource":37},10854,"webui","webui-dev\u002Fwebui","webui-dev","Use any web browser or WebView as GUI, with your preferred language in the backend and modern web technologies in the frontend, all in a lightweight portable library.","https:\u002F\u002Fwebui.me",null,"C",4146,277,47,6,0,2,7,36,8,29.33,"MIT License",false,"main",[26,27,28,29,30,31,32,5],"browser","cpp","gui","javascript","typescript","web","webapp","2026-06-12 02:02:27","\u003Cdiv align=\"center\">\n\n![Logo](https:\u002F\u002Fraw.githubusercontent.com\u002Fwebui-dev\u002Fwebui-logo\u002F14fd595844f57ce751dfc751297b1468b10de77a\u002Fwebui_120.svg)\n\n# WebUI v2.5.0-beta.4\n\n[build-status]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fwebui-dev\u002Fwebui\u002Fci.yml?branch=main&style=for-the-badge&logo=githubactions&labelColor=414868&logoColor=C0CAF5\n[last-commit]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flast-commit\u002Fwebui-dev\u002Fwebui?style=for-the-badge&logo=github&logoColor=C0CAF5&labelColor=414868\n[release-version]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Ftag\u002Fwebui-dev\u002Fwebui?style=for-the-badge&logo=webtrees&logoColor=C0CAF5&labelColor=414868&color=7664C6\n[license]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fwebui-dev\u002Fwebui?style=for-the-badge&logo=opensourcehardware&label=License&logoColor=C0CAF5&labelColor=414868&color=8c73cc\n\n[![][build-status]](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Factions?query=branch%3Amain)\n[![][last-commit]](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Fpulse)\n[![][release-version]](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Freleases\u002Flatest)\n[![][license]](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Fblob\u002Fmain\u002FLICENSE)\n\n> Use any web browser or WebView as GUI, with your preferred language in the backend and modern web technologies in the frontend, all in a lightweight portable library.\n\n![Screenshot](https:\u002F\u002Fraw.githubusercontent.com\u002Fwebui-dev\u002Fwebui-logo\u002Fmain\u002Fscreenshot.png)\n\n![Screenshot](\u002Fexamples\u002FC\u002Fframeless\u002Fwebui_frameless.png)\n\n![Screenshot](\u002Fexamples\u002FC\u002Fframeless\u002Fwebui_frameless_linux.png)\n\n\u003C\u002Fdiv>\n\n\u003Cdiv align=\"center\">\n\n![GPT](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F70455739-94c9-410e-9519-2b0318129b4a)\n\n### _Ask AI Any Question About the WebUI_\n\n### [WebUI GPT - C\u002FC++](https:\u002F\u002Fchatgpt.com\u002Fg\u002Fg-685b01d42208819185a5a7c8ed74fa23-webui-c-c)\n\n\u003C\u002Fdiv>\n\n## Download\n\n- [Latest Stable Release](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Freleases)\n- [Nightly Build](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Freleases\u002Ftag\u002Fnightly)\n\n## Contents\n\n- [Features](#features)\n- [Showcase](#showcase)\n- [UI & The Web Technologies](#ui--the-web-technologies)\n- [Documentation](#documentation)\n- [Build](#build)\n- [Examples](#examples)\n- [Wrappers](#wrappers)\n- [Supported Web Browsers](#supported-web-browsers)\n- [License](#license)\n\n## Documentation\n\n- [Online Documentation](https:\u002F\u002Fwebui.me\u002Fdocs.html#\u002F)\n\n## Features\n\n- Portable (*Only needs a web browser at runtime, WebView is optional*)\n- Single header file\n- Lightweight (*Few Kb library*) & Small memory footprint\n- Fast binary WebSocket communication protocol\n- Multi-platform & Multi-Browser\n- Uses private profile for safety\n- Cross-platform WebView (*Optional*)\n\n## UI & The Web Technologies\n\n[Borislav Stanimirov](https:\u002F\u002Fibob.bg\u002F) discusses using HTML5 in the web browser as GUI at the [C++ Conference 2019 (_YouTube_)](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=bbbcZd4cuxg).\n\n\u003Cdiv align=\"center\">\n\n![CPPCon](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Fassets\u002F34311583\u002F4e830caa-4ca0-44ff-825f-7cd6d94083c8)\n\n\u003C\u002Fdiv>\n\nWeb application UI design is not just about how a product looks but how it works. Using web technologies in your UI makes your product modern and professional, And a well-designed web application will help you make a solid first impression on potential customers. Great web application design also assists you in nurturing leads and increasing conversions. In addition, it makes navigating and using your web app easier for your users.\n\n### Why Use Web Browsers?\n\nToday's web browsers have everything a modern UI needs. Web browsers are very sophisticated and optimized. Therefore, using it as a GUI will be an excellent choice. While old legacy GUI lib is complex and outdated, a WebView-based app is still an option. However, a WebView needs a huge SDK to build and many dependencies to run, and it can only provide some features like a real web browser. That is why WebUI uses real web browsers to give you full features of comprehensive web technologies while keeping your software lightweight and portable.\n\n### How Does it Work?\n\n\u003Cdiv align=\"center\">\n\n![Diagram](https:\u002F\u002Fgithub.com\u002Fttytm\u002Fwebui\u002Fassets\u002F34311583\u002Fdbde3573-3161-421e-925c-392a39f45ab3)\n\n\u003C\u002Fdiv>\n\nThink of WebUI like a WebView controller, but instead of embedding the WebView controller in your program, which makes the final program big in size, and non-portable as it needs the WebView runtimes. Instead, by using WebUI, you use a tiny static\u002Fdynamic library to run any installed web browser and use it as GUI, which makes your program small, fast, and portable. **All it needs is a web browser**.\n\n### Runtime Dependencies Comparison\n\n| GUI | Windows Dependencies | Linux Dependencies | macOS Dependencies |\n|-----------|---------|-------|-------|\n| **Tauri** | WebView2 | GTK\u002FWebKitGTK | WKWebView, WebKit |\n| **Qt** | Qt bundles | Qt bundles, libxcb, libxkbcommon... | Qt bundles |\n| **Electron** | Embedded Chromium + Node.js | Embedded Chromium + Node.js | Embedded Chromium + Node.js |\n| **NW.js** | Embedded Chromium + Node.js | Embedded Chromium + Node.js | Embedded Chromium + Node.js |\n| **WebUI** | **Only A Web Browser** | **Only A Web Browser** | **Only A Web Browser** |\n\n## Build WebUI Library\n\n### Windows\n\n| Compiler | Command |\n|----------|---------|\n| GCC      | `mingw32-make` |\n| MSVC     | `nmake` |\n\n\u003Cdetails>\n  \u003Csummary>\u003Cstrong>Windows SSL\u002FTLS (Optional)\u003C\u002Fstrong>\u003C\u002Fsummary>\n  \n  Download and install the OpenSSL pre-compiled binaries for Windows:\n\n  - **MSVC**: [x64 OpenSSL v3.3.1](https:\u002F\u002Fslproweb.com\u002Fdownload\u002FWin64OpenSSL-3_3_1.msi) or [_32Bit_](https:\u002F\u002Fslproweb.com\u002Fdownload\u002FWin32OpenSSL-3_3_1.msi). See the [Wiki list](https:\u002F\u002Fwiki.openssl.org\u002Findex.php\u002FBinaries) for more info.\n  - **MinGW**: [Curl for Windows with OpenSSL](https:\u002F\u002Fcurl.se\u002Fwindows\u002F)\n\n  ```powershell\n  # GCC\n  mingw32-make WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE=\"C:\\curl-xxx-xxx-mingw\\curl-xxx-xxx-mingw\\include\" WEBUI_TLS_LIB=\"C:\\curl-xxx-xxx-mingw\\curl-xxx-xxx-mingw\\lib\"\n\n  # MSVC\n  nmake WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE=\"C:\\Program Files\\OpenSSL-xxx\\include\" WEBUI_TLS_LIB=\"C:\\Program Files\\OpenSSL-xxx\\lib\"\n  ```\n\u003C\u002Fdetails>\n\n### Linux\n\n| Compiler | Command |\n|----------|---------|\n| GCC      | `make` |\n| Clang    | `make CC=clang` |\n\n\u003Cdetails>\n  \u003Csummary>\u003Cstrong>Linux SSL\u002FTLS (Optional)\u003C\u002Fstrong>\u003C\u002Fsummary>\n  \n  ```sh\n  sudo apt update\n  sudo apt install libssl-dev\n\n  # GCC\n  make WEBUI_USE_TLS=1\n\n  # Clang\n  make WEBUI_USE_TLS=1 CC=clang\n  ```\n\u003C\u002Fdetails>\n\n### macOS\n\n| Compiler | Command |\n|----------|---------|\n| Default  | `make` |\n\n\u003Cdetails>\n  \u003Csummary>\u003Cstrong>macOS SSL\u002FTLS (Optional)\u003C\u002Fstrong>\u003C\u002Fsummary>\n  \n  ```sh\n  brew install openssl\n  make WEBUI_USE_TLS=1\n  ```\n\u003C\u002Fdetails>\n\n## Minimal WebUI Application\n\n- **C**\n\n  ```c\n  #include \"webui.h\"\n\n  int main() {\n    size_t my_window = webui_new_window();\n    webui_show(my_window, \"\u003Chtml>\u003Chead>\u003Cscript src=\\\"webui.js\\\">\u003C\u002Fscript>\u003C\u002Fhead> Hello World ! \u003C\u002Fhtml>\");\n    webui_wait();\n    return 0;\n  }\n  ```\n\n- **C++**\n\n  ```cpp\n  #include \"webui.hpp\"\n  #include \u003Ciostream>\n\n  int main() {\n    webui::window my_window;\n    my_window.show(\"\u003Chtml>\u003Chead>\u003Cscript src=\\\"webui.js\\\">\u003C\u002Fscript>\u003C\u002Fhead> C++ Hello World ! \u003C\u002Fhtml>\");\n    webui::wait();\n    return 0;\n  }\n  ```\n\n- **More C\u002FC++ Examples**\n\n  - [C](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Ftree\u002Fmain\u002Fexamples\u002FC)\n  - [C++](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fwebui\u002Ftree\u002Fmain\u002Fexamples\u002FC++)\n\n- **Other Languages**\n\n  - [Wrappers List](#Wrappers)\n\n## Build WebUI Application\n\n### Windows\n\n| Compiler | Type    | Command |\n|----------|--------|---------|\n| GCC      | Static  | `gcc -Os -Wl,-subsystem=windows my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-static -lws2_32 -Wall -luser32 -static -lole32 -lstdc++ -luuid -o my_application.exe` |\n| GCC      | Dynamic | `gcc -Wl,-subsystem=windows my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" \"webui-2.dll\" -lws2_32 -Wall -luser32 -lole32 -o -lstdc++ -luuid my_application.exe` |\n| MSVC     | Static  | `cl my_application.c \u002FI\"_PATH_TO_WEBUI_INCLUDE_\" \u002Flink \u002FLIBPATH:\"_PATH_TO_WEBUI_LIB_\" \u002FSUBSYSTEM:WINDOWS webui-2-static.lib user32.lib Advapi32.lib Shell32.lib Ole32.lib \u002FOUT:my_application.exe` |\n| MSVC     | Dynamic | `cl my_application.c \u002FI\"_PATH_TO_WEBUI_INCLUDE_\" \u002Flink \u002FLIBPATH:\"_PATH_TO_WEBUI_LIB_\" \u002FSUBSYSTEM:WINDOWS webui-2.lib user32.lib Advapi32.lib Shell32.lib Ole32.lib \u002FOUT:my_application.exe` |\n\n\u003Cdetails>\n  \u003Csummary>\u003Cstrong>Windows With SSL\u002FTLS (Optional)\u003C\u002Fstrong>\u003C\u002Fsummary>\n  \n  | Compiler | Type    | Command |\n  |----------|--------|---------|\n  | GCC      | Static  | `gcc -Os -Wl,-subsystem=windows my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-secure-static -lws2_32 -Wall -luser32 -static -lole32 -lstdc++ -luuid -o my_application.exe` |\n  | GCC      | Dynamic | `gcc -Wl,-subsystem=windows my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" \"webui-2-secure.dll\" -lws2_32 -Wall -luser32 -lole32 -lstdc++ -luuid -o my_application.exe` |\n  | MSVC     | Static  | `cl my_application.c \u002FI\"_PATH_TO_WEBUI_INCLUDE_\" \u002Flink \u002FLIBPATH:\"_PATH_TO_WEBUI_LIB_\" \u002FSUBSYSTEM:WINDOWS webui-2-secure-static.lib user32.lib Advapi32.lib Shell32.lib Ole32.lib \u002FOUT:my_application.exe` |\n  | MSVC     | Dynamic | `cl my_application.c \u002FI\"_PATH_TO_WEBUI_INCLUDE_\" \u002Flink \u002FLIBPATH:\"_PATH_TO_WEBUI_LIB_\" \u002FSUBSYSTEM:WINDOWS webui-2-secure.lib user32.lib Advapi32.lib Shell32.lib Ole32.lib \u002FOUT:my_application.exe` |\n\u003C\u002Fdetails>\n\n### Linux\n\n| Compiler | Type    | Command |\n|----------|--------|---------|\n| GCC      | Static  | `gcc -Os my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-static -lpthread -lm -ldl -o my_application` |\n| GCC      | Dynamic | `gcc my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2 -lpthread -lm -ldl -o my_application` |\n| Clang    | Static  | `clang -Os my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-static -lpthread -lm -ldl -o my_application` |\n| Clang    | Dynamic | `clang my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2 -lpthread -lm -ldl -o my_application` |\n\n\u003Cdetails>\n  \u003Csummary>\u003Cstrong>Linux With SSL\u002FTLS (Optional)\u003C\u002Fstrong>\u003C\u002Fsummary>\n  \n  | Compiler | Type    | Command |\n  |----------|--------|---------|\n  | GCC      | Static  | `gcc -Os my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-secure-static -lpthread -lm -ldl -o my_application` |\n  | GCC      | Dynamic | `gcc my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-secure -lpthread -lm -ldl -o my_application` |\n  | Clang    | Static  | `clang -Os my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-secure-static -lpthread -lm -ldl -o my_application` |\n  | Clang    | Dynamic | `clang my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-secure -lpthread -lm -ldl -o my_application` |\n\u003C\u002Fdetails>\n\n### macOS\n\n| Compiler | Type    | Command |\n|----------|--------|---------|\n| Clang    | Static  | `clang -Os my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-static -lpthread -lm -framework Cocoa -framework WebKit -o my_application` |\n| Clang    | Dynamic | `clang my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2 -lpthread -lm -framework Cocoa -framework WebKit -o my_application` |\n\n\u003Cdetails>\n  \u003Csummary>\u003Cstrong>macOS With SSL\u002FTLS (Optional)\u003C\u002Fstrong>\u003C\u002Fsummary>\n  \n  | Compiler | Type    | Command |\n  |----------|--------|---------|\n  | Clang    | Static  | `clang -Os my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-secure-static -lpthread -lm -framework Cocoa -framework WebKit -o my_application` |\n  | Clang    | Dynamic | `clang my_application.c -I\"_PATH_TO_WEBUI_INCLUDE_\" -L\"_PATH_TO_WEBUI_LIB_\" -lwebui-2-secure -lpthread -lm -framework Cocoa -framework WebKit -o my_application` |\n\u003C\u002Fdetails>\n\n## Wrappers\n\n| Language        | v2.5.0 API | Link |\n| --------------- | ---------- | ---------------------------------------------------- |\n| Python          | ✔️ | [Python-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fpython-webui) |\n| Go              | ✔️ | [Go-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fgo-webui) |\n| Zig             | ✔️ | [Zig-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fzig-webui) |\n| Nim             | ✔️ | [Nim-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fnim-webui) |\n| V               | ✔️ | [V-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fv-webui) |\n| Rust            | ✔️ | [Rust-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Frust-webui) |\n| TS \u002F JS (Deno)  | ✔️ | [Deno-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fdeno-webui) |\n| TS \u002F JS (Bun)   | ✔️ | [Bun-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fbun-webui) |\n| Swift           | ✔️ | [Swift-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fswift-webui) |\n| Odin            | ✔️ | [Odin-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fodin-webui) |\n| Pascal          | ✔️ | [Pascal-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fpascal-webui) |\n| Purebasic       | ✔️ | [Purebasic-WebUI](https:\u002F\u002Fgithub.com\u002Fwebui-dev\u002Fpurebasic-webui) |\n| - | - | - |\n| FSharp-WebUI    | ✔️ | [FSharp-WebUI](https:\u002F\u002Fgithub.com\u002Fno-waves\u002FFSharp-WebUI) |\n| Common Lisp     | _not complete_ | [cl-webui](https:\u002F\u002Fgithub.com\u002Fgarlic0x1\u002Fcl-webui) |\n| Delphi          | _not complete_ | [WebUI4Delphi](https:\u002F\u002Fgithub.com\u002Fsalvadordf\u002FWebUI4Delphi) |\n| C#              | _not complete_ | [WebUI4CSharp](https:\u002F\u002Fgithub.com\u002Fsalvadordf\u002FWebUI4CSharp) |\n| WebUI.NET       | _not complete_ | [WebUI.NET](https:\u002F\u002Fgithub.com\u002FJuff-Ma\u002FWebUI.NET) |\n| QuickJS         | _not complete_ | [QuickUI](https:\u002F\u002Fgithub.com\u002Fxland\u002FQuickUI) |\n| PHP             | _not complete_ | [PHPWebUiComposer](https:\u002F\u002Fgithub.com\u002FKingBes\u002Fphp-webui-composer) |\n\n## Supported Web Browsers\n\n| Browser         | Windows         | macOS         | Linux           |\n| --------------- | --------------- | ------------- | --------------- |\n| Mozilla Firefox | ✔️              | ✔️            | ✔️              |\n| Google Chrome   | ✔️              | ✔️            | ✔️              |\n| Microsoft Edge  | ✔️              | ✔️            | ✔️              |\n| Chromium        | ✔️              | ✔️            | ✔️              |\n| Yandex          | ✔️              | ✔️            | ✔️              |\n| Brave           | ✔️              | ✔️            | ✔️              |\n| Vivaldi         | ✔️              | ✔️            | ✔️              |\n| Epic            | ✔️              | ✔️            | _not available_ |\n| Apple Safari    | _not available_ | _coming soon_ | _not available_ |\n| Opera           | _coming soon_   | _coming soon_ | _coming soon_   |\n\n## Supported WebView (*Optional*)\n\n| WebView         | Status         |\n| --------------- | --------------- |\n| Windows WebView2 | ✔️ |\n| Linux GTK WebView   | ✔️ |\n| macOS WKWebView  | ✔️ |\n\n### License\n\n> Licensed under MIT License.\n","WebUI 是一个允许开发者使用任何网页浏览器或WebView作为图形用户界面的轻量级库，同时支持后端使用多种编程语言和前端采用现代Web技术。其核心功能包括单头文件集成、快速二进制WebSocket通信协议以及跨平台和多浏览器兼容性。此外，WebUI具有极小的内存占用，并且在运行时仅需一个网页浏览器（WebView为可选项），非常适合需要快速开发桌面应用但又希望利用Web技术栈优势的场景。对于追求简洁高效界面解决方案的个人开发者或小型团队而言，WebUI是一个理想的选择。","2026-06-11 03:30:29","top_topic"]