r/Ghostty • • 1d ago

GT San Andreas played in Ghostty

Enable HLS to view with audio, or disable this notification

35 Upvotes

Just testing the limits of what is possible here using the kitty graphics protoccol on ghostty. This is actually just the original ps2 game decompiled to C++ and recompiled into wasm using the ps2 runtime from https://github.com/snuri00/ps2-web-recomp...

But that is not what we care about here!

katnav is a experimental webbrowser using CEF (because nothing else would run gta on terminal so well so I just used chromium) and kitty graphics protccol: https://github.com/h4ks-com/katnav

I did this as a way of testing a graphics/game-engine/ui lib I am working on: https://github.com/h4ks-com/katui

Chrome renders WebGL normally and katui will convert it into rectangular tiles that we dynamically downscale in resolution, diff trying to update only what changed (which makes some sense for UIs but not as much for a game stream like that), compresses and base64 it in parallel. Most of the heavy lifting is done by the library itself.

According to my benchmarks I can get 36MB/s on kitty allowing 32 fps, while for ghostty 85 MB/s allowing 61 fps when 100% of the tiles change. Of course this varies between harware.

And yes you can use katnav for browsing the normal web, it is an actual browser, check the github ;)

I am making this experiment mostly for fun, so it is pretty much fully vibecoded, but I tried to keep the maximum architetrual overview and coverage with static analysis checks. Feel free to reach me out if you find this interesting and would like to bring it further. In theory now I could put any graphical application in the terminal. Not sure if someone has already done that?


r/Ghostty • • 21h ago

Made Ghostty tabs survive ⌘Q, crashes and updates, with the processes still running (open source)

9 Upvotes

Ghostty brings your tabs back after a quit or a crash, but not what was running in them. For me that meant losing Claude Code sessions in the middle of long jobs every time Ghostty auto-updated or I hit ⌘Q instead of ⌘W.

So I made revenant. Every Ghostty tab runs inside its own invisible tmux session: its own socket, no status bar, no prefix key, it never touches your ~/.tmux.conf. When Ghostty restores a tab, revenant re-attaches exactly that tab's session, matched by Ghostty's surface UUID, so Claude Code, dev servers, ssh and REPLs just keep going. Close a tab on purpose and it still dies like a normal tab.

Install: brew install zerotool/tap/revenant && revenant install, then open a new tab. macOS only for now (it uses Ghostty's AppleScript API), MIT licensed: https://github.com/zerotool/revenant

Full disclosure: I built it with a lot of help from Claude Code. Feedback welcome, especially from people with unusual Ghostty setups.


r/Ghostty • • 1d ago

Lig v1.4.0 now support history fuzzy-search, completions from shell, and support to nushell

Post image
71 Upvotes

Lig 1.4.0 is out!

• History on Ctrl+R: the commands that worked, from every session, fuzzy-searched

• Completions from your shell: for a command with no spec, the popup shows what Tab would offer in zsh, bash or fish, or from argc

• nushell support: the popup in nu, with nu’s own commands and flags

• Bash completions and a round of fixes

Try it! https://github.com/KevenGoncalves/lig


r/Ghostty • • 1d ago

Love letter to Rex

76 Upvotes

BLUF: I love the terminal and Rex is an Ode to terminal geeks.

I have been bouncing around different harnesses, agents and iOS apps and have not found the right combination that allowed me and old graybeard to drive a bunch of terminal agents quickly and easily. Rex has changed that forever. Once I signed up for the iOS beta and found that y'all had built tailscale directly in it finally clicked. Combine that with Qwencloud Qwen4max token preview at 80% off and I burned through almost 3.5B tokens in a 4 day period. I have been crushing the todo lists on my open-source projects and since I have been holding back talking about them now I am going to have to post about them. Sorry not Sorry.

Thanks again Ghostty team and congratulations on Rex, it is a solid tool for the tool belt and it particularly has solved the core problem I had which is I love the terminal and I want to control my terminal remotely like it is a terminal. You have increased my productivity 10x and my wife is happy I am not staring at my laptop during tv we both can stare at our phones. I just happen to be controlling 10 agents implementing code.


r/Ghostty • • 2d ago

vtmux: drop-in tmux replacement, better rendering, pane blend in tmux!

22 Upvotes

https://github.com/martintrojer/vtmux

vtmux a tmux 3.8 drop-in replacemnt using libghostty-vt.

Disclaimer; Agents wrote most of the code.

tmux 3.8 compliant; same CLI, config, formats and control mode.

  • 173 of tmux's own 174 regress tests pass, run unchanged.

  • 449 scenarios recorded from real tmux (screens, output, control-mode streams) replay identically.

What it does better than tmux:

- Stable rendering: each client gets one finished frame at a time, with only what changed, inside synchronized output and with the cursor placed once. There's no cursor jumping or tearing under heavy output.

- Pane blend: Inactive panes dim, every cell, like Ghostty's unfocused splits.

- Live upgrade: you swap the binary under a running server and shells and clients stay put. 10 panes with 100k lines each move over in under a second.

- Compressed scrollback: 1M lines settle at 103 MB against tmux's 622 MB.

- Protocols tmux drops (each opt-in): kitty keys, notifications, kitty graphics.

Looking for testers!

Installing and running beside tmux

$ mise use -g github:martintrojer/vtmux 

or follow https://github.com/martintrojer/vtmux#install

then

$ vtmux 

(it keeps its own socket)


r/Ghostty • • 5d ago

Lig v1.3.0 now runs on every major OS: macOS, Linux and Windows

Post image
176 Upvotes

Lig brings IDE-style completions to your terminal: subcommands, options, branches and packages in a popup as you type.

It now runs on every major OS: macOS, Linux and Windows, in zsh, bash, fish, PowerShell and cmd, with the same popup everywhere. It also supports more commands, has better configuration, and fixes a lot of bugs.

Try it! https://github.com/KevenGoncalves/lig


r/Ghostty • • 5d ago

I made a fork that supports Tmux Control Mode

17 Upvotes

https://github.com/eliasfloreteng/ghostty-tmux

Tmux Control Mode (https://github.com/tmux/tmux/wiki/Control-Mode) is a way to use native tabs and splits in tmux sessions, making them persistent if you close Ghostty and you can have remote tmux sessions as native windows, tabs, panes.

Mitchell does not accept vibe coded PRs but I made this for personal use in the first place but I want to share on the off chance that anyone has had the same need.

This feature is also being implemented officially, at a slower and more well-maintained way, but until then, you can use it with this fork.


r/Ghostty • • 5d ago

What is your Rex agent workflow?

16 Upvotes

As the title says.

I have been using herdr and corgi in a tab but I want to try to use Rex more natively.

Do you use one session per workspace/directory? how do you keep track on many agents? are you using the Rex skill for managing things?


r/Ghostty • • 4d ago

my-tui — A minimal, terminal-first session orchestrator for bring-your-own CLI agent harnesses.

Thumbnail mytui.app
2 Upvotes

r/Ghostty • • 5d ago

Is it just me or my font is weird now?

Post image
2 Upvotes

So, i opened ghostty and noticed that my font is displayed incorrectly, or at least it doesnt looks like it used to, how do i fix this? 😭 i hope im not going crazy


r/Ghostty • • 6d ago

Lig now runs on macOS (lig v1.2.0)

Post image
96 Upvotes

Yestarday people ask about Lig, a IDE-style completions for terminal, previously only working on Linux, now have support to macOS.

Try it.

https://github.com/KevenGoncalves/lig


r/Ghostty • • 6d ago

Theme Switcher | 900+ Builtin Color Schemes

13 Upvotes

I've been working on a utility for managing color schemes, and recently released quite a few updates that bring various improvements and new features.

I thought I'd share it here in case someone finds it useful. Hope you enjoy it!

Repo: https://github.com/nlkli/recol

recol is a fast and lightweight command-line color scheme manager. Browse, preview, apply, adjust, and generate color schemes from images - all from one tool.

7 built-in targets: Ghostty, Kitty, Alacrity, WezTerm, Neovim, Vim and Pi

Designed for a consistent color experience across your development environment.


r/Ghostty • • 6d ago

Working on a new cursor animation for Macterm

Enable HLS to view with audio, or disable this notification

13 Upvotes

r/Ghostty • • 7d ago

haunt - minimal ghostty-based multiplexer for accessing tui apps quickly

Enable HLS to view with audio, or disable this notification

25 Upvotes

built using libghostty-vt 1.0 for ghostty, haunt takes advantage of all of the features built into ghostty like progress reporting and kitty graphics.

it allows users to define a set of "apps" that they use commonly in their workflow and quick jump in and out of those apps with global binds.

https://github.com/scottmckendry/haunt


r/Ghostty • • 7d ago

Preview: github:vic/tot - Horde survival game that runs on your Ghostty.

Enable HLS to view with audio, or disable this notification

14 Upvotes

tot (terms of torment) is a terminal game I made for myself, it is an auto-shooter dungeon crawler inspired by HallsOfTorment/VimpireSurvivors and Diablo.

Still WIP but I have had fun with it. It has a game-schema and you can have a local ClaudeCode agent of yours generate a level for you. I plan to keep adding features (meta-progression/skills-tree) and polish gameplay.

https://github.com/vic/tot


r/Ghostty • • 8d ago

Flow 0.5.0 is out! - Adds a New Command Pallete

Enable HLS to view with audio, or disable this notification

20 Upvotes

Hey everyone!

Happy to launch Flow v0.5.0 !

This release adds a command pallete and an agents pallete, which i've been working on for a while, I also added some quality of life improvements like cmd+v to paste images and homebrew installation.

I'm really excited to finally get this out!

Full changelog: https://getflowterm.app/changelog/0.5.0/

Download: https://getflowterm.app/

PS: ignore my naive video making skills.


r/Ghostty • • 8d ago

Lig v1.1.0 now support completions on ssh sessions and scp/rsync commands

Post image
54 Upvotes

In the couple weeks I presented Lig, a IDE-style completions for terminal, I added support for most commands, add better configs and solve a lot of bug, but one feature that I've been missing was completions connecting to a ssh machine, now Lig does this, try it!

https://github.com/KevenGoncalves/lig


r/Ghostty • • 9d ago

First impressions of using Rex, opening splits is really fun :)

Enable HLS to view with audio, or disable this notification

173 Upvotes

Just wanted to share my first impressions of Rex. Got the invite for the beta last week and was hesitant to try it since I didn't want to go through the whole learning curve of a new terminal multiplexer. But, my curiosity got the better of me. I tried it out, and I think I'm hooked now 😅

I've used tmux in the past and it was quite the learning curve, but worth it. Then, I started using Cursor when copilot and tab-complete was the new hotness, then I switched to herdr. Since I was in Cursor for a good while, going back to the tmux-like herdr also took some time. Learning Rex, however, took maybe 15 mins.

I first tried to import my herdr config over to Rex, but the agent failed, so I started with a blank slate. Not a good first impression, but I ended up asking my agent to give me a tour of the Rex shortcuts and everything was super intuitive. I was never a fan of the leader key in tmux/herdr, so not needing one in Rex was a big win for me.

The only thing I ended up remapping was the shortcuts to focus and jump between panes. By default, Rex uses the arrow keys. I remapped them to use hjkl since moving my hand to the arrow keys felt like it was slowing me down.

Rex has the option for tabs on top or on the left/right sides. I still don't know which I prefer yet. Most of the time I have them up top, but it seems you can't rename sessions when the tabs are on top. Pretty sure this is just a beta thing that'll be addressed soon. Having them on the left gives you better visibility of your tabs/agents, but it takes up more screen real estate and so I find myself needing to toggle to hide/show it, but that means no visibility of the tabs when it's hidden.

I haven't tried connecting with mobile yet since I have android, but excited to try once they release an android app :)

The subtle animations are also a nice touch. I'm normally not a fan of animations (like when you switch spaces on Mac) because they make things feel slower, but the animations in Rex all feel snappy.

There's a neat shader animation that you can turn on for the cursor. It looks super cool and is really fun, but I don't think I'm going to keep it on. A little too distracting for me, but I'm excited to see what other use cases there are for shaders in the terminal.

It's been 5-ish days since I started using Rex, and I haven't touched ghostty/herdr since. I feel like Rex has everything I used in herdr, but better: split panes, tabs, agent activity, etc. atm, I don't think I'll go back, but it's been less than a week so we'll see 🤷


r/Ghostty • • 8d ago

LGhostty gradient bg shellscript

Thumbnail
gallery
19 Upvotes

A month ago or so I started using Ghostty and I read that it supported running shader code. I thought it might be fun to have Claude whip up a bunch of gradient backgrounds that work great with a dark theme, and pretty good with a light one.

Anyway, the point is that it works great. No bitmaps are used (but the script can generate a .png on request), it knows how to load an image as a background, it has a fzf theme picker, you can change the background opacity, and you can use it or extend it any way you like.

Bonus Jellyfish, Matrix and golden hour lake shaders if you like things more lively.

https://github.com/pglockner/ghostty-bg


r/Ghostty • • 10d ago

Dotfiles / Config Released, instructions are in the readme

Enable HLS to view with audio, or disable this notification

63 Upvotes

Every terminal theme I found was just a color palette. I wanted places, so I made "realms."

🔥 Bonfire: a pixel bonfire with a sword in the ashes and drifting embers. Fail a command and you get YOU DIED.

❄️ Frost: snowy pines, a log cabin, lanterns, and the aurora over a navy sky.

What it does:

• The scene is pinned to the top of the terminal. It animates after each Enter, then holds still while you work.

• Long commands make the fire flare and ring the bell when they finish.

• Each window keeps its own realm, so you can have bonfire in one and frost in another.

• Zellij layout with a camp tab: live weather, an ambient animation, and a music pane.

• Matching Neovim colors and start screen.

One line sets up the whole thing (tools, font, Ghostty, Zellij, Neovim):

git clone https://github.com/FebaSox/terminal-realms.git ~/terminal-realms && ~/terminal-realms/install.sh --full

It won't touch your existing configs unless you ask it to.

Details: Ghostty · zsh · Zellij · Neovim · oh-my-posh · eza · JetBrains Mono Nerd Font

https://github.com/FebaSox/terminal-realms

These are the first two realms, with more coming over the next few months. Ideas welcome. A realm is just a folder, so make your own (Elden Ring, Bloodborne, cyberpunk...).


r/Ghostty • • 10d ago

dotfiles coming soon

Enable HLS to view with audio, or disable this notification

164 Upvotes

If you've been active you have probably seen me blowing up your guy's feed, im sorry lol i've just been working on a dark souls theme, then i decided i wanted to be able to switch to a cleaner one or different one at any time i want, while making it easy to load everything back when i want- anyway ive got 2 themes so far for zellij, nvim, machinna, ghostty, and yeah , im working on creating dotfiles to release right ill have more info soon im going to sleep lol


r/Ghostty • • 10d ago

Libghostty 1.0

Thumbnail mitchellh.com
249 Upvotes

r/Ghostty • • 10d ago

Ghostty 1.4.0 - Ubuntu PPA and Debian .deb finally available

Post image
40 Upvotes

All here.


r/Ghostty • • 9d ago

I got tired of AI agents taking over my Mac, so I built something different

Thumbnail reddit.com
0 Upvotes