Open-source C projects categorized as GUI

Top 15 C GUI Projects

  • libui

    Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.

    Latest mention: What are the best C++ GUI Libraries? | reddit.com/r/learnprogramming | 2021-01-23

    libUI looked interesting - as it looks like its trying to use modern C++. However - it's githubx repository does not seem to be maintained for the last 2 years: https://github.com/andlabs/libui

  • webview

    Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows)

    Latest mention: I'm Working on a native Epic Games Launcher for Linux. Help me with a good name for it 😄 | reddit.com/r/wine_gaming | 2020-12-28

    Ultralight doesn't seem to have a fully free license. Here's an even lighter alternative: https://github.com/webview/webview (MIT License).

  • robotgo

    RobotGo, Go Native cross-platform GUI automation @vcaesar

  • lvgl

    Powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).

    Latest mention: How to create professional embedded products | reddit.com/r/embedded | 2021-01-06

    For coding, I would suggest either contributing to an open source project or starting one yourself. This way you can get feedback from others which can really improve your capabilities.

  • xmake

    🔥 A cross-platform build utility based on Lua

    Latest mention: Xmake v2.5.1 released, Support for Silicon and powerful C/C++ package management | news.ycombinator.com | 2021-01-21
  • Nuklear

    A single-header ANSI C immediate mode cross-platform GUI library

    Latest mention: SIP Phone with GUI on STM32F7 | reddit.com/r/embedded | 2021-01-23

    nuklear (https://github.com/Immediate-Mode-UI/Nuklear) graphic framework is used in the demo for drawing buttons band other elements on the display.

  • nuklear

    This project provides Go bindings for nuklear.h — a small ANSI C GUI library.

  • gtk

    Read-only mirror of https://gitlab.gnome.org/GNOME/gtk

    Latest mention: Distinguishing between smooth scroll events and regular scroll events | reddit.com/r/GTK | 2021-01-04

    I have never tested that, but according to the code in GDK (X11, Wayland) looks like set_pointer_emulated() is called on compatibility scroll events. Maybe looking through the code may give more insights

  • PDCurses

    PDCurses - a curses library for environments that don't fit the termcap/terminfo model.

  • wdisplays

    GUI display configurator for wlroots compositors

    Latest mention: Can sway only use the primary display by default? | reddit.com/r/swaywm | 2021-01-19
  • mednaffe

    A front-end (GUI) for mednafen emulator

    Latest mention: State of MEDNAFEN core for Saturn emulation | reddit.com/r/RetroArch | 2020-12-29

    Based on what I see, improvements are mostly on emulation accuracy. Anyway, you can try the standalone Mednafen on your own machine to see if it brings better performance. On one of my old laptops with integrated graphics, VF2 performs slightly better in standalone Mednafen with less frame rate drops. Frontends, like mednaffe (https://github.com/AmatCoder/mednaffe/releases) and MedGui Reborn (https://sourceforge.net/projects/medguireborn/files/), make it a lot easier to run Mednafen.

  • ncurses-snapshots

    snapshots of ncurses - see http://invisible-island.net/ncurses/ncurses.faq.html (no pull requests are accepted)

  • php-iup

    php binding for IUP toolkit

  • tinyfiledialogs

  • LameUI

    A very lame UI library for embedded systems.

    Latest mention: LameUI - A UI Library for MCUs I have been making for past 6 months | reddit.com/r/embedded | 2021-01-23

    LameUI: https://github.com/abhra0897/LameUI/tree/development

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-01-23.


What are some of the best open-source GUI projects in C? This list will help you:

Project Stars
1 libui 9,776
2 webview 7,374
3 robotgo 6,398
4 lvgl 5,039
5 xmake 3,271
6 Nuklear 2,572
7 nuklear 1,386
8 gtk 828
9 PDCurses 587
10 wdisplays 276
11 mednaffe 178
12 ncurses-snapshots 28
13 php-iup 8
14 tinyfiledialogs 2
15 LameUI 1