A realtime collaborative editor built with Next.js, Tiptap, and Yjs.
apps/fronted: Next.js + Tiptap editor UIapps/backend: y-websocket collaboration server
npm install
npm run devFrontend: http://localhost:3000
WebSocket: ws://localhost:1234
npm run dev: run frontend + backendnpm run dev:fronted: run frontend onlynpm run dev:backend: run backend onlynpm run load-test: websocket load test
Open the same page in multiple browser tabs/windows and type simultaneously.
CLIENTS=100 DURATION_SEC=60 INTERVAL_MS=200 WS_URL=ws://localhost:1234 npm run load-test