Skip to content
forked from fathyb/carbonyl

Chromium running inside your terminal

License

Notifications You must be signed in to change notification settings

dbpaul/carbonyl

Repository files navigation

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 requires a window server (ie. works in a safe-mode console), and even runs through SSH.

Carbonyl originally started as html2svg and is now the runtime behind it.

Demo

Wikipedia.mp4
Doom.mp4
YouTube.mp4

Usage

Currently building...

# Watch YouTube inside a Docker container
$ docker run fathyb/carbonyl youtube.com

Development

Fetch

$ cd chromium
$ gclient sync

Configure

You need to disable lld on macOS because of a linking bug related to Rust and compact_unwind

$ cd chromium/src
$ gn gen out/Default

Build

$ cd chromium/src
$ ninja -C out/Default headless:headless_shell

About

Chromium running inside your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 68.4%
  • C++ 10.8%
  • JavaScript 9.9%
  • Shell 8.3%
  • C 1.3%
  • Dockerfile 1.1%
  • Python 0.2%