This document is still very preliminary. It is likely to be incomplete and/or incorrect and is very likely to change.
liblx is an API to The X Window System, implementing the client side of the protocol spoken between clients and servers. It sits in the software stack at the same place as Xlib and xcb. (If you want you could think of it as a competitor to them. I prefer to think of them as complementary alternatives rather than competitors; their ideal use cases are different.)
At this writing, 2025-11-13, the only machines I know it works on are my own. Its native home is NetBSD, but I expect it to be an easy-to-trivial port to make it work anywhere libaio and possibly libavl work. (libavl only if the application uses block function orders; see the libaio documentation. liblx itself does not need it.)
I've written some example programs.
I've got more. These ones, though, I haven't gone through and commented, so they are drastically under-documented. As I get them commented, I'll move them to the list above.
I have not yet even started writing a full manpage (or manpages). At the moment, documentation takes two forms:
My primary distribution mechanism is a world-clonable git repo: git://git.rodents-montreal.org/liblx is the thing to clone. There's also the unpacked view of the git repo; see here.
Almost all these pages—all, I think—are 100% hand-coded.