gtkx

Installation
SKILL.md

GTKX Skill

GTKX renders React components as native GTK4 widgets on Linux: @gtkx/react@gtkx/ffi@gtkx/native → GTK4/GLib.

Project Setup

npx @gtkx/cli@latest create my-app
# Runs: npm run dev | npm run build | npm test (vitest + Xvfb)

Generates src/app.tsx, src/dev.tsx (HMR), src/index.tsx. Entry calls render(<App />, pkg.gtkx.appId). See getting-started.

Essential Patterns

Controlled Input

Widgets require explicit two-way binding — not React state alone:

Related skills
Installs
2
Repository
knoopx/pi
GitHub Stars
47
First Seen
Apr 18, 2026