qmetrics.net

Node Pty

Pseudoterminal bindings for Node.js processes

TerminalsDesktop/CLI app

Node bindings around forkpty-style APIs so programs can spawn shells in pseudoterminals and read or write the session like a real terminal.

Overview

Node Pty provides forkpty-class bindings for Node.js. When you spawn a process through it, you get a terminal object with pseudoterminal file descriptors, which supports reads and writes as if the child had a TTY attached.

That behavior helps when software only emits control sequences or color output when it believes it is running in a terminal. The library is used as a building block inside terminal emulators and similar tools; the source names NxShell as one consumer on Windows, Linux, and macOS.

Platform support explicitly includes Linux, macOS, and Windows. On Windows, later builds rely on the conpty API instead of the removed winpty path, and Windows 10 build 18309 or newer is required.

Optional automatic flow control can pause and resume the pseudoterminal using configurable control characters, defaulting to XON and XOFF. Documentation in the source also warns that spawned processes inherit the parent’s permission level and that the module is not thread-safe across Node worker threads.

Key features

  • Fork processes with pseudoterminal FDs
  • Read and write terminal sessions
  • Linux, macOS, and Windows support
  • Windows conpty integration
  • Optional XON/XOFF flow control
  • Customizable flow control messages
  • TypeScript declaration file for API

Use cases

  • Embedded terminals in desktop or web IDEs
  • Running TTY-only CLI tools from Node
  • Terminal emulator backends
  • Programs that need interactive shell I/O

Tags

Similar software

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Gemini CLI

Terminal AI agent for enterprise Gemini Code Assist

Gemini CLI is an open-source command-line agent for querying and editing codebases, running shell workflows, and connecting MCP tools under Gemini Code Assist on Google Cloud.

★ 109.2k⟳ 2 days agoApache-2.0
AI Assisted CodingDesktop/CLI app

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

★ 105.5k⟳ 2 days agoMIT
TerminalsDesktop/CLI app

fzf

General-purpose command-line fuzzy finder

Fzf filters lists interactively in the terminal using fuzzy matching. It ships as a single binary with shell and editor integrations.

★ 84.5k⟳ 3 days agoMIT
TerminalsDesktop/CLI app

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Tabby

Configurable cross-platform terminal with SSH and serial

Tabby is a terminal emulator for local shells, SSH, Telnet, and serial links on Windows, macOS, and Linux. It adds splits, tabs, themes, and integrated connection management.

★ 75.6k⟳ 4 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius