frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ghostty-based terminal with vertical tabs and notifications

https://github.com/manaflow-ai/cmux
62•lawrencechen•2h ago
I run a lot of Claude Code and Codex sessions in parallel. I was using Ghostty with a bunch of split panes, and relying on native macOS notifications to know when an agent needed me. But Claude Code's notification body is always just "Claude is waiting for your input" with no context, and with enough tabs open, I couldn't even read the titles anymore.

I tried a few coding orchestrators but most of them were Electron/Tauri apps and the performance bugged me. I also just prefer the terminal since GUI orchestrators lock you into their workflow. So I built cmux as a native macOS app in Swift/AppKit. It uses libghostty for terminal rendering and reads your existing Ghostty config for themes, fonts, colors, and more.

The main additions are the sidebar and notification system. The sidebar has vertical tabs that show git branch, working directory, listening ports, and the latest notification text for each workspace. The notification system picks up terminal sequences (OSC 9/99/777) and has a CLI (cmux notify) you can wire into agent hooks for Claude Code, OpenCode, etc. When an agent is waiting, its pane gets a blue ring and the tab lights up in the sidebar, so I can tell which one needs me across splits and tabs. Cmd+Shift+U jumps to the most recent unread.

The in-app browser has a scriptable API ported from agent-browser [1]. Agents can snapshot the accessibility tree, get element refs, click, fill forms, evaluate JS, and read console logs. You can split a browser pane next to your terminal and have Claude Code interact with your dev server directly.

Everything is scriptable through the CLI and socket API – create workspaces/tabs, split panes, send keystrokes, open URLs in the browser.

Demo video: https://www.youtube.com/watch?v=i-WxO5YUTOs

Repo (AGPL): https://github.com/manaflow-ai/cmux

[1] https://github.com/vercel-labs/agent-browser

Comments

rubyn00bie•1h ago
This looks cool. I honestly haven’t ever thought about using vertical tabs in a terminal window but that seems nice.

One question though, have you thought about trying to upstream any of this into Ghostty instead of making an entirely different app?

simlevesque•1h ago
VSCode has vertical tabs for it's terminals like this, but on the right side.
lawrencechen•1h ago
Upstreaming into Ghostty would be very difficult as it's not actually a fork, I just used libghostty under the hood.
rubyn00bie•1h ago
Ah! Thanks for explaining that. I totally keep forgetting, to my own detriment, libghostty exists. It’s mighty cool to see it being used more and more to build cool new terminals (like yours and the mobile terminal that showed up here the other day).
pupppet•1h ago
Just took it for a spin, thought it was pretty nice. Some quirks with the tab dragging, you never really know what it's going to do on mouseup, a drop-target indicator would help.

Would love to be able to color the sidebar tab.

Nice work!

lawrencechen•1h ago
Thanks! Will add drop target and sidebar coloring.
blorenz•1h ago
I like what you did here and with your direction with the stack. We have some common overlap. Last week I started clauding up something to manage my Claude sessions. It is built on Tauri 2 using xterm.js. It has is project-based and each project has resumable sessions. I borrowed inspiration from Happy coder and clauded an Expo app so I can claude remotely on-the-go. It has been a force multiplier in my clauding with developing new features and addressing bugs and defects. It was a pretty amazing feeling when I started using it to further its own development. There's a slew of other features as I adapt it to my development style.
lawrencechen•1h ago
Mobile interface is definitely nice. Planning on adding iOS app since libghostty works there too! And I imagine that having your main terminal app be synced directly to your phone must be nice, though it doesn't solve the problem of closing my laptop.

Would love to hear what other features have been particularly beneficial to your dev style too. Some directions I'm interested in is having everything be programmable; so my coding agent can set up workspaces for me, click through browsers to test things, etc. And having a main Claude Code manage subagents that have their own easily visible terminal windows.

blorenz•54m ago
Wow! That would be incredible! I don't have the agents control the browsers like you are doing. I'm watching to see what you do though because that is incredible. The performance hit is real though -- I may look at libghostty.

I went the similar path of going vertical tabs after having worked that way in iTerm2 for months. Here's what I currently have:

Project-based organization -- Group sessions by working directory with a visual icon strip sidebar.

Multiple session types -- Claude Code sessions, standalone terminal shells, and embedded browser tabs.

Session persistence -- Terminal output is logged and replayed on relaunch so you never lose context.

Session resume -- Claude Code sessions detect their session ID automatically and resume where you left off.

Planning mode -- Draft and refine plans in a built-in text editor, then send them to Claude with one click.

Planning templates -- Start plans from structured templates for bug reports, feature requests, code reviews, refactors, and more.

Auto-titling -- Generic session names are replaced with descriptive titles generated by Claude after the first exchange.

Theming -- Light and dark themes with full CSS variable control.

Native menus and keyboard shortcuts -- macOS-native menu bar with comprehensive shortcut coverage.

Resizable layout -- Adjustable sessions sidebar width with state persistence across restarts.

