--- id: task-5 title: Implement WebSocket sync server status: Done assignee: [] created_date: '2025-12-15 19:37' updated_date: '2025-12-26 02:15' labels: [] dependencies: [] priority: high --- ## Description Deploy a WebSocket sync server for real-time room state synchronization. Consider using Cloudflare Durable Objects or a self-hosted solution. ## Implementation Notes Implemented Node.js WebSocket sync server in sync-server/ Deployed to Netcup RS 8000 at https://sync.rmaps.online Updated rmaps-online with NEXT_PUBLIC_SYNC_URL=wss://sync.rmaps.online Server handles: join, leave, location, status, waypoint_add, waypoint_remove, full_state, request_state messages Includes health check at /health and stats at /stats Auto-cleans stale participants (1 hour) and empty rooms (24 hours)