go-htmx-sse

Stream server-sent events from Go to HTMX clients with sse-connect and sse-swap.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/OlegHQ/claude-config --skill go-htmx-sse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-htmx-sse
Source: https://github.com/OlegHQ/claude-config/tree/main/go-skills-plugin/skills/go-htmx-sse
Command: npx skills add https://github.com/OlegHQ/claude-config --skill go-htmx-sse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SSE-based real-time updates for Go backends with HTMX, enabling streaming data, live notifications, and integration with Clawde.

Core Features & Use Cases

  • Real-time server-to-client updates via SSE with Go handlers
  • HTMX integration using sse-swap and sse-connect patterns, including OOB events and hidden handlers
  • Clawde agent streaming support for live tool usage and results
  • Optional progress streaming and pre-populated history examples for dashboards

Quick Start

Start a Go SSE endpoint and connect it to an HTMX client to stream live events.

Frequently Asked Questions about go-htmx-sse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stream real-time data from a Go backend to an HTMX frontend?

Server-sent events (SSE) streaming from Go backends to HTMX frontends enables real-time data updates by wiring Go handlers to HTMX clients using sse-connect and sse-swap patterns for instant content delivery.

What is the best way to implement live dashboards and notifications in Go using SSE?

Server-sent events in Go applications support live dashboards and notifications by streaming continuous updates to HTMX clients, allowing real-time content swaps and out-of-band event handling for dynamic UI rendering.

Can I use HTMX out-of-band events with Go server-sent events?

HTMX out-of-band events work with Go server-sent events by utilizing sse-swap and hidden handlers to manage targeted UI updates, allowing specific page sections to refresh independently without full page reloads.

Does this approach support streaming agent tool usage and results live?

Clawde agent streaming integration supports live tool usage and results by connecting agent execution flows to SSE endpoints, enabling real-time visibility into agent processing steps and output generation.

How do I handle error recovery for SSE connections in HTMX?

Error recovery for SSE connections in HTMX involves implementing reconnection logic within Go handlers and utilizing HTMX event handling to restore streaming sessions when network interruptions occur during real-time updates.