Browsh – A modern text based browser supports graphics and videos
We have written many articles related to 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 all already know most of the Linux servers are running without GUI. It helps Linux administrator to browse the website from CLI.
As we 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 web extension and most of the work will be done by the web extension. When the CLI starts, it looks for a compatible browser (currently Firefox only) 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 converted web pages will be loaded in Browsh (There are lot of background process are running with help of webextension & websocket to convert the page).
Also, it will reduce bandwidth 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
Once you have installed the Browsh, just fire the
browsh command alone to launch.
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