安装依赖

pnpm install

启动服务端(保持开启不要关)

HOST=localhost PORT=1234 npx y-websocket

启动客户端

pnpm dev