awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
nelhage avatar

nelhage/reptyr

0
View on GitHub↗
6,285 stars·230 forks·C·MIT·3 views

Reptyr

Reptyr is a system utility designed for reparenting running programs, managing pseudo-terminals, and controlling standard input and output assignments. It functions as a low-level Unix process controller that updates controlling terminal assignments and redirects input and output for active processes.

The tool allows for moving a running program from one terminal session to another without interrupting its execution. It also provides utilities for generating pseudo-terminal pairs and redirecting file descriptors to capture or proxy terminal sessions.

The project covers broader process management capabilities, including remote session recovery after a terminal disconnect and the ability to capture the master end of a pseudo-terminal to attach all processes on a specific terminal.

Features

  • Interactive Process Redirection - Redirects file descriptors and controlling terminal assignments of active processes to different terminal windows.
  • Process Reparenting - Attaches running programs to new terminals by redirecting file descriptors to maintain continuous execution.
  • Controlling Terminal Assignments - Implements system call-level updates to process group leaders to restore interactive input from a new terminal.
  • File Descriptor Redirection - Provides the ability to redirect process input and output by replacing existing file descriptors with new terminal device handles.
  • Process Reparenting Utilities - Provides a utility for moving running programs from one terminal session to another without interruption.
  • Process Session Migrations - Changes the session identity of target processes to integrate them into new foreground terminal sessions.
  • PTY Interfaces - Generates pseudo-terminal pairs and redirects file descriptors to capture or proxy terminal sessions.
  • Pseudo-Terminal Interfaces - Creates and manages pseudo-terminal pairs to redirect process I/O for debugging or proxying.
  • Unix Process Management - Functions as a low-level Unix tool to update controlling terminal assignments and redirect standard I/O.
  • Process Terminal Migrations - Moves running programs between terminal sessions without stopping their execution.
  • Ptrace-Based Attachments - Uses ptrace-based system call interception to seize control of running processes and modify their internal state.
  • Interactive Session Recovery - Rescues running processes after terminal disconnects or crashes by attaching them to new active sessions.
  • Terminal Session Capturing - Captures the master end of a pseudo-terminal to attach all processes residing on a specific terminal.
  • PTY Proxies - Generates pseudo-terminal pairs and proxies the master end to the current session for child processes.
  • TTY Attribute Synchronizations - Synchronizes terminal attributes and mode configurations from a new shell to a reparented process.

Star history

Star history chart for nelhage/reptyrStar history chart for nelhage/reptyr

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does nelhage/reptyr do?

Reptyr is a system utility designed for reparenting running programs, managing pseudo-terminals, and controlling standard input and output assignments. It functions as a low-level Unix process controller that updates controlling terminal assignments and redirects input and output for active processes.

What are the main features of nelhage/reptyr?

The main features of nelhage/reptyr are: Interactive Process Redirection, Process Reparenting, Controlling Terminal Assignments, File Descriptor Redirection, Process Reparenting Utilities, Process Session Migrations, PTY Interfaces, Pseudo-Terminal Interfaces.

What are some open-source alternatives to nelhage/reptyr?

Open-source alternatives to nelhage/reptyr include: darthsim/overmind — Overmind is a process manager for starting and monitoring multiple background processes defined in a Procfile. It… mskyaxl/wsl-terminal — This project provides a graphical terminal emulator designed specifically for the Windows Subsystem for Linux. It… denysdovhan/bash-handbook. chjj/tty.js — tty.js is a web-based terminal emulator and Node.js socket terminal that provides a remote shell web interface. It… supervisor/supervisor — Supervisor is a process control system for Unix environments that ensures background processes remain running by… tsl0922/ttyd — ttyd is a web-based terminal emulator that shares a command-line shell over a web connection. It serves as a remote…

Open-source alternatives to Reptyr

Similar open-source projects, ranked by how many features they share with Reptyr.
  • darthsim/overmindDarthSim avatar

    DarthSim/overmind

    3,687View on GitHub↗

    Overmind is a process manager for starting and monitoring multiple background processes defined in a Procfile. It functions as an interactive process controller that allows users to attach terminals to running processes for direct input and control. The project differentiates itself through its integration with a terminal multiplexer to organize process outputs into separate windows and its ability to act as a remote process manager via a network-capable controller. It supports a daemonized execution mode to maintain process execution in the background while providing separate interfaces for

    Goprocfile
    View on GitHub↗3,687
  • denysdovhan/bash-handbookdenysdovhan avatar

    denysdovhan/bash-handbook

    6,102View on GitHub↗
    JavaScriptbashbookguide
    View on GitHub↗6,102
  • chjj/tty.jschjj avatar

    chjj/tty.js

    4,219View on GitHub↗

    tty.js is a web-based terminal emulator and Node.js socket terminal that provides a remote shell web interface. It acts as a browser-based gateway for executing system commands and streaming command-line input and output via network sockets. The project enables persistent shell sessions, allowing active terminal processes to remain available across browser refreshes and disconnections. It includes authentication middleware and encryption to provide secure remote shell access and restrict system control to authorized users. The system covers terminal emulation with support for colors and mous

    JavaScript
    View on GitHub↗4,219
  • mskyaxl/wsl-terminalmskyaxl avatar

    mskyaxl/wsl-terminal

    3,127View on GitHub↗

    This project provides a graphical terminal emulator designed specifically for the Windows Subsystem for Linux. It functions as a bridge between the Windows host operating system and Linux environments, enabling users to run shell sessions with support for custom configurations, visual themes, and flexible window layouts. The emulator distinguishes itself through deep system integration, allowing users to launch terminal sessions directly from the Windows File Explorer context menu or via system-wide keyboard shortcuts. It facilitates a unified development workflow by enabling the execution of

    Shellminttyterminal-emulatorwindows-subsystem-linux
    View on GitHub↗3,127
See all 23 alternatives to Reptyr→