mirror of
https://github.com/fathyb/carbonyl.git
synced 2024-09-11 02:45:31 +03:00
1.5 KiB
1.5 KiB
carbonyl
Carbonyl is a Chromium based browser built to run in a terminal. Read the blog post.
It supports pretty much all Web APIs including WebGL, WebGPU, audio and video playback, animations, etc..
It's snappy, starts in less than a second, runs at 60 FPS, and idles at 0% CPU usage. It does not require a window server (i.e. works in a safe-mode console), and even runs through SSH.
Carbonyl originally started as html2svg
and is now the runtime behind it.
Usage
# Watch YouTube inside a Docker container
$ docker run -ti fathyb/carbonyl https://youtube.com
Demo
Know issues
- Fullscreen mode not supported yet
Development
Fetch
$ cd chromium
$ gclient sync
Configure
You need to disable
lld
on macOS because of a linking bug related to Rust andcompact_unwind
$ cd chromium/src
$ gn gen out/Default
Build
$ cd chromium/src
$ ninja -C out/Default headless:headless_shell