Hyperspan Documentation

Hyperspan is a modern server-oriented TypeScript framework for building web sites and applications. Hyperspan is positioned somewhere between a more traditional server-side framework like Express and a newer frontend framework like Next.js. Hyperspan keeps most of the work and state on the server, but also supports using embedded React and Preact components with dynamic islands to add rich client-side interactivity to your application right where you need it, while shipping minimal JavaScript to the client.

Hyperspan is built on top of Hono and gives you full access to it, so it feels a lot "closer to the metal" than other frontend frameworks do. With Bun as the runtime, there is no build or compile step required to run your code. You can just write TypeScript and run it directly. Any client-side code that needs to be bundled is done on server startup via Bun plugins that run on import. Everything is seamless and automatic.

Some key features that Hyperspan adds to the mix are fast, lightweight streaming HTML Templates, file-based & flexible routes, and an Islands Architecture that ensures you only ship JavaScript to the client when you really need to.

Hyperspan is still under active development, but the core functionality is stable and production ready. Check out the Installation page to get started!