browsh
Text-based web browser backed by headless Firefox, rendering JS-enabled pages to a terminal (TTY) or another browser. Works over SSH or MoSH.
Browsh is a text-based web browser that uses headless Firefox as its backend. Because a real browser engine loads the page, JavaScript and HTML5 content work, unlike traditional text browsers such as elinks. The rendered result is converted to text and displayed in a terminal (TTY) or in another browser. The README notes that the browser client does not yet have feature parity with the terminal client.
The main use case is browsing over very poor connections. You SSH into a server, run Browsh there, and the server downloads the pages, so only the rendered text output crosses the limited link. Terminal Browsh can also run over MoSH, which adds automatic reconnection of dropped or roaming connections and diff-only screen updates. Apart from SSH or MoSH, no client software is needed, which the README contrasts with VNC.
A second use is moving the resource cost of a full browser off a laptop or low-powered device such as a Raspberry Pi, by running Browsh on another machine. Most keys and mouse gestures behave as in a desktop browser. Browsh is written in Go, with a Firefox web extension (Node.js and webpack) that runs the JavaScript needed to prepare pages for rendering. It requires Firefox to be installed when you use the release binary, or you can run the Docker image.
Installation
# via Docker
docker run --rm -it browsh/browsh
Alternatives & related tools
localtunnel
Node.js CLI and API that exposes a local port at a public URL through a tunnel server, for testing webhooks and sharing local work without DNS or deployment.
Carbonyl
Chromium-based web browser that renders pages inside a terminal, including JavaScript, WebGL, and media playback, and runs over SSH.
katana
Go-based web crawler from ProjectDiscovery with standard and headless Chrome modes, JavaScript endpoint parsing, scope control, and JSON output for pipelines.
gallery-dl
Cross-platform command-line program that downloads image galleries and collections from many image hosting sites, with configurable file naming.
RustScan
Port scanner written in Rust that scans all 65k ports in about 3 seconds and can pipe open ports into Nmap or custom Python, Lua, and Shell scripts.
add a badge to your README
Maintain browsh? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/browsh?utm_source=badge)<a href="https://www.trmn.sh/tools/browsh?utm_source=badge"><img src="https://www.trmn.sh/badge/browsh.svg" alt="Featured on trmn" height="20"></a>