The poor state of terminal browsing blog home

Posted Friday, 27-Nov-2026 by Ingo Karkat

motivation

Many resources only exist in the form of web pages. When working in the terminal, the shift to a graphical web browser is a context switch. On my Linux GNOME desktop, a link is opened in the last active browser window, even if that was on a different virtual desktop. But that annoyance is not today's topic. The browser has a totally different set of controls. Even with browser add-ons like Tridactyl, navigation is done predominantly with the mouse, not the keyboard. And who doesn't have tons of browser tabs, all with distracting contents? But that's a rant for another day, too.

Many programming resources are on the web, but predominantly textual, short and simple enough that it could be displayed inside the terminal without any problems, using just the pager for scrolling and searching. There are (at least) three venerable terminal-based web browsers (so as much if not more diversity in rendering engines as the current crop of graphical web browsers), all of them almost as old as the world wide web itself:

Sadly, all of them do not support JavaScript (without which most of the modern web doesn't work — another rant we'll sidestep for now). None of them seems to have a large, active community behind them, and their continued development often depends on a few volunteers (and the occasional fork).

However, there are also more modern approaches, which leverage a modern browser and run it in headless or at least a hidden, automated mode:

a first sample

Let's give them a try, with a simple and clean web page, like… my blog's start page for example. This is how it looks in GUI-based Firefox, sized to my default terminal size of 80x25 characters, for a fair comparison:

Okay, it could benefit from more pixels, and modern displays have so many of them! And after half a century, my diminishing eyesight also requires far larger default font size than what I had in my youth. On the other hand, technology from the ancient past had less resolution than that, and one could still productively work on them!

Let's see how that page looks in w3m:

Clean and simple, while making good use of the available space. Uses both bold and colors for headings and links.

Next in line: lynx. It's even more colorful… but what about those colors?! Why did it choose a gray background with bright text when neither my terminal nor the web page asked for that?!

