hono-websockets

Community

Enable real-time WebSocket in Hono apps.

Authorlucasilverentand
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables real-time bidirectional WebSocket communication in Hono applications across multiple runtimes, simplifying the development of chat, live updates, and notifications.

Core Features & Use Cases

  • Unified WebSocket integration across Cloudflare, Bun, Deno, and Node.js.
  • Robust connection lifecycle management (open, message, close, error) and message broadcasting.
  • Built-in authentication support via tokens or cookies for secure upgrades.
  • Real-world use cases include chat apps, live notifications, and collaborative dashboards.

Quick Start

  • Create a Hono app and add a /ws route that uses upgradeWebSocket to handle onOpen, onMessage, and onClose.
  • Implement runtime-specific adapters (Cloudflare, Bun, Deno, Node.js) as shown in the documentation.
  • Run and test with a WebSocket client against the /ws endpoint.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hono-websockets
Download link: https://github.com/lucasilverentand/skills/archive/main.zip#hono-websockets

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.