Skip to main content

Component Architecture

MonoTerm consists of four main components working in a carefully designed pipeline.

System Overview

Component 1: PTY Daemon

The PTY Daemon runs as a separate sidecar process from the main application.

Component 2: SessionActor (Rust Backend)

The SessionActor is the central coordinator using the Actor Model pattern.

Component 3: GridWorker + Alacritty VTE Parser

Each terminal session has its own GridWorker with an embedded VTE parser.

Component 4: Grid Injector (TypeScript Frontend)

The frontend component that receives Grid Updates and injects them into xterm.js.

Complete Data Flow

The journey of a single command through the entire system.

Key Technologies