The man page reveals some configuration options, even two different ways: a simple color mapping, and a separate color-style file. The first one didn't work, I then let ChatGPT generate a .lynx.lss scheme that then couldn't be preset in ~/.lynxrc and instead required a LYNX_LSS environment variable. After half an hour of tweaking and experimentation, I arrived at this (bold still somehow doesn't work):

By including the feed URL from the header and using more whitespace, the information presented is less dense than in w3m, but overall acceptable.

On to elinks; its presentation resembles that of lynx (including the feed URL), but it doesn't do any colors by default, just bold for headings and links:

With brow.sh, one leaves the era of dial-up and monochrome CRT monitors and enters the modern web. A stunning appearance in the terminal; very readable and a high-fidelity rendering of the original web page:

Do we already have a winner here?! Well, the installation is cumbersome through downloading a package off of GitHub (or pulling a Docker image); that means there's no automated update handling by a package manager (like apt or Homebrew).
And the last release was done almost three years ago, and the project has many open issues and pull requests, however also recent commit activity:

So while not dead, there's little progress; just one or two active maintainers who do this solely in their spare time.

Well, we have a contender. carbonyl apparently already went through an involuntary ownership change:

This repository (jmagly/carbonyl) is the maintained fork of the original fathyb/carbonyl, which has been inactive since early 2023. It tracks upstream Chromium stable (currently M147) and publishes runtime tarballs as release assets.

Oh… that's odd. Looks like we need to increase the terminal size by a lot:

Okay, that's as close to graphical parity as is possible in the terminal, but the cost is lots of wasted space. I couldn't figure out how to adapt the dimensions; neither fiddling with the default zoom level nor viewport did anything for me.
And apparently the text is rendered on top of that same text smushed into a background color, which doesn't help with readability.
Scrolling can be done via cursor up/down, or by clicking the large scrollbars with the mouse. The user interface looks like a remote access into a graphical browser (like VNC), not as something one would primarily use for actual browsing in the terminal. Too bad!


the actual sample page

My actual use case was a link to this todo.txt-cli wiki page that documents the steps I (as a maintainer) need to do in order to prepare a new release.

In the graphical browser, even at terminal size, this is fairly readable:

But as all these steps have to be performed in the terminal, I'd ideally have the documentation there as well (maybe in a split tmux pane).

Let's give it a try in w3m:

Huh? What's that? According to this issue, GitHub is ignoring the http/1.0 request and sending an http/1.1 response which w3m cannot parse. In other words, the browser is still relying on protocols that belong to a museum 😬.
That issue is still open. How's the overall health of that project?

Many open issues and pull requests, no activity for 3½ years. Oh my. After one year, someone asked about maintenance and even took over responsibilities 💖 after the original author mentioned that he's still busy for my private things.
Unfortunately, the updated packages have only landed in very few distributions at the moment.

Alright, we have a couple more to try. Next is lynx:

Even GitHub's wiki isn't a simple web page, but more of a full web application with massive headers, sidebars, and footers. Of course, text-based browsers struggle a lot more with such a complex layout. Although my eyes also struggled a lot with the atrocious default color scheme, through a lot of scrolling I finally found the desired information:

That isn't too bad; it was only a struggle to get there.

elinks has even more problems with the web application, spamming the first page with mostly implementation details:

Through a lack of highlighting and coloring, the actual contents are presented clearly and with plain but nice formatting:

I'm actually a bit surprised that the venerable oldtimers mostly managed to display those contents at all. They don't understand JavaScript!
A modern web application may require a modern browser engine; so let's see what the new contenders have to offer:

Despite my earlier accolades about brow.sh, what I forgot to mention is that it takes roughly five seconds to actually load. At first, there's just a little splash screen.

The top of the wiki page is recognizable as GitHub proper, but the small size mangles the layout a bit. Blowing up the terminal to fullscreen shows a terrific text-mode rendering:

Pressing Page Down just three times leads me to the desired contents, also in the original terminal size:

Great! Again, I'm fully sold on brow.sh, and arduously hope that it'll still be maintained.

For completeness, how does carbonyl fare here? Again, it completely crushes the limited terminal window with its gigantuan rendering:

The fullscreen view is strangely blurry; it apparently only renders the background, but didn't extract any text.

This also applies to the contents I'm interesting in; so this is a complete disaster. It might be a bug, or a configuration issue, but as long as brow.sh is so much better, it's not worth looking into.


the winner

So, how do I access the wiki documentation in the end? Is brow.sh the clear winner? The presentation in the terminal clearly is great: very close to the graphical browser, yet also space-saving and very readable. But what about the usability? browsh unfortunately only supports a minimal set of keybindings; scrolling with Page Up / Page Down and the cursor keys, but no searching (Ctrl + F, or maybe vi-like /). Scrolling with the mouse wheel works (also in carbonyl), but if I have to move my hands away from the keyboard, I'm already halfway to a graphical application like the default browser. Even worse, all terminal-based browsers ignore the #packaging-a-distribution anchor appended to the URL, so they start at the top of the page and require a lot of scrolling to reach the desired part of the page.

For this particular use case, it would be best to just have brow.sh render the web page into Unicode text with ANSI escape sequences for the colors, and feed that into plain less for paging. Here, the web page is an intentional dead end; I don't plan to click any link. I don't need the browser chrome (admittedly minimal in the case of brow.sh, just two top lines of window title and tab emulation — lynx has a single title and three (!) bottom lines for hints and menu); just show me the contents!
lynx, elinks, and carbonyl have -dump options; elinks indeed can include the highlighting (via -dump-color-mode). It would be great if brow.sh had that…

I had cloned the wiki locally (yes, that's possible, replacing *.git with *.wiki.git: git@github.com:todotxt/todo.txt-cli.wiki.git), so all wiki pages exist as plain local files right next to my working copy. I just had to render the Markdown syntax used here. That's a simple as passing the file to glow and then piping it into the pager. Here's the result:

In my lookup of programming notes that's used here, I even implemented alternative sources, so it would fall back to the GitHub wiki if it's not checked-out locally. And it recognizes the #anchor if it's part of a symlink to the wiki page, and removes the part above that anchor, so no scrolling is needed here, neither! (Multiple notes can be shown at once, so I couldn't just point the pager to the location.) But showcasing that solution will have to wait for another day, too.

Ingo Karkat, 27-Nov-2026

ingo's blog is licensed under Attribution-ShareAlike 4.0 International

blog comments powered by Disqus