Repository navigation
Releases
v0.1.4
Builds on macOS with Apple's libc++, plus layout and stability fixes.
Same API as 0.1.3.
Fixes
- The public headers no longer use the floating-point
std::from_chars,
which Apple's libc++ does not provide: including<rtxui/rtxui.hpp>
failed to compile there, as in the xmake package on macOS. - Whitespace in templates follows CSS: a line break between text and an
element is a space (A,then<s>B</s>on the next line reads "A, B",
not "A,B"), runs of spaces collapse to one underwhite-space: normal,
and spaces at the start and end of a line are dropped. - A component destroyed while one of its children still ran a timer (an
open<toast>, say) no longer has the child write to it afterwards, which
could crash. - Resizing the terminal no longer flashes a blank screen: the clear now
happens inside the synchronized update.
Examples
elements: every built-in element, one page each, next to the HTML that
draws it.
Packages
| File | What it holds |
|---|---|
rtxui-0.1.4-linux-x64.tar.gz |
Debug and Release static libraries, headers, CMake package, pkg-config file |
rtxui-0.1.4-linux-arm64.tar.gz |
The same, for arm64 |
rtxui-0.1.4-macos-universal.tar.gz |
The same, for arm64 and x86_64 |
rtxui-0.1.4-windows-x64.zip |
The same, built with MSVC (/MD runtime; rtxuid.lib for Debug) |
rtxui-0.1.4-windows-arm64.zip |
The same, for arm64 |
rtxui-0.1.4-windows-x64-mingw.zip |
The same, built with MinGW-w64 GCC, UCRT, as MSYS2's UCRT64 |
librtxui-dev_0.1.4_amd64.deb, librtxui-dev_0.1.4_arm64.deb |
Release library for Debian and Ubuntu |
rtxui-devel-0.1.4-1.x86_64.rpm, rtxui-devel-0.1.4-1.aarch64.rpm |
Release library for Fedora and other RPM distributions |
rtxui-0.1.4.tar.gz |
The source, as committed |
Before publishing, the release installs each .deb on Ubuntu 24.04 and each
.rpm on Fedora, and builds an app against each archive with
find_package(rtxui), in Debug and in Release.
A prebuilt static C++ library links with a compatible compiler and standard
library: GCC or Clang with libstdc++ on Linux, Apple Clang on macOS, MSVC or
MinGW (UCRT) on Windows, each with its own archive. Otherwise, build from
source with FetchContent, as described in
Getting started.
v0.1.3
Builds with GCC 13, and goes to the package registries. Same API and ABI as
0.1.2.
Fixes
- RTXUI now configures and builds with GCC 13, Ubuntu 24.04's default
compiler. CMake used to stop at configure time: the probe for C++26
reflection asked for a C++ dialect GCC 13 does not have. GCC 13 is now
tested in CI. - On Windows, the DLL build (
BUILD_SHARED_LIBS=ON) and the Bazel build
are now tested in CI. Their only failures were in RTXUI's own tests,
now fixed: withBUILD_SHARED_LIBS=ON, the test binary could not find
Catch2's DLL, and under Bazel it could not find its data files.
Package registries
From this release on, each release is handed to package registries by
.github/workflows/publish.yml:
- xmake-repo: a pull request per release.
- Bazel Central Registry: through publish-to-bcr.
- Homebrew:
brew install arthursonzogni/tap/rtxui, from
ArthurSonzogni/homebrew-tap. - AUR:
rtxui, updated on
each release. - conda-forge and nixpkgs: submitted with this release, then kept up
to date by their bots.
Each takes effect once the registry's maintainers merge it.
Packages
| File | What it holds |
|---|---|
rtxui-0.1.3-linux-x64.tar.gz |
Debug and Release static libraries, headers, CMake package, pkg-config file |
rtxui-0.1.3-linux-arm64.tar.gz |
The same, for arm64 |
rtxui-0.1.3-macos-universal.tar.gz |
The same, for arm64 and x86_64 |
rtxui-0.1.3-windows-x64.zip |
The same, built with MSVC (/MD runtime; rtxuid.lib for Debug) |
rtxui-0.1.3-windows-arm64.zip |
The same, for arm64 |
rtxui-0.1.3-windows-x64-mingw.zip |
The same, built with MinGW-w64 GCC, UCRT, as MSYS2's UCRT64 |
librtxui-dev_0.1.3_amd64.deb, librtxui-dev_0.1.3_arm64.deb |
Release library for Debian and Ubuntu |
rtxui-devel-0.1.3-1.x86_64.rpm, rtxui-devel-0.1.3-1.aarch64.rpm |
Release library for Fedora and other RPM distributions |
rtxui-0.1.3.tar.gz |
The source, as committed |
Before publishing, the release installs each .deb on Ubuntu 24.04 and each
.rpm on Fedora, and builds an app against each archive with
find_package(rtxui), in Debug and in Release.
A prebuilt static C++ library links with a compatible compiler and standard
library: GCC or Clang with libstdc++ on Linux, Apple Clang on macOS, MSVC or
MinGW (UCRT) on Windows, each with its own archive. Otherwise, build from
source with FetchContent, as described in
Getting started.
v0.1.2
Windows console fixes, and packages for more platforms. Same API and ABI as
0.1.1.
Fixes
All found by hand in a Windows 11 VM, in conhost, Windows Terminal, WezTerm,
Alacritty, mintty and VS Code:
- The Windows console (conhost) now shows every row of an inline frame. It
used to show only the first one and push the others past the right edge. - Apps no longer print
←[?2004hwhen they start and←[?2004lwhen they
quit in the Windows console. Bracketed paste is now turned on and off
together with the raw mode. - Pressing Shift, Ctrl or Alt on its own in conhost no longer freezes the
app, its animations and timers until the next key. - conhost draws with a single font, and Consolas lacks glyphs RTXUI uses
(border: tall, rounded corners). The screen now asks the font which
glyphs it has and replaces each missing one with the closest it has.
RTXUI_GLYPHS=fullturns this off,RTXUI_GLYPHS=basicforces it.
Windows Terminal and other pseudoconsole hosts fall back to other fonts
and are left alone.
The input of these six Windows terminals is now recorded and replayed by the
unit tests, like the Linux ones.
Packages
| File | What it holds |
|---|---|
rtxui-0.1.2-linux-x64.tar.gz |
Debug and Release static libraries, headers, CMake package, pkg-config file |
rtxui-0.1.2-linux-arm64.tar.gz |
The same, for arm64 (new) |
rtxui-0.1.2-macos-universal.tar.gz |
The same, for arm64 and x86_64 |
rtxui-0.1.2-windows-x64.zip |
The same, built with MSVC (/MD runtime; rtxuid.lib for Debug) |
rtxui-0.1.2-windows-arm64.zip |
The same, for arm64 (new) |
rtxui-0.1.2-windows-x64-mingw.zip |
The same, built with MinGW-w64 GCC, UCRT, as MSYS2's UCRT64 (new) |
librtxui-dev_0.1.2_amd64.deb, librtxui-dev_0.1.2_arm64.deb |
Release library for Debian and Ubuntu |
rtxui-devel-0.1.2-1.x86_64.rpm, rtxui-devel-0.1.2-1.aarch64.rpm |
Release library for Fedora and other RPM distributions |
rtxui-0.1.2.tar.gz |
The source, as committed |
Before publishing, the release installs each .deb on Ubuntu 24.04 and each
.rpm on Fedora, and builds an app against each archive with
find_package(rtxui), in Debug and in Release.
A prebuilt static C++ library links with a compatible compiler and standard
library: GCC or Clang with libstdc++ on Linux, Apple Clang on macOS, MSVC or
MinGW (UCRT) on Windows, each with its own archive. Otherwise, build from
source with FetchContent, as described in
Getting started.
v0.1.1
Packaging fixes for 0.1.0. The library itself is unchanged: same API, same
ABI.
Packages
Built with CPack from the project's install rules, each named after the
version:
| File | What it holds |
|---|---|
rtxui-0.1.1-linux-x64.tar.gz |
Debug and Release static libraries, headers, CMake package, pkg-config file |
rtxui-0.1.1-macos-universal.tar.gz |
The same, for arm64 and x86_64 |
rtxui-0.1.1-windows-x64.zip |
The same, built with MSVC (/MD runtime; rtxuid.lib for Debug) |
librtxui-dev_0.1.1_amd64.deb |
Release library for Debian and Ubuntu |
rtxui-devel-0.1.1-1.x86_64.rpm |
Release library for Fedora and other RPM distributions |
rtxui-0.1.1.tar.gz |
The source, as committed |
Before publishing, the release installs the .deb on Ubuntu 24.04 and the .rpm
on Fedora, and builds an app against each with find_package(rtxui) and with
pkg-config.
Fixes
- Every package now carries the MIT
LICENSE(inshare/doc/rtxui/), and so
doescmake --install. rtxui.pcfinds its prefix from its own location: 0.1.0's named the build
machine's/usr/local, so pkg-config pointed elsewhere once the archive was
unpacked.- There is now a Windows package.
A prebuilt static C++ library links with a compatible compiler and standard
library: GCC or Clang with libstdc++ on Linux, Apple Clang on macOS, MSVC on
Windows. Otherwise, build from source with FetchContent, as described in
Getting started.
v0.1.0
The first release of RTXUI: a C++23 terminal UI library that runs a
browser-style pipeline. Write the interface in HTML, style it with CSS, bind
it to plain C++ members, and the screen follows when they change.
What it does
- Layout: flexbox, grid (
minmax(),repeat(auto-fill), named lines and
areas), positioning withsticky, scroll containers,@mediaqueries,
calc()and custom properties, tables withcolspan/rowspan. - Motion: transitions on colors, sizes, opacity and
translate, and
@keyframesanimations. - Interaction: mouse hover, click, drag and wheel; Tab order and arrow-key
spatial navigation; text selection and copy; OSC 8 hyperlinks. - Built-in elements:
<input>,<textarea>,<select>,<checkbox>,
<radio>,<slider>,<progress>,<tabs>,<details>,<dialog>,
<toast>,<tooltip>,<markdown>, and virtual lists of any length. - C++:
Bind()members, methods and collections;<if>,<for>, slots
and props for your own components;PostTask()from timers and threads;
optional C++26 reflection for struct fields. - Development: hot reload of templates and styles, diagnostics with line
and column,RTXUI_STRICT=1to abort on any of them, and headless rendering
for tests.
Where it runs
Linux (GCC 14+, Clang 18+), macOS (AppleClang), Windows (MSVC, clang-cl,
MinGW-w64) and the browser (Emscripten). It needs C++23 and depends on nothing
beyond the standard library.
Getting it
include(FetchContent)
FetchContent_Declare(rtxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/RTXUI.git
GIT_TAG v0.1.0)
FetchContent_MakeAvailable(rtxui)
target_link_libraries(my_app PRIVATE rtxui)find_package(rtxui) and pkg-config rtxui work after cmake --install, and
the repository is a Bazel module (@rtxui). Attached: the source tarball,
prebuilt Linux x64 and macOS universal packages, and their SHA256SUMS.
Compatibility
This is a 0.x release: 0.2 may change the API and the ABI, and its notes will
say what to write instead. Patch releases keep both. See
Compatibility.
Documentation and 66 live examples:
https://arthursonzogni.github.io/RTXUI/