←back to thread

387 points shiomiru | 1 comments | | HN request time: 0.207s | source

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

Show context
b0a04gl[dead post] ◴[] No.44296046[source]
[flagged]
baq ◴[] No.44296117[source]
You can get close tho: https://www.brow.sh/
replies(1): >>44296489 #
1. dodslaser ◴[] No.44296489[source]
Even closer https://github.com/chase/awrit

If you use a compatible terminal emulator.