Lurker News

Comments (322) 75 threads

Show all comments

Showing thread 56 of 75

genpfault4 replies#
> Browsh consists of a minimal Golang CLI client and a browser webextension. Most of the work is done by the webextension. When the CLI starts, it looks for a compatible browser (currently only Firefox) and starts it in headless mode. Once the browser has started it opens a remote debugging connection and installs the extension.

So a browser wrapper.

beamatronic1 reply#
Why wouldn’t you just use lynx?
tombh1 reply#
Lynx doesn't even support modern SSL,let alone HTML5, CSS3, JS, WebGL, WebAssembly - all of which are supported by Browsh.
johnklos11 replies#
Lynx uses whatever SSL is on your system, so if your OpenSSL doesn't support modern SSL, then it's time for you to upgrade ;)

Continue this thread — 11 replies

azernik1 reply#
In implementation, sure. But from the user's perspective, it's just a browser.
noobermin2 replies#
But it doesn't work without X, a common use case for lynx/links/w3m
hpaavola1 reply#
Does it really? Firefox when run in headless mode does not require X.

Continue this thread — 1 reply

noobermin1 reply#
Are you sure? [0] shows libxul contained in the firefox tar links to various X libs among other things, as the bug report I linked below mentions...

[0] https://pastebin.com/eNvM4YSK

easytiger#
maybe but you dont need a running xserver
tombh#
Arguably you could say the same about Opera's "wrapping" of the Chrome libs.
mikorym3 replies#
I was wondering about this. If everything goes through an already installed browser, then what is the advantage that browsh has over a minimalistic fork of Firefox with e.g., lower bandwith features?
jdoliner#
For this to actually give a bandwidth advantage I think the browser would have to be running on a server somewhere... so the browser has become the server.
pkulak1 reply#
I guess the point is to install this on some random server somewhere that you can then SSH to. It really does seem like a good way to have a speedy browser experience over even insanely slow network connections.
mikorym#
Does one then need a Firefox installation on the server, or can it be through a local Firefox installation?

Edit: according to comments below the headless browser (i.e., the Firefox installation) runs on the server. After this, the smaller bandwith data gets sent directly over SSH.

cup-of-tea#
The point is it works without graphics so you can use it over ssh, for example.