Browsh – A Modern Text Based Browser Which Supports Graphics And Video
We had wrote many articles about text based browser in the past such as Links, Links2, ELinks, Lynx, w3m and Netrik.
Why we need a text-based browser in Linux? As you already know most of the Linux servers are running without GUI. It helps Linux administrator to browse the website from CLI.
As i know, all these text-based browsers renders only web pages and supports color but browsh is advanced, well-established, feature-rich modern text based browser which supports graphics and video.
What is Browsh
Browsh is a advanced, well-established, feature-rich, modern and pure text based browser which supports graphics and video.
As per my understanding it’s not a browser since it’s not working independently to renders web pages. But It’s kind of CLI front end tool, which allows user to browse a web pages.
How It Works?
It uses headless Firefox to render the web pages so, make sure you should have a recent version of Firefox (Min v57 or later) installed on your system.
It was written in Golang CLI client and a browser webextension and most of the work will be done by the webextension. When the CLI starts, it looks for a compatible browser (currently only Firefox) and starts it in headless mode.
Whenever you request a web page via Browsh, it load a web page into headless Firefox and custom scripts are injected into the Firefox page to convert the page for Browsh.
Once the above process is completed then coverted web pages will be loaded in Browsh (There are lot of background process are running with help of webextension & websocket to covert the page).
Also, it reduce bandwith usage and improve browsing speeds.
How To Install Browsh in Linux
Developer is offering
.dep and static binaries which allow us to install and run Browsh in Linux without any issues.
For RPM based systems such as RHEL, CentOS, Fedora and Zypper
# curl -o browsh.rpm -L https://github.com/browsh-org/browsh/releases/download/v1.4.12/browsh_1.4.12_linux_amd64.rpm # rpm -Uvh ./browsh.rpm # rm ./browsh.rpm # browsh
For Deb based systems such as Debian and Ubuntu
# wget https://github.com/browsh-org/browsh/releases/download/v1.4.12/browsh_1.4.12_linux_amd64.deb # apt install ./browsh_1.4.12_linux_amd64.deb # rm ./browsh_1.4.12_linux_amd64.deb # browsh
AUR package is available for Arch Linux based distributions. So, you can use any AUR helpers to install it.
$ yaourt -S browsh-bin
For other distributions.
# wget https://github.com/browsh-org/browsh/releases/download/v1.4.12/browsh_1.4.12_linux_amd64 # chmod +x browsh_1.4.12_linux_amd64 # ./browsh_1.4.12_linux_amd64
How To Launch and Use Browsh
There is no point to use the Browsh browser without knowing the Keybindings so, let me show you the important keybindings.
F1Opens the documentation
CTRL+lFocus the URL bar
BACKSPACEGo back in history
CTRL+\Cycle to next tab
ALT+SHIFT+pTakes a screenshot. The status bar will display the saved path