idea4good/GuiLite

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

C++

7,776

447 commits

updated Oct 22, 2025

See the code

README

Welcome to GUI-lite

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:

    ProcessorDisk/ROM spaceMemory
    24 MHZ29 KB9 KB

Cross platform

  • Supported OSes: iOS/macOS/WatchOS, 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...

Hero features

  • ☁️Cloud + IoT Solution: master your IoT business all over the world
  • 🔣Multi-language, supports UTF-8;📀Playback Video
  • 🔨Toolkit for building font/image resources
  • 📐Layout GUI WYSIWYG
  • 📊Code Telemetry and Analysis in real time
  • 📦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 GUI-lite 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
  • Most of the demos have about 100 lines of UI code, the code repository is GuiLiteSamples

MCU platform



IoT feature



Multi-language, Design tool and video



Widgets & Controller



Cross platform



Apple platform


📞Community Channel

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


開發群🔑:875721211
c
cpp
cross-platform
display
docker
embedded
graphics-library
gui
header-only
iot
iot-platform
mcu
microcontroller

idea4good/GuiLite

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

C++

7,776

447 commits

updated Oct 22, 2025

See the code

README

Welcome to GUI-lite

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:

    ProcessorDisk/ROM spaceMemory
    24 MHZ29 KB9 KB

Cross platform

  • Supported OSes: iOS/macOS/WatchOS, 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...

Hero features

  • ☁️Cloud + IoT Solution: master your IoT business all over the world
  • 🔣Multi-language, supports UTF-8;📀Playback Video
  • 🔨Toolkit for building font/image resources
  • 📐Layout GUI WYSIWYG
  • 📊Code Telemetry and Analysis in real time
  • 📦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 GUI-lite 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
  • Most of the demos have about 100 lines of UI code, the code repository is GuiLiteSamples

MCU platform



IoT feature



Multi-language, Design tool and video



Widgets & Controller



Cross platform



Apple platform


📞Community Channel

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


開發群🔑:875721211
c
cpp
cross-platform
display
docker
embedded
graphics-library
gui
header-only
iot
iot-platform
mcu
microcontroller

Project health

Overall

2.8/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

Significant stargazers

(top 24 of 38)

wenhu

1 followers · starred Feb 2019

Egon Elbre

606 followers · starred Feb 2019

Alexandre Défossez

842 followers · starred Mar 2020

Miguel Grinberg

12,947 followers · starred Feb 2019