{"repo":"mkusaka/it2","free":true,"listed":false,"github":"https://github.com/mkusaka/it2","clone":"git clone https://github.com/mkusaka/it2.git","description":"🖥️ A powerful command-line interface for controlling iTerm2 using its Python API - Send commands, manage sessions/windows/tabs, monitor output, and more!","language":"Python","stars":285,"topics":["automation","cli","iterm2","macos","python","terminal"],"license":"GPL-2.0","category":"cli-tools","readme_excerpt":"it2 A powerful command-line interface for controlling iTerm2 using its Python API. Features - Session Management : Send text, execute commands, split panes, manage sessions - Window Control : Create, move, resize, and manage windows - Tab Operations : Create and navigate between tabs - Profile Management : List, show, and apply iTerm2 profiles - Broadcasting : Send input to multiple sessions simultaneously - Monitoring : Watch session output, keystrokes, and variables in real-time - Configuration : Define custom profiles and aliases in YAML - Shortcuts : Quick access to common commands Requirements - macOS with iTerm2 3.3.0 or later - Python 3.10+ - iTerm2 Python API enabled (Preferences General Magic Enable Python API) Installation Using pip Using uv (recommended) Quick Start Basic Usage Session Operations Window Operations Tab Operations Profile Operations Application Control Monitoring Configuration Create /.it2rc.yaml to define custom profiles and aliases: Use configurations: Advanced Examples Development Environment Setup Multi-Server Management Automated Deployment Create a deployment script: Environment Variables - IT2 DEFAULT PROFILE : Default profile name - IT2 CONFIG PATH : Path to configuration file (default: /.it2rc.yaml ) - IT2 TIMEOUT : Command timeout in seconds Error Codes - 0 : Success - 1 : General error - 2 : Connection error (iTerm2 not running or API not enabled) - 3 : Target not found (session/window/tab not found) - 4 : Invalid arguments Development Set","default_branch":null,"files":null,"tree":[],"storefront":"/r/mkusaka","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mkusaka/it2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}