A modern terminal-based REPL with syntax highlighting, command history, and background execution.
- Beautiful terminal UI with Dracula theme
- Command syntax highlighting as you type
- Persistent command history
- Background command execution
- Multi-line input with scrolling
- Tab completion for files and directories
- Output scrolling for long command results
- ANSI color support for command output
- Rust toolchain (1.70+)
- Terminal with true color and Unicode support
# Clone the repository
git clone https://github.com/yourusername/cyrun.git
cd cyrun
# Build and run
make build
make run
# Or install globally
make installCyRun provides a simple REPL interface for running shell commands.
- Type any shell command and press Enter to execute
- Use Up/Down arrows to navigate command history
- Use Tab for file path completion
- Shift+Enter for multi-line input
- Ctrl+C or Ctrl+Q to quit
/helpor:h- Show help message/clearor:c- Clear command history/replor:r- Switch to REPL view/jobsor:j- Switch to jobs view/logsor:l- Switch to logs view/quitor:q- Exit application
- Tab to switch between views in tab mode
- Up/Down to navigate entries or command history
- Ctrl+Up/Down to scroll history
- PageUp/PageDown for faster scrolling
src/main.rs- Application entry point and event loopsrc/app/- Application state and logicsrc/ui/- UI components and renderingsrc/executor/- Command execution logicsrc/highlighting/- Syntax highlighting
# Check for errors
make check
# Run with debug information
make debug
# Clean build artifacts
make cleanMIT