Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think that may just be copy-paste in the Dockerfile, as it doesn't seem to use chromium (nor chrome) anywhere else in the repo: https://sourcegraph.com/search?q=context:global+repo:%5Egith...

which for sure matches my mental model of using ttyd and ffmpeg -- what in the world would anyone need chromium for?



One of the dependencies is `rod`[0], which is a web scraping/automation library, and I believe requires a browser to work. I don't know what they're using it for though as I haven't looked at the code (and I'm not familiar with Go anyways). There's a feature of the library that finds and installs a browser, but they may just be preemptively including chromium in the dockerfile and assuming that non-docker users will already have a supported browser on their machine.

0: https://github.com/go-rod/rod


> what in the world would anyone need chromium for?

Perhaps rendering an xterm.js canvas? (I don't know, it's just a guess)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: