Console.tty is a cross-platform terminal emulator that runs inside a web browser’s developer console, letting users open a shell while viewing any website. It combines a browser extension with a Rust command-line executable that manages terminal sessions, and supports Windows, macOS, and Linux. Its purpose is to make a real local terminal available in the browser console rather than merely imitate terminal output. Supported shells include bash, zsh, fish, nu, xonsh, sh, pwsh, and PowerShell; Windows also supports cmd.
Setup requires installing the CLI and extension, enabling the unpacked extension in Chrome or Edge, and registering its extension ID with the CLI’s native-host installer. To use it, the user creates a session ID in the browser, pairs the CLI with that ID, and calls console.tty with an optional shell name. A keyboard shortcut, Control-Shift-9, activates terminal input detection on the webpage. Configuration options cover terminal size and scrollback, default shell and working directory, rendering frame rate and responsive resizing, input hints, and limits on concurrent sessions and startup requests. The project provides installation scripts for macOS/Linux and Windows and is MIT-licensed.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.