本文へスキップ
Kitbay
スキル

ink-tui

MIT2026年11月11日 更新40,319GitHubスター

A skill kept in Novu's repository, credited in its metadata to PostHog, for building terminal interfaces with Ink, which renders React in the command line, and the @inkjs/ui components, mainly for setup wizards and multi-step installers in Node.js and TypeScript.

スキルの内容

A skill kept in Novu's repository, credited in its metadata to PostHog, for building terminal interfaces with Ink, which renders React in the command line, and the @inkjs/ui components, mainly for setup wizards and multi-step installers in Node.js and TypeScript. The screen shown is derived from session state: business logic writes to a store, a router picks the active screen from declared flow steps and their completion checks, and overlays handle interruptions such as errors. It explains adding screens and state, Ink's flexbox layout and how browser habits map to the terminal, and how to degrade in small terminals, piped input, CI logging mode and dark themes. Six reference files hold the details.

できること

  • Build terminal setup wizards with Ink
  • Route screens from session state
  • Lay out terminal UIs with flexbox
  • Fall back gracefully in CI and piped input