https://github.com/maaarcocr/attyvo
https://github.com/maaarcocr/attyvo
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maaarcocr/attyvo
- Owner: Maaarcocr
- License: mit
- Created: 2025-07-14T19:20:05.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-14T19:28:03.000Z (11 months ago)
- Last Synced: 2025-07-14T23:52:58.573Z (11 months ago)
- Language: Rust
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# attyvo
A tool that enables non-interactive programs to interact with interactive CLIs by providing a pseudo-terminal (PTY) interface.
## Overview
attyvo acts as a bridge between programs that expect terminal input/output and non-interactive environments. This is particularly useful for AI coding assistants like Claude Code, which need to interact with interactive command-line tools programmatically.
## Installation
```bash
cargo install attyvo
```
## Features
- Creates pseudo-terminals for interactive CLI programs
- Manages multiple daemon processes
- Handles bidirectional communication between non-interactive callers and interactive programs
- Supports process lifecycle management (start, stop, kill-all)
## Use Cases
- Enabling AI tools to interact with interactive CLIs (e.g., database shells, REPLs)
- Automating interactive command-line workflows
- Testing interactive CLI applications
## Commands
- `start` - Start a new daemon process
- `stop` - Stop a running daemon
- `kill-all` - Terminate all running daemons
- `list` - List all running daemons
- `send` - Send input to a daemon
- `read` - Read output from a daemon
## Why attyvo?
Many command-line tools detect whether they're running in a terminal and change their behavior accordingly. Without a proper PTY, these tools may refuse to run interactively or provide limited functionality. attyvo solves this by providing a real PTY interface, making it possible for automated tools and AI assistants to interact with any CLI program as if a human were typing at a terminal.