Understand the GTKX architecture and core features
mainGTKX is a React-based framework for building Linux applications using the GNOME stack (GTK4 and libadwaita). It provides a declarative layer over the imperative GObject/GTK system.
Key features include:
- React Reconciler: Exposes the GNOME object graph as JSX elements.
- Development Tooling: A CLI for scaffolding and builds, and a dev server with Fast Refresh for live UI patching.
- Styling & Animation: CSS-in-JS styling and React Spring animations.
- Navigation: Built-in navigators for stacks, tabs, drawers, and split views.
- UI Components: High-level list/grid components and mount-based dialogs.
- Testing: A Testing Library-style API for querying and driving widgets.
- AI Integration: A Model Context Protocol (MCP) server to expose live apps to AI agents.