Dock badge -- macOS dock icon shows the number of actively working Claude sessions.

Pin and archive -- Pin important sessions to the top or archive completed ones to keep the list clean.

Session card view -- See all sessions in a sortable grid with activity stats, token counts, and quick actions.

File tracker -- See which files Claude creates, modifies, and deletes in a live sidebar panel.

Macros -- One-click buttons for frequently used commands like /clear or commit this work.

Remote mode -- Monitor and control sessions from your phone via an encrypted WebSocket relay.

It has become my development hub where I can iterate very quickly.

trevyn•7m ago
I really like having ~8-12 active Ghostty windows tiled so I can keep an eye on everyone's progress, and then I'll expand one or two for deeper work. Would love to see some sort of auto-expand/contract so I can keep an eye on everything but then when I foreground a pane it grows, or something like that.
lawrencechen•5m ago
Ah, like a way to maximize the current pane you're focused on?
arjie•1h ago
This is pretty slick, man. The only thing is that the Ctrl-Cmd-] is too hard to press but I'll just use the number thing.
lawrencechen•1h ago
Thank! I personally have caps lock mapped ctrl... but open to suggestions! Since it's hard to handle both horizontal and vertical tabs.
arjie•1h ago
Ah, I regret training myself into Caps Lock to Escape. Well, a personal problem then. It doesn't seem to have copy-paste support that I have in my Ghostty but I bet that's a config somewhere.
lawrencechen•1h ago
> copy-paste support that I have in my Ghostty

Want to fix this, how do I reproduce? Select with mouse and cmd+c seems to work for me.

arjie•38m ago
Oh thank you. Perhaps it's something in my Ghostty. Here's a gist to work with:

https://gist.github.com/roshan/b2a073e2377f370ce83cf7c4ea6d8...

I'm on MacOS 15.7.4 on an M4 Max Macbook

lawrencechen•34m ago
Thanks for repro, taking a look!
meken•36m ago
Get the best of both worlds by having it be Ctrl when held down + pressed with another key and Esc when you press and release it by itself.
arjie•4m ago
Well, there's a fantastic idea. Apparently so many people are already in this better world: https://gist.github.com/tanyuan/55bca522bf50363ae4573d4bdcf0...

I have Karabiner Elements so I added it and it's amazing!

goro-7•1h ago
Good idea, but I don't want to move to another terminal now, will stick with Ghossty
lawrencechen•1h ago
Fair enough! I like Ghostty a lot too, and the only reason I built this was because I wanted vertical tabs and nicer notifications.
cranberryturkey•1h ago
This solves a real pain point. I run multiple AI coding agents in parallel and the biggest UX problem isn't the agents — it's knowing which one needs attention without context-switching into every pane.

The notification-per-pane with blue ring indicator is exactly right. The failure mode of most orchestrators is they abstract away the terminal entirely and then you lose the escape hatch when the agent does something unexpected. Keeping it terminal-native with Ghostty rendering is the correct tradeoff.

Question: how does the in-app browser handle state across agent sessions? If two agents are working on the same local dev server, do they share the browser context or get isolated profiles? That's been one of the harder problems in multi-agent setups — shared browser state leads to agents stepping on each other's cookies/localStorage.

lawrencechen•1h ago
> If two agents are working on the same local dev server, do they share the browser context or get isolated profiles

Currently they share browser context. Adding isolated profiles is a good idea. Do you often use multiple agents in a single project and have them both work on different pages? I personally use multiple checkouts, and the problem for me is that agents working in the same project want to spin up the same dev server. And the dev servers will conflict unless I make different instances of the same project listen in their own port ranges (perhaps via a PORT env var).

We want to solve the latter by bringing better SSH support where the WebView will proxy directly to a remote machine or Docker container, so different workspaces in the vertical tabs can talk to their corresponding dev servers. But I want to hear more about your use case.

alchemism•55m ago
With this one, small tweak it is perfect:

osascript << 'EOF' use framework "Foundation" use framework "AppKit"

set ghosttyIconPath to "/Applications/Ghostty.app/Contents/Resources/Ghostty.icns" set cmuxAppPath to "/Applications/cmux.app"

-- Read the icon file set iconImage to current application's NSImage's alloc()'s initWithContentsOfFile:ghosttyIconPath

-- Set it as the custom icon for cmux.app current application's NSWorkspace's sharedWorkspace()'s setIcon:iconImage forFile:cmuxAppPath options:0 EOF

((The ghost pairs well with Kiro, what can I say?))

lawrencechen•52m ago
:ghost:
AM1010101•51m ago
Awesome work, keen to try it out tomorrow. Can I make the notifications work with Gemini CLI and Kiro CLI too?
lawrencechen•49m ago
Thanks! Yup, notifications can be triggered via cli:

  cmux notify --title "Claude Code" --subtitle "Waiting" --body "Agent needs input"
And afaik, both Gemini/Kiro should have stop hooks. If they send OSC notifications, then notifications will "just work" as well.

