qmetrics.net

Ink

React renderer for interactive terminal user interfaces

Ink screenshot

Lets developers build command-line apps with React components and Flexbox-style layouts rendered in the terminal.

Overview

Ink brings React’s component model to interactive command-line programs. Because Ink acts as a React renderer, familiar React patterns and hooks apply while output is drawn in the terminal instead of a browser.

Layout uses the Yoga engine, so most CSS-like Flexbox properties are available on terminal elements. Built-in Text and Box components handle styling, wrapping, borders, padding, and focus-related behavior; additional hooks cover input, paste, window size, and cursor control.

Projects scaffold with create-ink-app or manual Babel setup for JSX. An Ink process stays alive while the event loop has work such as timers, promises, or stdin listeners, and exits via Ctrl+C, an explicit exit call, or unmount. Testing and React DevTools integration are documented for CLI output.

The materials list many downstream CLIs from vendors and open-source teams that adopt Ink for rich terminal experiences beyond simple menus.

Key features

  • React component model for CLIs
  • Yoga-based Flexbox terminal layout
  • Styled Text and Box components
  • Keyboard and paste input hooks
  • Window size and focus management
  • create-ink-app project scaffolding
  • React DevTools support
  • Scrollable views with overflow offsets

Use cases

  • Interactive installer or wizard CLIs
  • Live-updating terminal dashboards
  • Terminal games and utilities
  • Rich prompts beyond line printers

Tags

Similar software

Spaceship Prompt

Customizable Zsh shell prompt for daily terminal work

Spaceship is a Zsh prompt theme that shows context at the command line. It can surface git status, language runtimes, containers, and other session details you configure.

  • Git and Mercurial repository status
  • Multi-language runtime version segments
  • Docker and Kubernetes context display
ShellmacOSDetails →
★ 20.6k⟳ 9 days agoMIT

Powerline

Python statuslines and shell prompts for editors and terminals

Powerline renders statuslines for Vim and prompts for bash, zsh, fish, tmux, IPython, and several window managers. Configuration uses JSON files under a user config directory.

  • Vim statusline with mode highlighting
  • Shell prompts for bash, zsh, and fish
  • tmux statusline integration
PythonLinux, CLIDetails →
★ 14.9k⟳ 8 months agoMIT

Pure prompt

Minimal fast prompt theme for Zsh

Pure is a Zsh prompt that shows path, git status, and timing with little visual noise. It installs via npm, Homebrew, or manual fpath setup.

  • Async git ahead behind checks
  • Dirty branch indicator
  • Command runtime display
ShellmacOSDetails →
★ 14.5k⟳ 1 month agoMIT

PTerm

Go library for styled terminal output

PTerm is a Go module for building readable command-line interfaces with tables, charts, progress bars, spinners, and interactive prompts.

  • Composable printer components
  • Progress bars and spinners
  • Tables, trees, and charts
GomacOS, WindowsDetails →
★ 5.6k⟳ 1 month agoMIT

Fzf Tab

fzf-powered completion UI for Zsh

fzf-tab replaces Zsh's default completion menu with an fzf picker while still using the standard completion system's candidates.

  • fzf UI for Zsh completions
  • Works with native Zsh compsys
  • Multi-select and group switching
ShellDetails →
★ 5k⟳ 6 months agoMIT

Zsh Vi Mode

Vi-style command-line editing plugin for Zsh

Zsh Vi Mode is a Zsh-only plugin that swaps the shell's built-in vi mode for Vim-like behavior. Install it via popular plugin managers if you want normal, insert, and visual editing in the terminal

  • Pure Zsh implementation without extra dependencies
  • Normal, insert, and visual modes with cursor styles
  • Vim-like movement, text objects, and surrounds
ShellLinux, macOS, WindowsDetails →
★ 4.5k⟳ todayMIT