Background
TERMINAL ENGINE V1.0.0

RECORD YOUR TERMINAL. REPLAY IN BROWSER.

Microsecond PTY capture with real-time secret scrubbing, timeline seeking, AI analysis, and live shell forking.

GET STARTED FREE
demo.replay
PTY 80x24
LOADING STREAM...
PLATFORM CAPABILITIES

ENGINE FEATURES

High-density features designed specifically for Linux terminal session recording, security auditing, and playback.

[01]

ACTIVITY WAVEFORM

Visual telemetry index mapping output density across timeline. Jump directly to active execution spikes.

CAPABILITY METRICREADY
[02]

INSTANT STATE SEEKING

Scrub to any timestamp in the session. Instant PTY state reconstruction without buffering delays.

CAPABILITY METRICREADY
[03]

OUTPUT SEARCH ENGINE

Search stdout/stderr buffer text across recorded sessions with microsecond-accurate timestamp matches.

CAPABILITY METRICREADY
[04]

VARIABLE SPEED PLAYBACK

Adjust playback speed (0.5x, 1x, 2x, 4x, 8x) or skip idle terminal inactivity automatically.

CAPABILITY METRICREADY
[05]

SECRET REDACTION (DLP)

Real-time regex scanning and scrubbing of AWS access keys, JWT bearer tokens, and environment secrets.

CAPABILITY METRICREADY
[06]

SELF-HOSTABLE ENGINE

Deploy via single Docker Compose bundle. Complete data sovereignty with zero external dependencies.

CAPABILITY METRICREADY
CLI INTEGRATION PROTOCOL

EXECUTION WORKFLOW

Record terminal sessions locally, scrub sensitive credentials automatically, and reconstitute exact terminal state snapshots on demand.

replay-cli — install.sh
STATUS: ACTIVE
$curl -fsSL https://cdn.jsdelivr.net/gh/Nathanim1919/replay@trunk/install.sh | bash
executing...
PTY ENGINE

SUB-MILLISECOND LOGGING

Captures native pseudoterminal (PTY) stdout, stdin, and window resize events with microsecond precision.

DLP SCRUBBER

AUTOMATIC REDACTION

Scubs API keys, database credentials, and Bearer tokens before writing session files to disk or cloud.

STATE FORKING

SUBSHELL TIME-TRAVEL

Reconstitutes environment variables and working directory snapshots into a live interactive terminal subshell.

ARCHITECTURE SPECIFICATION

PLATFORM FEATURES

Core execution primitives for high-performance terminal session capture and playback.

GO CORE PTYOVERHEAD: < 2MB

TERMINAL ENGINE

Low-overhead PTY recording binary with real-time DLP secret scrubbing

A high-performance Go CLI binary interfacing directly with system pseudo-terminals (/dev/pty). Captures ANSI color streams, timing offsets, and window resize signals with microsecond timing.

CAPABILITIES

Zero CPU overhead with native Go syscall hooks
Automatic DLP secret redaction before write
Stream compression with instant serialization
Dynamic PTY window resize event synchronization
terminal-engine.sh
$ replay record --output session.replay
[replay] Hooked to /dev/pts/3
[replay] Secret Scrub: 2 tokens masked
[replay] Session saved successfully.
PRODUCTION READY
HOW IT WORKS