Docs: https://www.cmux.dev/docs/notifications

reconnecting•34m ago
18 (!) releases in two days. This is some really fast coding.
lawrencechen•31m ago
Lots of stuff to iron out pre-launch!
rcarmo•23m ago
Nice. I should add notifications to https://github.com/rcarmo/webterm - I already have sparklines as a CPU usage indicator and live thumbnails, but a visual highlight should be easy to add.
lawrencechen•4m ago
Cool project! How are you liking ghostty-web so far?

Show HN: Micasa – track your house from the terminal

https://micasa.dev
378•cpcloud•7h ago•118 comments

Show HN: Ghostty-based terminal with vertical tabs and notifications

https://github.com/manaflow-ai/cmux
63•lawrencechen•2h ago•31 comments

Show HN: A physically-based GPU ray tracer written in Julia

https://makie.org/website/blogposts/raytracing/
155•simondanisch•12h ago•58 comments

Show HN: Mini-Diarium - An encrypted, local, cross-platform journaling app

https://github.com/fjrevoredo/mini-diarium
103•holyknight•11h ago•50 comments

Show HN: A small, simple music theory library in C99

https://github.com/thelowsunoverthemoon/mahler.c
2•lowsun•51m ago•0 comments

Show HN: Hi.new – DMs for agents (open-source)

https://www.hi.new/
2•elieskilled•2h ago•0 comments

Show HN: Provisioner per-board sidecar for serial access, flashing, and bring-up

6•acarminati•3d ago•1 comments

Show HN: Astroworld – A universal N-body gravity engine in Python

https://github.com/salinas2000/astroworld
2•salinas00•3h ago•0 comments

Show HN: A Lisp where each function call runs a Docker container

https://github.com/a11ce/docker-lisp
78•a11ce•19h ago•25 comments

Show HN: Rebrain.gg – Doom learn, don't doom scroll

104•FailMore•1d ago•50 comments

Show HN: VectorNest responsive web-based SVG editor

https://ekrsulov.github.io/vectornest/
83•ekrsulov•1d ago•32 comments

Show HN: BLite a Document embedded database for .NET (AOT, no deps)

https://github.com/EntglDb/BLite
2•lucafabbri•6h ago•1 comments

Show HN: I built a fuse box for microservices

https://www.openfuse.io
24•rodrigorcs•1d ago•22 comments

Show HN: CEL by Example

https://celbyexample.com/
80•bufbuild•1d ago•40 comments

Show HN: I'm launching a LPFM radio station

https://www.kpbj.fm/
108•solomonb•2d ago•55 comments

Show HN: Breadboard – A modern HyperCard for building web apps on the canvas

https://breadboards.io/
90•simquat•3d ago•14 comments

Show HN: PostForge – A PostScript interpreter written in Python

https://github.com/AndyCappDev/postforge
2•AndyCappDev•7h ago•1 comments

Show HN: LatentScore – Type a mood, get procedural/ambient music (open source)

https://latentscore.com/demo
18•prabal97•11h ago•19 comments

Show HN: AsteroidOS 2.0 – Nobody asked, we shipped anyway

https://asteroidos.org/news/2-0-release/index.html
464•moWerk•2d ago•68 comments

Show HN: Gave AI $100 and no instructions – it donated $40 to a hospital

https://www.letairun.com/
10•gleipnircode•8h ago•5 comments

Show HN: AI agent audited its platform, got 80% wrong, rewrote its methodology

https://openseed.dev/blog/escape-hatch/
4•rsdza•9h ago•6 comments

Show HN: Learn GPU programming with coding agents

https://blog.vtemian.com/post/vibe-infer/
6•vtemian•9h ago•0 comments

Show HN: I created an app to remove Reels, now on iOS too

https://apps.apple.com/us/app/scrollguard-block-reels/id6754183872
4•adrianhacar•9h ago•3 comments

Show HN: Pg-typesafe – Strongly typed queries for PostgreSQL and TypeScript

https://github.com/n-e/pg-typesafe
67•n_e•2d ago•32 comments

Show HN: I taught LLMs to play Magic: The Gathering against each other

https://mage-bench.com/
114•GregorStocks•2d ago•83 comments

Show HN: Glitchy camera – a circuit-bent camera simulator in the browser

https://glitchycam.com
169•elayabharath•3d ago•22 comments

Show HN: I built a semiconductor internship job board

https://www.semidesignjobs.com/s/semiconductor-design-internships
4•johncole•10h ago•1 comments

Show HN: Synter- Open source MCP server to manage ads across 7 platforms

https://github.com/jshorwitz/synter-media
3•synterai•10h ago•1 comments

Show HN: Agent skills to build photo, video and design editors on the web

https://github.com/imgly/agent-skills
3•hauschildt•11h ago•0 comments

Show HN: Jemini – Gemini for the Epstein Files

https://jmail.world/jemini
482•dvrp•3d ago•97 comments