I have always seen libghostty as the primary goal of the Ghostty project: a reusable terminal emulator library that can support a diverse ecosystem of focused, terminal-adjacent projects, beyond the Ghostty app itself. The app can demonstrate the library’s capabilities while other integrations bring those capabilities to more people. This vision connects to apps built with libghostty and cross platform terminal libraries.
I first raised the idea of libghostty 4 years ago, when most people responded “but why,” and I pursued it anyway.
I see libghostty as a highly portable, embeddable library providing core terminal emulation, render state, and more.
I always felt a free, high-quality, lightweight, reusable terminal-emulation core would benefit the developer world more than any single GUI application.
I say libghostty was my true purpose with the Ghostty project from the start, and I stated this in my first talk about Ghostty.
I joke that Ghostty GUI is “just a glorified tech demo for libghostty,” but say that is unfair because the GUI is great and talented people work on it.
When people ask why start a terminal emulator today, the answer is libghostty.
I reported that libghostty has nearly 100% coverage of all of Ghostty’s core, and compile-time flags can remove features for size or safety.
- Libghostty builds and is tested in CI for Apple (macOS, iOS, visionOS), Windows (MSVC and GNU), Linux, FreeBSD, Android, WebAssembly, and freestanding.
Libghostty has bindings in pretty much every popular programming language, including C, Zig, Go, Swift, Python, Rust, .NET.
I said a single empty terminal now takes 90% less memory, while noting there is still work to do.
I demonstrated 10,000 active terminals, with input/output happening, on a Linux server with 4 cores and 8 GB of RAM.
I said libghostty powers all JetBrains IDE terminals, with over 12.5 million active users.
I described libghostty as the most popular core behind the wave of venture-backed "agentic" terminals and editors, including Herdr and cmux.
I said libghostty is being discussed and has been verbally accepted to replace the terminal core in Neovim, with work still to be done.
I said libghostty powers Ghostel, a really popular and powerful terminal emulator for Emacs.
I said Antithesis uses libghostty’s speed to fuzz popular terminal programs, directly leading to hundreds of bug fixes sent upstream to tmux, btop, shells, and other terminal emulators.
I call libghostty “the tide that raises all boats”: as it becomes more popular, Ghostty and other projects become more performant and stable.
I see libghostty as a vehicle for delivering modern terminal emulation to the widest source possible.
I plan on tagging libghostty 1.0 in the next few months and declaring ABI stability at that point.
I described these as developments from the preceding six months and emphasized that none of them was true six months earlier. The library’s cross-platform development also connects to cross platform terminal libraries, while its growing integrations are collected in apps built with libghostty.
I thanked the intrepid early adopters helping test libghostty and said I had been hearing similar feedback more often recently. I really believe the reach and adoption and impact of libghostty will make Ghostty the app look like the glorified tech demo of libghostty that it kind of is.
I quoted @wiedymi’s account of building libghostty from source and integrating it into a personal macOS app; they said the work took “less then a day.”
I said that seeing so many libghostty-based projects appear was super exciting, and that two were on HN yesterday alone.
I said this broader ecosystem was always the real goal of Ghostty, and that I had been transparent about it since my first public talk.
I said Ghostty the app had always really been a glorified tech demo for libghostty, which I planned or hoped would eventually take over the world with a diverse set of terminal-adjacent things focused on specific goals/ideals.
I said the emergence of these libghostty-based projects was exactly what was happening: “And that's exactly what's happening.” I called it awesome.
I said there was nothing wrong with using LLMs to help write harnesses or understand data, and that I was not doubting all the results. I also said “I can’t blind trust them either”; my experience was that “they almost always deliver results you want to see AND with caveats.”
Even if the results under discussion were 100% accurate, I said the best outcome would be to understand them, improve libghostty, and help the hundreds of downstream projects, both free and commercial.
I said, “No need to withhold innovation at a base layer from bettering the entire community,” and that I “would love to be able to verify on my end.”
I announced that JetBrains IDEs were now powered by libghostty, bringing huge feature and performance improvements to JetBrains terminals. Based on JetBrains’ own annual reports, over 12.5 million active users across all platforms were about to get a libghostty-powered terminal.
I said “libghostty is and was always the primary goal of the Ghostty project,” as I had said in my first public talk about Ghostty. I believe the importance and impact of a free, liberally licensed, high-quality terminal emulator library that runs anywhere and everywhere dwarfs any single terminal emulator application on its own.
I estimated Ghostty’s GUI users—not libghostty users—at around a couple million. I said that overnight, 6x that number were using a libghostty-powered terminal through one integration.
I was “happy to hear JetBrains had a positive experience,” and said I looked forward to continuing to improve libghostty and “ship a stable libghostty tag soon.”
Related: portable terminal core, apps built with libghostty, cross platform terminal libraries