March 20, 2026

Tiny terminal, huge ghost energy

Ghostling

Tiny Ghostling terminal demo has devs divided

TLDR: Ghostling is a tiny demo terminal built on libghostty, showing serious power without extra features like tabs or splits. Commenters split into two camps: minimalists cheering the lean approach (tmux fans) and app-packagers excited it “just works,” even as others side-eye “Electron for terminals” vibes.

Say hello to Ghostling, the baby sibling of the popular Ghostty terminal—just a single C file showing off the new libghostty library. It’s not a full app, but the community is acting like it’s a new celebrity drop. The demo leans simple—no tabs, no splits, no fancy interface—yet it still flexes full color, Unicode, smooth resizing, mouse support, and more, thanks to Ghostty’s core under the hood.

The comments lit up fast. One user confessed they were “somewhere between horrified and impressed” at the font-embedding trick that stuffs a font straight into the code via CMake—cue a wave of “cursed, but beautiful” memes. Another dev rolled in with receipts: they’re already using libghostty in Trolley, a project that packages text apps like desktop apps—yes, “Electron for terminal apps”—which triggered the day’s biggest debate. Fans cheered “it just works (even on Windows),” while skeptics clutched pearls at the thought of app-ifying terminals.

Meanwhile, the minimalist squad showed up strong. Folks who live in tmux (a tool for managing terminal sessions) and tiling window managers snarked, “we don’t need tabs—our setup already does that,” and suddenly Ghostling looked like the perfect tiny engine. Others grumbled about no GUI features, but the devs said that’s the point: libghostty handles the brains; you bring the furniture. Bonus meme: the warning “don’t benchmark debug builds” immediately became a t-shirt idea. Casper the Friendly Terminal? The internet has spoken.

Key Points

  • Ghostling is a single-file C demo terminal built on the libghostty C API, using Raylib for windowing and 2D rendering.
  • It leverages libghostty-vt, a zero-dependency library handling VT parsing and terminal state, with drawing/windowing left to the consumer.
  • Despite being minimal, Ghostling supports text reflow on resize, 24-bit/256 colors, styles, Unicode graphemes, advanced keyboard/mouse input, scrollback with a scrollbar, and focus reporting.
  • Planned features include the Kitty Graphics Protocol, OSC clipboard support, and OSC title setting; Windows support is possible but untested in Ghostling.
  • Build requirements are CMake 3.19+, a C compiler, and Zig 0.15.x; debug builds are slow due to extra checks, so release builds are recommended.

Hottest takes

“somewhere between horrified and impressed” — vintagedave
“It just works. Even on Windows” — oDot
“I don’t need my terminal to do tabs or windows” — imiric
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.