
Ghostling Libghostty Terminal
Minimal C terminal emulator built on libghostty-vt, with Raylib handling windowing and rendering.
- skills.sh installs
- 1.1K
- GitHub stars
- 98
- last updated
- Jul 14, 2026
What it does
- Covers the full wiring path: PTY setup, feeding bytes into the parser, keyboard and mouse encoding, resize, and dirty-cell rendering
- Includes a single-file
main.cplus aCMakeLists.txtthat fetches libghostty-vt and Raylib 5.0 via FetchContent - Documents core API patterns for terminal creation, render-state iteration, scrollback, and cursor queries with
ghostty_*calls - Designed for C developers embedding VT emulation in their own apps, with Zig 0.15.x and CMake 3.19+ required for the build
Install
$ npx -y skills add reason-machines/trending-skills --skill ghostling-libghostty-terminal -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
| Tool | Version |
|---|---|
| CMake | 3.19+ |
| Ninja | any |
| C compiler | clang/gcc |
| Zig | 0.15.x (on PATH) |
| macOS | Xcode CLT or Xcode |
Build & Run
# Clone
git clone https://github.com/ghostty-org/ghostling.git
cd ghostling
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- CLI & Terminal, Go
- First seen
- Apr 16, 2026
More from reason-machines/trending-skills
All 163- 724 Office Ai Agent1K
- Claude Peers Mcp1K
- My Brain Is Full Crew1K
- Weixin Agent Sdk1K
- Dingtalk Workspace Cli941
- Polymarket Arbitrage Trading Bot927
- Awesome Phd Cv916
- Web Access Claude Skill916
- Weclaw Wechat Ai Bridge911
- Awesome Free Llm Apis904
- Cc Connect Ai Bridge884
- Filmkit Fujifilm Camera879
- Opencli Rs Web Scraper874
- Vercel Labs Emulate873
- Creationix Rx Data Store862
- Agent Flow Visualization840
- Microsoft Rust Training837
- Tg Ws Proxy Telegram Socks5837
- Wewrite Wechat Ai Publishing836
- Jkvideo Bilibili React Native835
- Ai Scanner Garak834
- Bazi Skill Chinese Astrology833
- Career Ops Job Search830
- Holyclaude Ai Workstation820
Similar to Ghostling Libghostty Terminal
More CLI & Terminal
wordspaceframes-engineering/skills1K installsCLI for bootstrapping and managing wordspace projects
pp-hackernewsmvanhorn/printing-press-library1K installsHacker News from your terminal — with a local SQLite store, snapshot history, and agent-native output no other HN tool has. Trigger phrases: `check hacker news`
snipgraphermcollina/skills1K installsConfigures and uses snipgrapher to generate polished code snippet images, including syntax-highlighted PNGs, SVGs, and WebP exports with custom themes, profiles
gitnexus-cliabhigyanpatwari/gitnexus953 installsUse when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples:
grepai-search-basicsyoanbernabeu/grepai-skills942 installsBasic semantic code search with GrepAI. Use this skill to learn fundamental search commands and concepts.
dingtalk-workspace-clireason-machines/trending-skills941 installsdingtalk workspace cli