TongYou

Terminal, Accelerated

GPU-powered terminal emulator for macOS — built with Metal and SwiftUI.

Latest release

Features

A modern terminal built for speed and simplicity

Metal GPU Rendering

Every glyph is rendered via Metal instanced draw calls directly on your GPU. Smooth scrolling and crisp text at any resolution.

📷

Triple Buffering

Three-frame pipeline synchronized to your display's refresh rate via CADisplayLink. No tearing, no dropped frames.

🔗

URL Detection

Clickable URLs are automatically detected in terminal output. Cmd-click to open links directly in your browser.

Hot-Reload Config

Ghostty-style key = value configuration file. Edit and save — changes apply instantly, no restart needed.

🎨

Built-in Themes

Ships with 9 carefully crafted color themes. Full 256-color and true-color support with premultiplied alpha blending.

🛠

Native macOS

Built with SwiftUI for native window management, tabs, and system integration. Feels right at home on macOS.

How It Works

From keypress to pixel — the rendering pipeline

1

VT Parsing

Input bytes are decoded through a state-machine VT100/ANSI parser. Escape sequences, SGR attributes, and UTF-8 are handled in a single pass.

2

Glyph Atlas

Glyphs are rasterized once and cached in a GPU texture atlas. Font lookups use CoreText with fallback chains for full Unicode coverage.

3

Metal Draw

Visible cells are batched into instanced draw calls on a Metal render pipeline. Pixel-aligned with floor() to eliminate subpixel gaps.

Component Technology Detail
Rendering Metal Instanced draw calls with premultiplied alpha
Frame Sync CADisplayLink Triple-buffered with DispatchSemaphore
UI Framework SwiftUI NSViewRepresentable bridge for MetalView
Terminal VT100/ANSI State-machine parser with full SGR support
Font CoreText GPU texture atlas with glyph caching
PTY POSIX forkpty Native pseudo-terminal with environment passthrough

Keybindings

Familiar shortcuts, fully configurable

New Tab Cmd + T
Close Tab Cmd + W
Next Tab Ctrl + Tab
Previous Tab Ctrl + Shift + Tab
Copy Cmd + C
Paste Cmd + V
Increase Font Size Cmd + =
Decrease Font Size Cmd + -

Installation

Get started in seconds

⬇ Download

Grab the latest .dmg from GitHub Releases. Drag to Applications and launch.

Download Latest

🛠 Build from Source

Requires Xcode and macOS 15+.

git clone https://github.com/Airead/TongYou.git
cd TongYou
make build-release
make install