realtime

star 499

WebSocket and realtime communication with sails-hook-sockets for Sails.js applications. Use this skill when building chat, notifications, live updates, presence tracking, or any feature that requires persistent bidirectional communication between server and client.

sailscastshq By sailscastshq schedule Updated 2/11/2026

name: realtime description: > WebSocket and realtime communication with sails-hook-sockets for Sails.js applications. Use this skill when building chat, notifications, live updates, presence tracking, or any feature that requires persistent bidirectional communication between server and client. metadata: author: sailscastshq version: '1.0.0' tags: realtime, websockets, sockets, pubsub, socket.io, rooms, sails

Realtime — WebSocket Communication

Sails provides two tiers of realtime support via sails-hook-sockets: low-level room-based messaging (sails.sockets) and high-level model-centric notifications (Resourceful PubSub). Both use Socket.IO under the hood and integrate seamlessly with Sails' request lifecycle.

When to Use

Use this skill when:

  • Building chat, messaging, or collaborative features
  • Sending live notifications to specific users or groups
  • Broadcasting model changes (created, updated, destroyed) to subscribers
  • Tracking online presence or user status
  • Creating live dashboards with auto-updating data
  • Configuring WebSocket security, Redis adapters, or multi-server deployment
  • Integrating sails.io.js with React, Vue, or Svelte frontends

Rules

Read individual rule files for detailed explanations and code examples:

Install via CLI
npx skills add https://github.com/sailscastshq/boring-stack --skill realtime
Repository Details
star Stars 499
call_split Forks 24
navigation Branch main
article Path SKILL.md
More from Creator
sailscastshq
sailscastshq Explore all skills →