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.

install· Docker

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

add a badge to your README

Maintain browsh? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/browsh.svg)](https://www.trmn.sh/tools/browsh?utm_source=badge)
HTML
<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>