Skip to Content

ink-canvas

A powerful runtime for Ink that brings your CLI applications to the web. Render Xterm.js directly in React.

Loading demo...

Running real Ink code in the browser

Why ink-canvas?

Bridge the gap between Node.js CLI tools and the modern web.

🖥️

Browser Compatible

Run Ink applications entirely in the browser using Xterm.js as the renderer.

🔌

Plug & Play

Includes Vite plugins and polyfills to make Node.js built-ins work seamlessly in the browser.

⌨️

Interactive

Full keyboard support. Captures input from the browser and forwards it to your Ink app.

📏

Responsive

Automatically handles terminal resizing and fits the content to the container.