sse

Solid

Server-Sent Events implementation, streaming patterns, and real-time updates.

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
71
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SSE Skill Expert assistance for implementing Server-Sent Events for real-time streaming. ## Capabilities - Implement SSE endpoints - Handle streaming responses - Manage client connections - Build event-driven updates - Implement reconnection ## Usage Invoke this skill when you need to: - Stream updates to clients - Implement live feeds - Build notification systems - One-way real-time communication ## Implementation ```typescript // Server app.get('/events', (req, res) => { res.setHeader('Content-Type', 'text/event-stream'); res.setHeader('Cache-Control', 'no-cache'); res.setHeader('Connection', 'keep-alive'); const sendEvent = (event: string, data: object) => { res.write(`event: ${event}\n`); res.write(`data: ${JSON.stringify(data)}\n\n`); }; // Send initial data sendEvent('connected', { timestamp: Date.now() }); // Subscribe to updates const unsubscribe = eventEmitter.on('update', (data) => { sendEvent('update', data); }); req.on('close', () => { unsubscribe(); }); }); // Client const eventSource = new EventSource('/events'); eventSource.addEventListener('update', (event) => { const data = JSON.parse(event.data); console.log('Update:', data); }); ``` ## Best Practices - Handle reconnection - Use event types for routing - Implement keep-alive - Clean up on disconnect ## Target Processes - real-time-updates - live-feeds - notification-systems

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Solid

streaming-api-patterns

Implement real-time data streaming with Server-Sent Events (SSE), WebSockets, and ReadableStream APIs. Master backpressure handling, reconnection strategies, and LLM streaming for 2025+ real-time applications.

335 Updated today
aiskillstore
AI & Automation Solid

websocket

WebSocket implementation, connection management, scaling patterns, and real-time features.

1,160 Updated today
a5c-ai
AI & Automation Listed

sse-streaming

POST-based Server-Sent Events streaming for Azure Functions — HTTP streaming, chunked response parsing, reconnection

0 Updated 2 days ago
fabioc-aloha
Web & Frontend Listed

implementing-realtime-sync

Real-time communication patterns for live updates, collaboration, and presence. Use when building chat applications, collaborative tools, live dashboards, or streaming interfaces (LLM responses, metrics). Covers SSE (server-sent events for one-way streams), WebSocket (bidirectional communication), WebRTC (peer-to-peer video/audio), CRDTs (Yjs, Automerge for conflict-free collaboration), presence patterns, offline sync, and scaling strategies. Supports Python, Rust, Go, and TypeScript.

368 Updated 5 months ago
ancoleman
AI & Automation Featured

cohere-webhooks-events

Implement Cohere streaming event handling, SSE patterns, and connector webhooks. Use when building streaming UIs, handling chat/tool events, or registering Cohere connectors for RAG. Trigger with phrases like "cohere streaming", "cohere events", "cohere SSE", "cohere connectors", "cohere webhook".

2,274 Updated today
jeremylongshore