Settings

Theme

Forking Chrome to render in a terminal (2023)

fathy.fr

170 points by riddley 3 months ago · 19 comments

Reader

wonger_ 3 months ago

Fun fact, this project helped the author get a job: https://github.com/fathyb/carbonyl/issues/162#issuecomment-1...

Carbonyl is surprisingly performant and usable, especially with --zoom=300 --bitmap

At lower resolutions, it would be nice to render images using a "subpixel" terminal rendering library like chafa (https://hpjansson.org/chafa/), or maybe sixels/kitty image protocol.

  • Imustaskforhelp 3 months ago

    I remember wanting to use carbonyl on some server so that I don't need to actually create a tunnel b/w 2 servers, start puppeeter in debug instance and open up a website and then hook it up using remote debugging in my ungoogled chromium.

    I really wanted something that could just work...

    Now that being said, the project was really cool.

    So it might come slightly off topic but when I had last viewed the project, there were a lot of people asking if the project is dead or more importantly, what has happened to author and there were comments like this after the job part and even hackernews showed concern of the dev's life https://github.com/fathyb/carbonyl/issues/201 [is the dev killed by IDF in Gaza #201]

btown 3 months ago

Original discussion: https://news.ycombinator.com/item?id=34547259

This is really, really cool!

Skia is a incredible abstraction layer. The linked article at the top of the OP https://fathy.fr/html2svg (2022) has some great graphics of how Skia can support various backends including PDF rendering (via https://skia.org/docs/user/sample/pdf/).

It's also worth noting that the Chrome Graphics team is writing yet another Skia rasterization backend, just announced last month: https://blog.chromium.org/2025/07/introducing-skia-graphite-...

Given that this article came out a couple years ago, it's quite possible that it was seen by the Chrome team and inspired them to look at making a new backend from scratch!

core1024 3 months ago

Reminds me of browsh[1]. Interesting projects.

[1] https://www.brow.sh/

panki27 3 months ago

This needs an option to use the Kitty Graphics Protocol: https://sw.kovidgoyal.net/kitty/graphics-protocol/

No need to render to ASCII/Unicode anymore!

ksdme9 3 months ago

It looks so much better than I expected. This is cool.

taftster 3 months ago

This is some fine hack. In the spirit of pure good intentioned hacking. Love this.

javier_e06 3 months ago

This project delivers. Ran on gnome-terminal using podman and I was there watching youtube videos in blocky images. I must try on my rasperry pi.

ranger_danger 3 months ago

It looks like the project is abandoned/no longer maintained.

brow.sh (firefox in the terminal) is still being updated though.

amelius 3 months ago

Cool but what I'm actually looking for is an article titled:

"Forking xterm to render graphical applications"

IcyWindows 3 months ago

Wow, that's crazy. I also had never heard of Mojo before. Reminds me of Microsoft COM.

microtherion 3 months ago

It's surprisingly capable. One tricky problem is trying to solve Captchas with it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection