/sse-hono

A Hono-based server that publishes time updates via Server-Sent Events (SSE) and serves a webpage that dynamically updates the time using HtmX.

Primary LanguageTypeScript

Small SSE example using Bun, Hono, HtmX and TailwindCSS

A Hono-based server that publishes time updates via Server-Sent Events (SSE) and serves a webpage that dynamically updates the time using HtmX.

Install dependencies

bun install

Run

bun run dev

Then open: http://localhost:3000