后端与数据库

ghostling-libghostty-terminal

reason-machines/trending-skills

Build minimal terminal emulators using the libghostty-vt C API with Raylib for windowing and rendering

  • 1122 次安装
  • 89 星标
  • 收录于

安装命令

npx skills add https://github.com/reason-machines/trending-skills --skill ghostling-libghostty-terminal

SKILL.md

Ghostling — libghostty Terminal Emulator

Skill by ara.so — Daily 2026 Skills collection.

Ghostling is a minimal viable terminal emulator built on libghostty-vt, the embeddable C library extracted from Ghostty. It uses Raylib for windowing/rendering and lives in a single C file. The project demonstrates how to wire libghostty-vt's VT parsing, terminal state, and render-state API to any 2D or GPU renderer.

What libghostty-vt Provides

  • VT sequence parsing (SIMD-optimized)
  • Terminal state: cursor, styles, text reflow, scrollback
  • Render state management (what cells changed and how to draw them)
  • Unicode / multi-codepoint grapheme handling
  • Kitty keyboard protocol, mouse tracking, focus reporting
  • Zero dependencies (not even libc) — WASM-compatible

libghostty-vt does NOT provide: windowing, rendering, PTY management, tabs, splits, or configuration.

Requirements

Ghostling — libghostty Terminal Emulator

Skill by ara.so — Daily 2026 Skills collection.

Ghostling is a minimal viable terminal emulator built on libghostty-vt, the embeddable C library extracted from Ghostty. It uses Raylib for windowing/rendering and lives in a single C file. The project demonstrates how to wire libghostty-vt's VT parsing, terminal state, and render-state API to any 2D or GPU renderer.

What libghostty-vt Provides

  • VT sequence parsing (SIMD-optimized)
  • Terminal state: cursor, styles, text reflow, scrollback
  • Render state management (what cells changed and how to draw them)
  • Unicode / multi-codepoint grapheme handling
  • Kitty keyboard protocol, mouse tracking, focus reporting
  • Zero dependencies (not even libc) — WASM-compatible

libghostty-vt does NOT provide: windowing, rendering, PTY management, tabs, splits, or configuration.

Requirements