# blade47/hono > AI-generated documentation for github.com/blade47/hono ## Technical docs: Orientation Arc - [Overview](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/orientation-arc/overview): Hono is a high-performance, lightweight web framework designed for edge-native environments, though it maintains compatibility across standard Node.js and serverless environments. Its architecture ... - [Quick Start](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/orientation-arc/quick-start): Hono is a web framework built fundamentally on Web Standards, designed for environments like Cloudflare Workers, Deno, Bun, and traditional Node.js/Lambda runtimes. The "Quick Start" capabilities r... - [Project Structure](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/orientation-arc/project-structure): Hono is architected as a lightweight, modular web framework that prioritizes web standards. The project structure is carefully designed to facilitate multi-platform compatibility, including runtime... ## Technical docs: Core Engine - [Application Routing](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/core-engine/application-routing): Application Routing is the foundational subsystem in Hono responsible for mapping incoming HTTP requests to their corresponding handler functions. It acts as the central traffic controller, enablin... - [Request Lifecycle](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/core-engine/request-lifecycle): The Request Lifecycle in Hono defines the journey of an HTTP request from its arrival in an adapter (such as AWS Lambda or a standard worker environment) to its final dispatch through the Hono rout... - [Context Execution](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/core-engine/context-execution): "Context Execution" refers to the Hono lifecycle management system centered on the Context class. It serves as the primary interface between the incoming HTTP request and the developer's handler fu... - [Middleware Composition](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/core-engine/middleware-composition): Middleware composition in Hono is a powerful architectural pattern that allows developers to chain independent request handlers into a unified pipeline. This mechanism enables cross-cutting concern... ## Technical docs: Routing Algorithms - [RegExp Router](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/routing-algorithms/regexp-router): The RegExpRouter is a high-performance routing engine designed for speed by converting standard URL routing patterns into a single, optimized regular expression. Unlike naive routers that perform l... - [Smart Router](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/routing-algorithms/smart-router): The SmartRouter is a high-level orchestration component in the Hono framework designed to bridge the gap between multiple underlying routing strategies. Rather than forcing a singular routing algor... - [Alternative Routers](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/routing-algorithms/alternative-routers): Alternative Routers in Hono provide specialized mechanisms for path matching, allowing the framework to balance performance and complexity based on specific use cases. By decoupling the routing eng... ## Technical docs: Rendering and JSX - [JSX Renderer](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/rendering-jsx/jsx-renderer): The JSX Renderer is the core component within the Hono framework responsible for converting JSX structures into actionable DOM elements (client-side) or serialized HTML (server-side). Unlike standa... - [DOM Rendering](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/rendering-jsx/dom-rendering): DOM Rendering is a lightweight, runtime-focused engine within the Hono framework designed to bridge the gap between declarative JSX templates and imperative browser DOM manipulations. Unlike server... - [Streaming Utilities](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/rendering-jsx/streaming-utilities): Streaming Utilities in Hono provide the infrastructure necessary for handling long-lived HTTP responses, server-sent events (SSE), and incremental rendering of HTML. By leveraging standard Readable... - [CSS Styling](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/rendering-jsx/css-styling): Hono provides a robust, experimental CSS-in-JS solution designed to work seamlessly in both server-side rendering (SSR) and client-side DOM environments. This subsystem addresses the challenge of m... ## Technical docs: Runtime Adapters - [Runtime Adapters](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/runtime-adapters/runtime-adapters): Hono is built on Web Standards, which allows it to run across diverse JavaScript runtimes. Runtime Adapters are the bridges that enable Hono to integrate into specific hosting environments, such as... ## Technical docs: Middleware Ecosystem - [Security Headers](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/middleware-ecosystem/security-headers): The "Security Headers" subsystem in Hono is designed to enforce secure communication policies by automatically injecting standard HTTP security headers into outgoing server responses. It addresses ... - [Authentication Middleware](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/middleware-ecosystem/authentication-middleware): Authentication middleware in Hono serves as the primary security layer for guarding routes, ensuring that incoming HTTP requests carry valid credentials before reaching the business logic. By lever... - [Traffic Control](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/middleware-ecosystem/traffic-control): Traffic control in Hono is a layered responsibility distributed across its core router, middleware ecosystem, and platform-specific adapters. Fundamentally, it provides the mechanisms for routing r... - [Utility Middleware](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/middleware-ecosystem/utility-middleware): Utility middleware in the Hono framework serves as the foundational layer for cross-cutting concerns, abstracting repetitive HTTP request/response tasks into composable, reusable units. By providin... ## Technical docs: Developer Helpers - [Schema Validation](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/developer-helpers/schema-validation): Schema Validation is a core mechanism in Hono that enables declarative runtime verification of incoming request data. By coupling request targets (e.g., json, query, param) with user-defined valida... - [RPC Client](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/developer-helpers/rpc-client): The Hono RPC Client is a type-safe interface generator that enables seamless communication between a frontend or client-side application and a Hono server. By leveraging TypeScript's inference capa... - [Static Generation](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/developer-helpers/static-generation): Static Generation (SSG) in Hono enables pre-rendering routes into static files during the build process, significantly improving performance by serving assets directly from the file system rather t... - [Testing Utilities](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/developer-helpers/testing-utilities): Testing utilities in Hono are designed to bridge the gap between development and production environments, providing a seamless way to simulate network requests and verify application behavior witho... ## Technical docs: System Utilities - [Cookie Handling](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/system-utilities/cookie-handling): Cookie handling in Hono is designed around web standards, providing a unified mechanism for parsing, serializing, and securing HTTP cookies across diverse serverless environments. By abstracting th... - [Cryptography and JWT](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/system-utilities/cryptography-and-jwt): Cryptography and JWT form a critical security layer within the Hono framework, providing robust mechanisms for identity verification, data integrity, and secure transport state management. The arch... - [HTTP Helpers](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/technical/system-utilities/http-helpers): "HTTP Helpers" in Hono serve as a modular suite of utility functions designed to abstract the complexities of standard web interfaces into developer-friendly APIs. By wrapping common HTTP tasks—suc... ## User guide: Getting Started - [Installation and Setup](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/getting-started/installation-and-setup): Hono is a web framework built on Web Standards, designed to be fast, lightweight, and compatible with a wide range of JavaScript runtime environments including Node.js, Bun, Deno, Cloudflare Worker... - [Basic Routing](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/getting-started/basic-routing): Basic routing in Hono allows you to map incoming HTTP requests to specific handler functions. By defining paths and HTTP methods, you control how your application responds to different traffic dire... ## User guide: Core Concepts - [Context API](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/core-concepts/context-api): The Context object is the heart of every request in this framework. It acts as a bridge between the incoming HTTP request and the outgoing response, providing you with tools to read environment var... - [Request Handling](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/core-concepts/request-handling): In Hono, request handling revolves around the HonoRequest object, which is accessible via the context object (c.req) inside your route handlers. It provides a robust, developer-friendly interface t... - [Response Handling](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/core-concepts/response-handling): Response handling in Hono is managed through the Context object, which provides a unified API for generating HTTP responses. Whether you are returning plain text, JSON, or HTML, the Context ensures... ## User guide: Built-In Middleware - [Authentication and Security](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/middleware/authentication-and-security): Authentication and security are critical components of any web application. This library provides built-in middleware to handle standard authentication patterns and protect your application against... - [Utility Middleware](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/middleware/utility-middleware): Utility middleware provides standard tools to enhance your application's request handling, such as logging traffic, compressing responses, and managing request payloads. These components are design... - [Serving Static Files](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/middleware/serving-static-files): The Serve Static feature allows your Hono application to host files such as images, stylesheets, or client-side scripts directly from your server's filesystem or a storage service. ## User guide: Advanced Features - [JSX and Rendering](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/advanced-features/jsx-and-rendering): Hono provides a lightweight, high-performance JSX engine designed to work seamlessly with web standards. It allows you to build HTML components using JSX syntax and render them directly within your... - [Type-Safe RPC Client](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/advanced-features/type-safe-rpc-client): The Type-Safe RPC Client allows you to consume your API with full TypeScript support. By importing your server's application type, the client automatically provides autocomplete for your endpoints,... - [Runtime Adapters](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/advanced-features/runtime-adapters): Runtime Adapters allow you to run your Hono application on various serverless and runtime environments. Each adapter acts as a bridge, translating the unique requests and responses of a specific pl... ## User guide: Troubleshooting - [Handling Errors](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/guide/troubleshooting/handling-errors): Hono provides a robust way to manage application errors, allowing you to catch failures and throw specific HTTP exceptions when issues arise. ## Optional - [Full Documentation](https://www.doc0.dev/docs/552ca36e-f67e-41c3-a07a-def9bd9551b0/llms-full.txt): Complete documentation content in a single file