/GuiLiteNew

GuiLite是一个具有5000行C++代码的准系统GUI框架,它可以在所有平台上运行(例如,iOS,Android,Linux,Windows,macOS,Docker和带或不带OS的MCU)。GuiLite是可嵌入的,它在其他UI框架内运行(例如,Qt,MFC,Winform,Cocoa)。您可以同时使用GuiLite功能和主机UI功能。GuiLite独立于OS和图形库呈现UI。GuiLite可以使用多种语言(例如,Swift,Java,C#,Golang)。

Primary LanguageC++Apache License 2.0Apache-2.0

Welcome to GuiLite

Logo

The smallest header-only GUI library (4 KLOC) for all platforms.

Why GuiLite

Lightweight

  • ✂️Small: 4,000+ lines of C++ code, zero dependency, header-only(GuiLite.h)

  • ⚡Fast: High Rendering performance, even work on MCU

  • 👫🏻Compatible: Work smoothly with 3rd party frameworks(Qt/MFC/Winform/Cocoa/Web)

  • ⚙️️Hardware Minimum Requirements:

    Processor Disk/ROM space Memory
    24 MHZ 29 KB 9 KB

Cross platform

  • Supported OSes: iOS/macOS/WathOS, Android, Linux, Windows, RTOS... or MCU without OS
  • Supported languages: C/C++, Swift, Java, Javascript, C#, Golang...
  • Supported 3rd party libraries: Qt, MFC, Winforms, CoCoa...

Useful features

  • 🔣Multi-language, supports UTF-8;📀Playback Video
  • 🔨Toolkit for building font/image resources
  • 📐Layout GUI WYSIWYG
  • ☁️Cloud + IoT Solution
  • 📊Code Telemetry and Analysis in real time(remove .sh/.bat files if dislike to share)
  • 📦Supports 3D and Web
  • 🐋Run in docker with a single command: sudo docker run -it --privileged -v /dev:/dev-share idea4good/gui-lite:latest bash /run.sh

Easy to learn and support

Even a C beginner could master GuiLite quickly. The source code only uses basic C++ features (class, virtual function). We chose C++ as it could make the code size significantly smaller and easier to read.

Demo wall

  • Zero dependency, 100% build pass & runnable
  • Click the demo you like, and run it on your hardware

3D on STM32

Wave on STM32

Particle on STM32

Star on STM32

3D wave on STM32

Keyboard on STM32

Mario on STM32

3D circle on STM32

3D donut on STM32

Timer

Molecule move

Pendulum effect

3D on Apple Watch

Wave on Apple Watch

Particle on iPhone

HostMonitor on iPhone

Layout GUI

Run Windows on Linux

Multi-language

Code Telemetry & Analysis in real time

Monitor IoT device on cloud

Track IoT device over the world

Scroll widget

Video: GuiLite + FFmpeg

Transparent dialog

Swipe view

3D Nets on Windows/Linux

How to use widgets

Multi-language

3D on Web

3D on Web

Tutorial on Web

HostMonitor on Windows

HostMonitor on Mac

HostMonitor on Android

HostMonitor on Windows Mixed Reality

HostMonitor on Linux

Most of the demos have about 100 lines of UI code, more details here.

📞Community Channel

Thanks for the help from the community, you all make GuiLite better! And welcome to any new friend to join us.


超级群🥇:527251257

超级群🥈:841031761

免费群🥉:717471210
欢迎有条件的同学加入“超级群”🚄⏪⏪⏪,一同打造全球最强Lite GUI👑