GTKX is a React-based framework that renders native GTK and Adwaita widgets on Linux, letting developers build desktop apps with TypeScript and familiar React patterns. It maps React state and events to native UI, uses Node.js for filesystem and networking, and accepts npm packages that don't rely on a browser DOM. The tooling generates @gtkx/jsx elements and @gtkx/gi bindings from configured native libraries, and a small example shows apps composed with AdwApplication, AdwHeaderBar and GtkLabel and started with createRoot().render(), demonstrating a direct React-to-native rendering model.
The codebase targets Linux with Node.js >= 26.7, GTK 4.20+, libadwaita 1.8+, and native development libraries; a native addon ships prebuilt for x64 and arm64 glibc while other targets require building via Rust. A CLI scaffolds apps (npm create gtkx@beta my-app), and documentation includes a step‑by‑step tutorial for a Tasks app, guides on forms, navigation, animation, testing and deployment, API reference generated per app, and example apps. GTKX 2.0 is in beta with a planned stable release in December 2026; current stable users should follow the 1.x docs. The project is licensed MPL-2.0, provides contributing and security guidelines, solicits funding via Open Collective, and shows community interest with several hundred stars and multiple forks.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.