Emmanuel Chucks

Calls in the terminal

Cloudflare Realtime · early prototype

Zoom, but inside the terminal, with people in a browser able to join the same call and watch or drive a shared terminal session. Probably not useful. I wanted to see if it could be done.

Driving Claude Code from a browser

Claude Code runs on a remote Linux box and streams into a browser running ghostty-web over Cloudflare's Realtime SFU. Flooded output switches to 30 fps screen snapshots so the connection stays light.

A browser running ghostty-web controlling a remote Claude Code session over Cloudflare Realtime SFU, asking for a haiku and receiving live streaming output.
Claude Code controlled live from a browser through Cloudflare's SFU

Video inside the terminal

Modern terminals draw real images over the kitty graphics protocol, and older ones fall back to coloured text cells. The flickering black and white squares along the top encode the send timestamp so latency can be measured straight off the pixels.

Test video streamed over WebRTC into kitty using the kitty graphics protocol, showing the flickering black and white timestamp blocks along the top half and a sweeping gradient below.
Full-window video in kitty with the pixel-encoded clock at the top
The same WebRTC test video rendered as coloured text cells in a terminal without image protocol support.
The same feed drawn as character cells for terminals without image support

On a bad network

With 2% packet loss and jitter on one side, Opus (the audio codec, not the Claude model lol) keeps speech clear with forward error correction. Switch mid-sentence to compare.

Switch mid-sentence. Both clips are the same call through Cloudflare's SFU, with up to 60 ms of random jitter added on the 2% loss run.