A solid reference for Bun's native WebSocket implementation that covers the essentials without the usual Node.js ceremony. You get the upgrade pattern with Bun.serve, built-in pub/sub with topics for broadcasting, and typed data attachment per connection. The examples are practical, covering chat rooms, authentication gates, and server-side publishing outside request handlers. Honestly, the pub/sub being native is the real win here. You don't need a separate library for room-based messaging. Good for real-time features where you want fewer dependencies and tighter integration with Bun's HTTP layer.
npx skills add https://github.com/secondsky/claude-skills --skill bun-websocket-server