Zum Inhalt springen
Kitbay
Skill

ink-tui

MITAktualisiert am 11. Nov. 202640.319GitHub-Sterne

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.

Was der Skill vermittelt

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.

Funktionen

  • 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