terminaldraw is built on tldraw extended with terminal emulators on the canvas.
terminaldraw was inspired by the CLI in kavla.dev and the idea of combining a canvas with terminal-driven workflows. This repository is a separate localhost only project to explore this further.
Each terminal shape is backed by a real PTY session on the user's machine:
- the React app runs on
http://localhost:5173 - a local bridge runs on
http://localhost:4317 - terminal rendering is handled by
xterm.js - shell execution is handled by
node-pty - deleting a terminal shape kills the PTY session
- the canvas state persists in localstorage
npm install && npm run devOpen http://localhost:5173/ in your browser.
Please open PRs!
