Slide 10
Slide 10 text
My frontend skills are rusty…
So let’s just bring the full terminal to the frontend
• Xterm.js — powers Terminal in VS Code,
Hyper, etc… Full support for ANSI
• Svelte.js because I wanted to try out smth new
• Parcel.js to bundle with zero config
• 100 lines of full “frontend” code in one file,
mostly to handle WebSocket connections
• WebSocket messages are our STDIN/STDOUT
• Send every keystroke as a binary message