TLDR Web Dev · ARTICLES & TUTORIALS

TERMINAL SESSIONS YOU CAN BOOKMARK: BUILDING ZELLIJ'S WEB CLIENT

poor.dev13 min read

Summary from the TLDR Web Dev newsletter

Zellij's new built-in web client allows users to access terminal sessions from a browser. The web client uses a client/server architecture, with a Rust-based web server acting as a translation layer between the browser's websockets and the Zellij server's IPC channels. The web server supports unique URLs for each session, authentication using tokens, and separate WebSocket channels for terminal data and control messages. The client-side uses xterm.js for terminal emulation and incorporates custom integrations for features like mouse tracking and window titles.