awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
h3js avatar

h3js/h3

0
View on GitHub↗
5,353 stele·336 fork-uri·TypeScript·MIT·9 vizualizărih3.dev↗

H3

Hono este un framework HTTP JavaScript minimal conceput pentru construirea de servere web pe mai multe runtime-uri, inclusiv Node.js, edge runtimes și platforme serverless. Acesta funcționează ca un server web cross-runtime și un wrapper pentru API-urile web standard, normalizând diverse obiecte de cerere și răspuns ale runtime-urilor în semnături standard Web API.

Proiectul servește drept orchestrator de middleware HTTP și handler de cereri, utilizând un pipeline de cereri bazat pe middleware și montarea ierarhică a rutelor pentru a crea structuri de server modulare. Se distinge printr-un wrapper de evenimente agnostic față de runtime, care asigură un comportament consistent indiferent de mediul de deployment.

Framework-ul acoperă o gamă largă de capabilități, inclusiv rutarea cererilor HTTP cu capturarea dinamică a parametrilor, comunicare WebSocket în timp real și măsuri de securitate cuprinzătoare, cum ar fi gestionarea CORS și autentificarea de bază. De asemenea, oferă utilitare pentru gestionarea sesiunilor prin cookie-uri, servirea activelor statice și gestionarea traficului prin proxy-uri de cereri și redirecționări URL.

Proiectul este implementat în TypeScript.

Features

  • Runtime Agnostic Architectures - Uses a runtime-agnostic event wrapper to ensure consistent server behavior across Node.js, Deno, Bun, and edge runtimes.
  • Cross-Runtime Web Servers - Provides a web server implementation that operates consistently across Node.js, edge runtimes, and serverless platforms.
  • HTTP Request Routing - Implements a system for mapping incoming HTTP methods and URL paths to specific handler functions.
  • Middleware-Based Request Pipelines - Processes HTTP requests through a sequential chain of pluggable middleware interceptors.
  • Middleware-Based Servers - Implements a web server that processes requests through a sequence of modular middleware components.
  • Context Sharing - Stores and retrieves arbitrary metadata to pass information between different event handlers.
  • Request Context State - Provides request-scoped storage to share arbitrary metadata between middleware hooks and request handlers.
  • HTTP Request Handlers - Maps incoming HTTP traffic to specific typed handler functions for request processing.
  • HTTP Frameworks - Serves as a minimal, high-performance framework for building web servers across multiple JavaScript runtimes.
  • HTTP Handler Adapters - Wraps legacy request-response callbacks and modern web handlers to normalize them into a consistent internal event signature.
  • HTTP Request-Response Object Layers - Accesses incoming request details and modifies outgoing response headers through a unified event object.
  • Middleware Orchestration - Provides systems for managing request processing pipelines and reusable logic through a middleware orchestration layer.
  • Environment Runtime Adapters - Adapts applications to run across various environments, including edge runtimes and serverless platforms, via environment mapping.
  • Catch-All Path Captures - Supports catch-all patterns to resolve requests across multiple levels of sub-routes.
  • Route Parameter Accessors - Provides hooks to retrieve dynamic URL parameters and route metadata within handlers.
  • Route Parameter Captures - Provides utilities to extract named segments from URL paths as variables for route handlers.
  • Standards-Based Request Handlers - Adapts functions using the Request-Response signature into compatible event handlers for various runtimes.
  • Hierarchical Routing - Organizes server logic through nested sub-applications mounted under specific path prefixes for modular route structures.
  • Web APIs - Provides a strongly typed interface for handling incoming data and sending responses using standard web API signatures.
  • Web Response Generation - Converts objects, strings, and binary data into standard web responses with appropriate content types.
  • Web-Standard Request Abstractions - Converts various input types into a standard web Request object based on available headers.
  • API Wrappers - Normalizes various runtime request and response objects into standard Web API signatures.
  • Request Validation - Parses, validates, and extracts data from incoming HTTP requests using specialized helpers.
  • HTTP Cache Headers - Manages HTTP Cache-Control and Last-Modified headers to optimize browser and proxy caching.
  • HTTP Cookie Management - Parses request headers into key-value pairs and manages the setting and deletion of cookies.
  • Server-Sent Events - Implements Server-Sent Events to push real-time updates from the server to the client over a single connection.
  • Handler Adaptations - Transforms legacy Node.js request-response callbacks into compatible event handlers for cross-runtime usage.
  • Basic Authentication - Validates user credentials using the standard HTTP Basic Authentication scheme to protect routes.
  • Request Method Filters - Enforces expected HTTP methods for endpoints and returns 405 errors for unsupported methods.
  • Cross-Origin Resource Sharing (CORS) Policies - Manages Cross-Origin Resource Sharing by validating origins and handling preflight requests.
  • Application Logic Extensions - Allows injecting reusable logic into server instances via plugin functions to add shared middleware and modify behavior.
  • Application Integration - Integrates nested server instances by merging routes and middleware under specific URL prefixes.
  • Request Interception Middleware - Provides architectural patterns for routing traffic through security and logging layers before the final handler.
  • Request Validation - Validates query parameters and request bodies using schema libraries to return parsed data or errors.
  • Request Parameter Type-Hinting - Assigns generic types to event handlers to provide automatic typing for request bodies and query parameters.
  • Route Property Attachments - Allows storing custom properties on route definitions that middleware can access to control behavior.
  • Asynchronous Data Streams - Sends a sequence of data chunks to the client supporting mixed synchronous and asynchronous content.
  • Global Error Handlers - Provides a system for managing application-wide error reporting and converting errors to graceful HTTP responses.
  • Descriptive HTTP Error Responses - Throws structured errors to terminate requests with specific status codes and JSON payloads.
  • Incremental Response Streaming - Provides incremental response streaming to reduce perceived latency by sending data as it is produced.
  • Middleware Chains - Implements an architectural pattern for processing requests and responses through sequential middleware pipelines.
  • Global Middleware Registration - Allows registration of middleware that executes for every incoming request to handle cross-cutting concerns.
  • Real-Time Communication - Establishes bidirectional real-time communication channels between clients and the server using route-based WebSocket handlers.
  • Request Body Parsing - Reads the request body and parses it as JSON or URL search parameters.
  • Request Lifecycle Hooks - Provides mechanisms to intercept and modify request processing at specific stages of the lifecycle.
  • Request Metadata - Retrieves the hostname, client IP, and protocol from the incoming request.
  • Request Pipelines - Implements systems for intercepting and processing network requests through sequential lifecycle hooks.
  • Path Prefix Stripping - Removes specific URL path prefixes to simplify route matching within nested sub-applications.
  • Response Formatting - Converts returned values and headers into standard response objects before transmission.
  • Session State Management - Maintains user state and preferences across multiple requests using cookie-based session storage.
  • Universal Web Server Deployment - Runs a web server across multiple runtimes using a unified API for ports, TLS, and client context.
  • Static Asset Serving - Delivers static assets like HTML, CSS, and images using index files and caching mechanisms.
  • Web Security Hardening - Implements security headers and protections to harden the server against common web vulnerabilities.
  • Server Mounts - Integrates sub-server instances into the main framework using URL prefixes for modular composition.

