Show HN: KittyBrowser, I built a web browser in your terminal github.com · 3 poi...

@show

Show HN: KittyBrowser, I built a web browser in your terminal github.com · 3 points · 1 comments · HN thread

TL;DR KittyBrowser (kb) is a Rust command-line tool that runs headless Chrome and draws each page as pixels inside a terminal pane using the kitty graphics protocol, so the real layout, fonts and images appear rather than a text rendering. It is version 0.1, tested mainly on macOS, and is designed so a coding agent can drive the same page the user is watching through a CLI, MCP server or agent skill.

  • Drives headless Chrome and renders frames as pixels via the kitty graphics protocol; supports clicks, scrolling, typing, find, zoom, copy and an inspect mode.
  • Requires a terminal with kitty graphics support (Ghostty, kitty, WezTerm, Rex) plus Chrome or Chromium; Terminal.app, iTerm2, tmux and screen are not supported.
  • Frames can be sent through the terminal itself, so it is meant to work over SSH; copying uses OSC 52 to reach the clipboard.
  • kb ctl gives a scriptable interface (open, check, click, screenshot, outline, console, network, viewport) so an agent in another pane can check a dev server or test a flow.
  • Tested daily on macOS; Linux builds but is untested, and Windows is only usable through WSL 2 (also untested).
  • MIT licensed, installable with cargo install from GitHub; the author says the agent-facing commands were shaped by watching agents get stuck.

Links in the post

  • Hacker News front page: The Hacker News listing page, used as the example site in the post's usage instructions; it shows the front page stories at the time of capture.

Discussion The thread is essentially empty: the single comment is a question about the design rather than a discussion. It is neutral in tone, with curiosity about why a fully graphical app would run inside a terminal at all.

  • Questions why a graphical browser belongs in a terminal (a few): One commenter calls the idea neat but finds the kitty graphics protocol strange and asks what the terminal adds when the output is fully graphical. No reply or answer appears in the thread.

#terminal #browser #kittyProtocol #rust #codingAgents