Hono + HTMX

The page is plain HTML. HTMX sends requests to Hono and swaps in the HTML fragments the server returns — no React, no build step for the frontend.

Full code at: https://github.com/ajerni/hono

1. Greet me

Type your name and submit. Hono reads the form and sends back a greeting.

Your greeting will appear here…

2. Toggle status

Click the button. Hono flips server state and returns a new HTML snippet.

Status: OFF
Page loads so far: 21

3. Refresh time

A simple GET request — useful for “load partial content” patterns.

Click the button…