andlabs/libui
View on GitHub ↗ ★ 10,890 C
Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
71 mentions on Hacker News by 51 people: 6 stories, 65 comments · first 2016-05-20 · latest 2026-03-01
20082026
-
Some other options. https://github.com/andlabs/libui > Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports. Missing a lot of desktop features and abandoned.…
comment by irq-1 · 2026-03-01 · in PureBasic: The Quiet Survivor -
…So enjoy Electron I guess. There was one sane human being who tried to do this a while ago: https://github.com/andlabs/libui It’s the only sane desktop UI project I’ve seen in almost 20 years, an attempt to create an actual cross platform…
comment by api · 2024-02-10 · in Short history of all Windows UI frameworks and libraries -
LibUI for C [0] [0] https://github.com/andlabs/libui
comment by enduku · 2023-11-05 · in BeeWare Toga v0.4.0 – A Python native, OS native GUI toolkit -
…programming language and paradigm... There is a Janet binding for it but it looks abandoned. https://github.com/andlabs/libui https://github.com/janet-lang/janetui
comment by ducktective · 2022-08-02 · in Capy – Cross-platform library for making native GUIs in Zig -
I don't know about non-native, but LibUI offers native GUI in C: https://github.com/andlabs/libui Better yet, it has excellent DSLs that make it possible to build desktop apps in a way similar to HTML, but much better due to keeping all…
comment by AndyMaleh · 2021-12-08 · in Ask HN: Is there any cross platform non native GUI written in C that looks good? -
I find the concepts (i.e. "SWT without Java") behind libui ( https://github.com/andlabs/libui ) exciting, and I could picture myself using it someday (through its Python bindings). I'm a bit worried, though, that the project is described…
comment by fermigier · 2021-10-23 · in Glimmer DSL for LibUI – Simplest Native Cross-Platform GUI Library -
libui has bindings for many languages but might be too immature for complex needs https://github.com/andlabs/libui
comment by Lammy · 2021-09-10 · in Ask HN: How do you create a cross-platform GUI without using Electron? -
…good lightweight native UI compatibility layer. Look at this heroic effort by a single developer: https://github.com/andlabs/libui It's not there, but it's probably too big of a project for one person.
comment by api · 2021-09-03 · in The Persistent Gravity of Cross Platform -
…Probably far larger than one developer can tackle in their spare time, but the effort is admirable: https://github.com/andlabs/libui This one person somehow gets it. Back to the topic at hand. It's not that Kotlin is a bad language. I've…
comment by api · 2020-11-05 · in JetBrains Compose -
wxWidgets, of course! There’s also these tiny but high-quality frameworks for C++: https://github.com/andlabs/libui https://github.com/cycfi/elements
comment by fito · 2020-08-22 · in Ask HN: How to do cross platform GUI? -
Something like this is what we need: https://github.com/andlabs/libui Unfortunately it's a one man band. The author has done great work but it has little support. IMHO it's the only sane UI effort for desktop in the world.
comment by api · 2020-07-08 · in Tauri – toolchain for building secure native apps that have tiny binaries -
…There are bindings for it in many languages, like Node.js, Rust, Swift, Kotlin and more. [1] https://github.com/andlabs/libui
comment by giovannibonetti · 2020-05-17 · in Native desktop apps are far superior to Web/Electron -
…platform therefore it does not exist. This is not a technical problem. Check this project out: https://github.com/andlabs/libui Yes it's minimal and rough around the edges, but it's the work of one developer in their spare time. If one…
comment by api · 2020-03-16 · in WinUI, The modern native UI platform of Windows -
How about libui? https://github.com/andlabs/libui/
comment by dsego · 2019-11-10 · in Rust 2020: GUI and Community -
I pimp this project any chance I get: https://github.com/andlabs/libui We're considering using it for the next generation of the ZeroTier desktop UI. Unfortunately no mobile support (but we already have native mobile UIs), but it looks…
comment by api · 2019-07-26 · in Show HN: Sauron-native – A native cross-platform GUI for Rust -
If you need native look and feel: https://github.com/andlabs/libui If you need HTML5 canvas-style drawing: I propose building an (abstract) SVG document and render with Skia. When part of the SVG document changes, that part will be redrawn…
comment by vortico · 2019-04-25 · in Cross-Platform GUI Toolkit Trainwreck (2016) -
…before. I'm hopeful for libui in the future, but maybe I should consider immediate mode libraries? https://github.com/andlabs/libui
comment by plopz · 2019-04-24 · in An Introduction to C and GUI Programming -
How stable is it? The readme says it's at Alpha 4.1 https://github.com/andlabs/libui
comment by kristianp · 2019-04-11 · in Measuring the overhead of WebAssembly using libsodium -
An alternative is this: https://github.com/andlabs/libui There are Go bindings here: https://github.com/andlabs/ui
comment by api · 2019-02-13 · in Create Desktop Apps with HTML5 and Go -
…of a project I heard of a while ago: https://github.com/parro-it/libui-node . It's built on top of https://github.com/andlabs/libui , "a portable GUI library for C" and it powers a truly native React Native for desktop:…
comment by roboguy12 · 2019-01-25 · in Revery – Native, high-performance, cross-platform desktop apps -
There is also libui: https://github.com/andlabs/libui
comment by zokier · 2018-12-13 · in Fbs: Create Linux GUIs with Qt in minutes -
Here is a promising cross platform library: https://github.com/andlabs/libui They made some good decisions like using real native controls and writing it in c to allow bindings to many languages, including 3 for rust. The biggest catch for…
comment by flukus · 2018-09-19 · in Falling in love with Rust -
…, albeit missing several needed widgets (but work is active there and the base C lib at https://github.com/andlabs/libui ). Granted uses Cgo but that should not be a deal breaker for interfacing w/ the native OS libs.
comment by kodablah · 2018-09-07 · in On the Road to Pure Go X11 GUIs -
It is being actively worked on, though: https://github.com/andlabs/libui/issues/310
comment by buovjaga · 2018-05-30 · in Show HN: Vuido builds desktop apps using Vue.js without Electron -
…GUI libraries. People that know C should be able to read and understand the interface file at: https://github.com/andlabs/libui/blob/master/ui.h The function / variable names are informative enough. There are examples which should get you…
comment by deorder · 2018-05-20 · in Libui: a portable GUI library for C -
One of the funniest commit messages I've ever seen: https://github.com/andlabs/libui/commit/422ec83162de7b9689b7...
comment by jxub · 2018-05-20 · in Libui: a portable GUI library for C -
…become a binding to libui. > As such, package ui is the only official binding. From the README — https://github.com/andlabs/libui#language-bindings
comment by guessmyname · 2018-05-20 · in Libui: a portable GUI library for C -
…consider a well written code a documentation, and it doesnt get outdated ;) Have you checked this: https://github.com/andlabs/libui/blob/master/examples/contro... ?
comment by _o_ · 2018-05-20 · in Libui: a portable GUI library for C -
…*>; g->indexof = new std::map<uiControl *, size_t>; At least needless level of indirection ... https://github.com/andlabs/libui/blob/master/windows/grid.cp...
comment by c-smile · 2018-05-20 · in Libui: a portable GUI library for C -
…when you're worried about out circumstances most devs wouldn't have to deal with or care about. [0] https://github.com/andlabs/libui/blob/master/unix/main.c#L11
comment by noobermin · 2018-05-20 · in Libui: a portable GUI library for C -
The entire API is 1100 lines. https://github.com/andlabs/libui/blob/master/ui.h You don't need a separate documentation for that. In fact, most functions have sufficient docstrings if their names don't fully describe their function. Your…
comment by vortico · 2018-05-20 · in Libui: a portable GUI library for C -
…"control.c") and very few introductory comments. The opposite of "literate programming". [1] https://github.com/andlabs/libui/blob/master/doc/main [2] https://github.com/andlabs/libui/tree/master/common
comment by fernly · 2018-05-20 · in Libui: a portable GUI library for C -
…for instance). The library that Vuido runs on, libui, has bindings to all kinds of languages: https://github.com/andlabs/libui#language-bindings
comment by zengid · 2018-05-19 · in Show HN: Vuido builds desktop apps using Vue.js without Electron -
…up contributing to a single library. (PS: libui has bindings to other languages as well [3]!) [1] https://github.com/andlabs/libui [2] https://github.com/parro-it/libui-node [3] https://github.com/andlabs/libui#language-bindings
comment by zengid · 2018-05-19 · in Show HN: Vuido builds desktop apps using Vue.js without Electron -
Here's a link to the libui library that Vuido is based upon: https://github.com/andlabs/libui Both libui and Vuido are works in progress but seemed quite promising and are being actively developed.
comment by rmason · 2018-05-19 · in Show HN: Vuido builds desktop apps using Vue.js without Electron -
…Both are based on libui. Proton discussion: https://news.ycombinator.com/item?id=16978901 libui: https://github.com/andlabs/libui
comment by droidist2 · 2018-05-19 · in Show HN: Vuido builds desktop apps using Vue.js without Electron -
libui[0] is C library that aims to provide this. It have many (WIP) language bindings. [0] https://github.com/andlabs/libui
comment by mhasbini · 2018-05-04 · in Ask HN: Is a React Native like approach to desktop apps better than Electron? -
I was actually thinking of the table view: https://github.com/andlabs/libui/issues/310 . Doesn't seem to be done yet and is critical for a lot applications.
comment by flukus · 2018-05-03 · in Proton Native – React Native for the desktop -
…runs on libui-node, which is a binding to the libui library. https://github.com/parro-it/libui-node https://github.com/andlabs/libui
comment by zengid · 2018-05-02 · in Proton Native – React Native for the desktop -
…and ecosystem. Performance and memory use problems can be fixed. I have been watching this project: https://github.com/andlabs/libui It's a genuinely lightweight wrapper that looks really promising. Trouble is everyone I show it to says…
comment by api · 2018-05-02 · in I've spent the last two years building a new email client -
…with something like wxWidgets or libui [0], which already use each platform's native widgets. [0] https://github.com/andlabs/libui
comment by mwcampbell · 2018-04-24 · in Qt for WebAssembly Technology Preview -
…which has numerous language bindings, but seems to be in long term flux in terms of scope. [0]: https://github.com/andlabs/libui
comment by frou_dh · 2018-04-09 · in Show HN: Wey – A fast, open-source Slack desktop app -
…with WPF but it's C# only). Right now the closest attempt to something like this that I know of is https://github.com/andlabs/libui I think libui could even be a starting point for such a library, but the library I'm thinking of would need…
comment by actf · 2018-03-18 · in Building a fast Electron app with Rust -
For lazy folks, this uses libui underhood to render to native components via a React API. [1]: https://github.com/andlabs/libui
comment by thangngoc89 · 2018-02-15 · in A React environment for cross platform native desktop apps -
LibUI ( https://github.com/andlabs/libui ) is another promising one with plenty of bindings. A portable wrapper around native widgets, just needs the table API to be completed.
comment by flukus · 2018-02-07 · in LCUI – A small C library for building user interfaces with XML and CSS -
Golang led me to this popular lightweight C library: https://github.com/andlabs/libui
comment by j_s · 2017-11-03 · in Electron.Net: Build cross platform desktop apps using .NET core and ASP.NET core -
libui looks amazing but it's not quite ready yet https://github.com/andlabs/libui
comment by lukechilds · 2017-07-26 · in “We will stop updating and distributing the Flash Player at the end of 2020” -
…simpler ones. [0] https://github.com/wxWidgets/wxWidgets [1] https://github.com/vurtun/nuklear [2] https://github.com/andlabs/libui
comment by jakobdabo · 2017-03-24 · in Cross-platform GUI Toolkit Trainwreck, 2016 Edition -
A project I've been keeping my eye on is libui ( https://github.com/andlabs/libui ), it's basically a thin wrapper around the native libraries (very SWT like) that can be used in a number of languages.
comment by flukus · 2017-03-23 · in VS Code uses 13% CPU when idle due to blinking cursor rendering -
> GTK is a painfull to install. Also no longer cross platform. LibUI ( https://github.com/andlabs/libui ) looks promising but I don't think the rust bindings are being worked on.
comment by flukus · 2017-02-07 · in Rust's 2017 Roadmap