I'm spending more time in the terminal, and with kitty graphics support now in Ghostty and Rex, I thought a real browser in a coding pane might be possible. It is.
kb drives headless Chrome and draws each frame as pixels, so you get the actual page, not a text approximation.
Key features: - Built in Rust, on headless Chrome - Keyboard shortcuts, mouse clicks, scroll, zoom, find, copy - Frames can go through the terminal itself, so it should work over SSH CLI, MCP and an agent skill, so your coding agent drives the same page you're watching
From its own pane, the agent runs things like: > kb https://news.ycombinator.com/
What I learned: the best way to design a CLI for agents is to watch agents use it. Most of the commands exist because an agent got stuck. I ran multiple agent loops where agents would try to use the documentation, get stuck and itterate on the docs.
Note this project needs a terminal with the kitty graphics protocol (Ghostty, kitty, WezTerm, Rex) and Chrome. Tested on macOS; Linux builds but needs testers. Windows PRs welcome.
cargo install --git https://github.com/graiz/kittybrowser kb news.ycombinator.com
MIT licensed. Feedback welcome.
Comments URL: https://news.ycombinator.com/item?id=50477091
Points: 5
# Comments: 2