
ghostling
A minimum viable terminal emulator built on top of the libghostty C API. Ex minimo, infinita nascuntur. ๐ป๐ฃ
The Lens
Ghostling is the reference implementation showing how to do it with libghostty. It's a minimum viable terminal emulator in a single C file, using Raylib for windowing and rendering.
This isn't a terminal you'd use daily. It's a teaching tool and proof-of-concept for libghostty-vt, the zero-dependency library (not even libc) that handles VT sequence parsing, terminal state management, cursor positioning, text reflow, scrollback, and everything else a terminal needs under the hood. The same library that powers Ghostty, one of the best terminal emulators available.
MIT licensed. From the Ghostty organization.
The catch: this is a demo, not a product. If you want a terminal emulator, use Ghostty itself. Ghostling exists to show developers how to use libghostty; it's useful if you're building something that needs terminal functionality embedded in it, and pretty much useless otherwise.
Similar Tools
License: MIT License
Use freely, including commercial. Just keep the license.
Commercial use: โ Yes
About
- Owner
- Ghostty (Organization)
- Backed by
- Mitchell Hashimoto (HashiCorp founder)
- Stars
- 907
- Forks
- 32
Explore Further
More tools in the directory
Get tools like this delivered weekly
The Open Source Drop โ the best new open source tools, analyzed. Free.
