parallels

Crates.ioparallels
lib.rsparallels
version0.0.1
created_at2026-01-15 03:53:04.308148+00
updated_at2026-01-15 03:53:04.308148+00
descriptionA TUI tool to run multiple commands in parallel and view their output in real-time
homepagehttps://github.com/skanehira/parallels
repositoryhttps://github.com/skanehira/parallels
max_upload_size
id2044521
size183,922
skanehira (skanehira)

documentation

README

GitHub Repo stars GitHub GitHub all releases GitHub CI Status GitHub Release Status

parallels

A TUI tool to run multiple commands in parallel and view their output in real-time.

Features

  • Run multiple commands concurrently
  • View stdout/stderr output in real-time with ANSI color support
  • Tab-based interface for switching between command outputs
  • Vim-like keybindings for navigation
  • Search with smartcase (case-insensitive by default, case-sensitive when query contains uppercase)
  • Emacs-like keybindings in search mode (Ctrl+W, Ctrl+U, Ctrl+H, etc.)

Installation

cargo install parallels

Usage

# Run multiple commands
parallels "command1" "command2" "command3"

# Example: Monitor multiple log files
parallels "tail -f /var/log/syslog" "tail -f /var/log/auth.log"

# Example: Run multiple dev servers
parallels "npm run dev" "cargo watch -x run" "docker-compose logs -f"

# Set maximum buffer lines per command (default: 10000)
parallels -b 5000 "command1" "command2"

Keybindings

Normal Mode

Key Action
Ctrl+C Quit
h / l Switch to previous/next tab
j / k Scroll down/up
Ctrl+d / Ctrl+u Scroll half page down/up
g / G Jump to top/bottom
f Toggle auto-scroll
/ Enter search mode
n / N Next/previous search match (when search is active)

Search Mode

Key Action
Enter Confirm search and return to normal mode
Esc Cancel search and return to normal mode
Ctrl+W Delete word
Ctrl+U Clear line
Ctrl+H Delete character
Ctrl+A / Ctrl+E Move to start/end of line

Search Behavior

  • Smartcase: If your search query contains only lowercase letters, the search is case-insensitive. If it contains any uppercase letter, the search becomes case-sensitive.
    • error matches "error", "Error", "ERROR"
    • Error matches only "Error"

Contributing

See docs/ARCHITECTURE.md for an overview of the codebase architecture.

License

MIT

Commit count: 0

cargo fmt