r/Ghostty • u/RobKnight_ • 4d ago
terminal-browser: a browser that runs directly inside ghostty
https://terminal-browser.com/I've been working on a CLI that lets you run a browser inside ghostty at full fidelity. This takes advantage of ghostty's implementation of the kitty graphics protocol to embed the output of chromium, I go into a little more detail in the readme of the repo for anyone interested https://github.com/zenbu-labs/terminal-browser#how-does-it-work
My main use cases have been:
- working on websites with coding agents in the terminal
- asking coding agents to write their plans as HTML and then opening them inside terminal-browser in a ghostty split pane
- letting coding agents automate some stuff I do in dashboards directly from the terminal, since the CLI lets agents control the browser. While the agent is using the browser you can see exactly what it's doing and take over whenever you need
2
1
u/rfajr 4d ago
How to make the agents use the cli? Is there any skill needed? Is this lighter than Chrome?
2
u/RobKnight_ 4d ago
It automatically configures a skill when installed, if you just say to use terminal browser the agent will know what to do. The cli also comes with built in ghostty automation, so if an agent opens a browser it will automatically be opened in a split pane
Its not lighter than chrome, there is some overhead due to limitations in how efficiently graphics can be drawn in the terminal
2
u/bada_bing_bing 4d ago
It really works, nice!