Lurker News
A terminal-based web browser in Nim.[1] Has acceptable (YMMV) CSS rendering, some JS support, and inline images (sixel/kitty). It can also use various protocols other than http(s) such as (s)ftp, gopher, gemini, ...

Chawan started out as a w3m clone, and the UI still resembles it. However, the architecture has turned out quite different, with pages loaded in separate processes, and protocol/file type handling separated out into external binaries. An interesting result is that you can even register decoders for custom inline image formats, although practical use cases of this are rather minimal.
There is a gallery showcasing some websites being rendered here: https://chawan.net/gallery/index.html
[1]: https://nim-lang.org

Comments (69) 31 threads

Earlier comments
hecanjog1 reply#
I love this browser, thank you for building it!
shiomiru#
Glad you like it :)
ieee23 replies#
How are those images rendered in text UI?
dotancohen1 reply#
Inline using sixel. Go look at the screenshots, it's not bad.
ieee2#
Yes, screenshots are nice. That's why I asked.
ieee2#
OK. Found it:

Displayed using Sixels or the Kitty protocol. Supported input formats are PNG, JPEG, BMP, GIF (stb_image), WebP (jebp) and SVG (nanosvg). Opt-in; edit the config to enable it.

ho_schi1 reply#
btw.

Rendering images or movies on the TTY is common.
fbida: https://www.kraxel.org/blog/linux/fbida/
mpv: https://mpv.io/
Fbida sometimes need the -d option pointing to /dev/drm/something, when using screen or tmux.
MPV required for years -vo=drm on the TTY but since some months it always works. Nice improvement :)
A display server is not needed.

ieee2#
It is first time I saw it today. Thanks!
marcodiego1 reply#
GPM support?
shiomiru#
No GPM yet, but it does recognize XTerm's mouse protocol.
lucideer#
Absolutely incredible. And it even supports gopher.

Load more comments