https://xtermjs.org/docs/guides/flowcontrol/#flow-control-over-websockets
install Yarn, and run: yarn install.
yarn install
ttyd bash
yarn run start
Run yarn run build, this will compile the inlined html to ../src/html.h.
yarn run build
../src/html.h