Istoric stele

Graficul istoricului de stele pentru h3js/h3Graficul istoricului de stele pentru h3js/h3

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face h3js/h3?

Hono este un framework HTTP JavaScript minimal conceput pentru construirea de servere web pe mai multe runtime-uri, inclusiv Node.js, edge runtimes și platforme serverless. Acesta funcționează ca un server web cross-runtime și un wrapper pentru API-urile web standard, normalizând diverse obiecte de cerere și răspuns ale runtime-urilor în semnături standard Web API.

Care sunt principalele funcționalități ale h3js/h3?

Principalele funcționalități ale h3js/h3 sunt: Runtime Agnostic Architectures, Cross-Runtime Web Servers, HTTP Request Routing, Middleware-Based Request Pipelines, Middleware-Based Servers, Context Sharing, Request Context State, HTTP Request Handlers.

Care sunt câteva alternative open-source pentru h3js/h3?

Alternativele open-source pentru h3js/h3 includ: koajs/koa — Koa is a lightweight web framework for Node.js designed for building HTTP applications and servers. It functions as an… oakserver/oak — Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and… dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… salvo-rs/salvo — Salvo is a comprehensive Rust web framework for building asynchronous HTTP servers and web applications. It features a… elysiajs/elysia — Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a… graphql-hive/graphql-yoga — Yoga is a GraphQL server framework and runtime-agnostic HTTP handler used to build and deploy GraphQL APIs. It…

Alternative open-source pentru H3

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu H3.
  • koajs/koaAvatar koajs

    koajs/koa

    35,713Vezi pe GitHub↗

    Koa is a lightweight web framework for Node.js designed for building HTTP applications and servers. It functions as an asynchronous middleware engine that processes network requests through a sequence of functions sharing a common context. The framework distinguishes itself by using an onion-model middleware stack and promise-based flow control. This architecture allows requests to flow downstream and responses to flow back upstream through the same chain, enabling non-blocking request cycles and a modular approach to handling network traffic. The system provides high-level capabilities for

    JavaScriptkoa
    Vezi pe GitHub↗35,713
  • oakserver/oakAvatar oakserver

    oakserver/oak

    5,408Vezi pe GitHub↗

    Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and Cloudflare Workers. It provides a unified system for building APIs and web servers using a sequential chain of middleware functions and a hierarchical routing engine that maps URL paths to handlers via a nested tree structure. The framework includes a runtime-agnostic serverless adapter that translates diverse cloud provider events into a standard request and response interface. It also features a dedicated WebSocket server implementation for bidirectional real-time communication

    TypeScript
    Vezi pe GitHub↗5,408
  • dodyg/practical-aspnetcoreAvatar dodyg

    dodyg/practical-aspnetcore

    10,382Vezi pe GitHub↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    Vezi pe GitHub↗10,382
  • salvo-rs/salvoAvatar salvo-rs

    salvo-rs/salvo

    4,376Vezi pe GitHub↗

    Salvo is a comprehensive Rust web framework for building asynchronous HTTP servers and web applications. It features a hierarchical web router that uses a tree-based structure to map requests to handlers and an asynchronous middleware pipeline based on the onion model for request and response pre- and post-processing. The framework is distinguished by its native support for modern network protocols, including a QUIC-based HTTP/3 implementation alongside HTTP/1 and HTTP/2. It includes an integrated OpenAPI documentation generator that extracts schemas directly from handler signatures to produc

    Rustasyncframeworkhttp-server
    Vezi pe GitHub↗4,376
Vezi toate cele 30 alternative pentru H3→