tauri-pty

Community

Build a full Tauri terminal with PTY

Authoryofabr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the friction of creating a reliable terminal emulator in a Tauri 2 desktop app by guiding end-to-end PTY integration with a React UI and xterm.js rendering.

Core Features & Use Cases

  • Vertical stack setup: Rust backend PTY integration (via tauri-plugin-pty or manual portable_pty) plus React/TypeScript frontend wiring.
  • Interactive terminal experience: Stream PTY output to xterm.js, forward user keystrokes back to the shell, and keep terminal dimensions synchronized on resize.
  • Production-ready UI patterns: Multi-tab terminal management, correct mount/unmount behavior to avoid killing sessions, and performance/safety best practices (TERM/COLORTERM, cleanup, WebGL handling, throughput considerations).

Quick Start

Use the tauri-pty skill to embed an xterm.js terminal in your Tauri 2 + React app that spawns your user’s shell and supports correct resizing and tab switching.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tauri-pty
Download link: https://github.com/yofabr/tauri-pty/archive/main.zip#tauri-pty

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.