Skip to content
Kitbay
Skill

ink-tui

MITUpdated on Nov 11, 202640,319GitHub stars

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.

What the skill teaches

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.

Capabilities

  • 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