awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

21 个仓库

Awesome GitHub RepositoriesHTTP Request Routing

Mechanisms for mapping HTTP paths, including wildcards, to specific handler components.

Distinct from HTTP Request Dispatching: Specializes general request dispatching into path-based routing for serverless components.

Explore 21 awesome GitHub repositories matching networking & communication · HTTP Request Routing. Refine with filters or upvote what's useful.

Awesome HTTP Request Routing GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • chimurai/http-proxy-middlewarechimurai 的头像

    chimurai/http-proxy-middleware

    11,132在 GitHub 上查看↗

    这是一个 Node.js HTTP 反向代理中间件,旨在将传入的 HTTP 和 WebSocket 流量路由到目标后端服务。它作为一个动态路由引擎和 API 网关工具,提供了将多个后端服务整合到单一入口点的能力。 该中间件具有 WebSocket 代理桥接功能,可管理协议升级握手以维持持久的双向通信。它还包括一个请求和响应转换器,用于在传输过程中拦截和修改头部、主体和 URL 路径。 该系统提供了广泛的流量管理功能,包括通过 glob 匹配和路径模式进行请求过滤,以及动态请求路由。它支持通过路径重写、Cookie 属性调整以及请求或响应主体修改来进行详细的数据转换。 该项目使用 TypeScript 编写。

    Implements a routing engine to direct network requests to different target servers using path patterns and glob matching.

    TypeScript
    在 GitHub 上查看↗11,132
  • twitchtv/twirptwitchtv 的头像

    twitchtv/twirp

    7,517在 GitHub 上查看↗

    Twirp 是一个 Protocol Buffers RPC 框架,旨在实现基于 HTTP 的类型安全、分布式微服务通信。它作为一个微服务通信框架和 API 代码生成器,从模式定义中生成强类型的客户端存根和服务器接口,以消除手动网络样板代码。 该框架通过在标准 HTTP 传输上执行远程过程调用,确保与现有 Web 基础设施的兼容性。它使用模式驱动的契约作为单一事实来源,以实现跨语言互操作性并将业务逻辑与网络传输解耦。 该系统涵盖了几个核心能力领域,包括接口驱动的路由、支持 JSON 和二进制的多格式数据序列化,以及用于横切关注点的请求生命周期中间件。它还提供了一个标准化的错误映射系统,将服务故障转换为机器可读的代码,并包括用于客户端兼容性验证的工具。

    Maps incoming HTTP requests to specific service methods using routing logic derived from API interfaces.

    Go
    在 GitHub 上查看↗7,517
  • fermyon/spinfermyon 的头像

    fermyon/spin

    6,443在 GitHub 上查看↗

    Spin is a WebAssembly serverless framework and development toolchain for building and running portable microservices. It functions as an event-driven orchestrator and runtime that executes WebAssembly components, allowing developers to map HTTP requests, Redis messages, and cron schedules to specific modules. The project distinguishes itself by implementing a Wasm-based AI inference gateway, enabling components to perform model inference and generate text embeddings. It utilizes the WebAssembly Component Model and WASI for language-agnostic composition and portable host interfacing, while emp

    Maps incoming HTTP requests to specific components using exact paths or wildcards.

    Rust
    在 GitHub 上查看↗6,443
  • robbiehanson/cocoahttpserverrobbiehanson 的头像

    robbiehanson/CocoaHTTPServer

    5,609在 GitHub 上查看↗

    CocoaHTTPServer is a lightweight embedded web server designed to handle incoming network requests and serve local application content. The project implements Bonjour-based service discovery to broadcast server availability on local networks and supports WebDAV for remote file management, allowing files to be created, moved, and edited over HTTP. Network security is handled through certificate-based TLS encryption and password-based resource authentication. Request routing is managed via a delegate-based system, while concurrent connections are handled using Grand Central Dispatch.

    Routes incoming HTTP requests to specific application logic through a set of defined callback methods.

    Objective-C
    在 GitHub 上查看↗5,609
  • flatiron/directorflatiron 的头像

    flatiron/director

    5,575在 GitHub 上查看↗

    Director is a routing library for JavaScript that handles URL and command-line pattern matching across client-side, server-side, and CLI environments. It provides a unified approach to defining routes as nested object literals, where each key maps to a URL segment and its handler, supporting both hash fragment monitoring and the HTML5 History API for browser navigation without page reloads. The library distinguishes itself through its ability to operate in multiple contexts with a single routing paradigm. It supports asynchronous handler queue execution for sequential tasks like authenticatio

    Matches incoming HTTP request method and path against a routing table and dispatches the associated handler function.

    JavaScript
    在 GitHub 上查看↗5,575
  • nginx/unitnginx 的头像

    nginx/unit

    5,560在 GitHub 上查看↗

    NGINX Unit is an open-source application server designed to natively execute code across multiple programming language runtimes and WebAssembly within a single process. It serves as a multi-language application server that can run applications written in Go, Java, Node.js, Perl, PHP, Python, Ruby, and WebAssembly side by side, without requiring separate runtime environments for each language. The server distinguishes itself through a RESTful JSON control API that enables dynamic, zero-downtime configuration changes without restarting the server. It combines event-driven asynchronous I/O with

    Directs incoming HTTP requests to different handlers based on URL, headers, cookies, or other request properties.

    C
    在 GitHub 上查看↗5,560
  • servicestack/servicestackServiceStack 的头像

    ServiceStack/ServiceStack

    5,498在 GitHub 上查看↗

    ServiceStack 是一个高性能 .NET Web 框架,专为使用强类型请求和响应对象构建类型安全的 API 而设计。它作为一个基于消息的 API 引擎,将业务逻辑与传输层解耦,允许通过包括 HTTP、gRPC 和各种消息队列提供商在内的多种协议公开服务。 该框架的特点是其类型安全的 API 生成器,它从跨多种语言的服务元数据中生成原生客户端 SDK 和数据传输对象。它还包括用于微服务编排的分布式服务网关、将 C# 对象直接转换为数据库记录的代码优先 ORM,以及用于安全令牌访问的集中式身份和访问管理系统。 其更广泛的功能面涵盖通过 Pub-Sub 和服务器发送事件(SSE)进行的异步消息传递和实时事件流。它为 JSON、XML、ProtoBuf 和 MessagePack 等格式提供全面的数据序列化支持,以及包括 JWT、API 密钥和阶梯式认证在内的集成认证流程。其他工具包括自动 CRUD API 生成、后台作业执行和管理仪表盘模板。

    Binds HTTP path and query data into strongly typed objects to route requests to specific service routines.

    C#c-sharpcsvframework
    在 GitHub 上查看↗5,498
  • nikic/fastroutenikic 的头像

    nikic/FastRoute

    5,270在 GitHub 上查看↗

    FastRoute 是一个 PHP 请求路由器,用于将传入的 HTTP 请求 URI 映射到特定的处理程序。它作为一个正则表达式路由器,将动态请求路径与模式进行匹配以提取变量并路由流量。 该项目作为缓存路由分发器运行,存储预计算的路由表,以消除每次请求时解析定义的开销。它利用正则表达式分组将多个路由模式组合成单个操作,从而减少了解析所需的匹配步骤总数。 该库通过使用占位符模式和可选段来涵盖动态 API 端点管理。它提供了基于组的前缀功能以组织端点,并允许通过替换解析器、数据生成器或分发器来实现自定义路由逻辑。

    Uses a cached routing mechanism to eliminate the overhead of parsing route definitions on every request.

    PHP
    在 GitHub 上查看↗5,270
  • dherault/serverless-offlinedherault 的头像

    dherault/serverless-offline

    5,257在 GitHub 上查看↗

    serverless-offline 是一个 Serverless Framework 插件,提供本地云基础设施模拟器。它充当 AWS Lambda 本地模拟器和 AWS API Gateway 模拟工具,允许在本地机器上开发和测试无服务器函数,而无需部署到远程提供商。 该项目的独特之处在于模拟双向 WebSocket 连接和消息路由,以及模仿 HTTP 网关的请求生命周期。它包含一个模拟身份验证器流水线,用于在本地验证令牌和 JWT,并支持将虚拟依赖层挂载到执行环境中。 该工具广泛涵盖了跨多种运行时的函数执行(具备隔离执行模式)、用于请求路由的云网关模拟,以及用于基于时间逻辑的定时事件触发模拟。它还提供了 SDK 调用模拟和请求上下文模拟功能,以促进本地集成测试。

    Implements mechanisms for mapping HTTP paths to specific handler components locally.

    JavaScriptaws-apigatewayaws-lambdaserverless
    在 GitHub 上查看↗5,257
  • googlechromelabs/sw-precacheGoogleChromeLabs 的头像

    GoogleChromeLabs/sw-precache

    5,190在 GitHub 上查看↗

    sw-precache 是一个 Service Worker 构建工具和预缓存生成器,生成 JavaScript 代码以对静态资产进行版本控制和存储。它作为一个命令行界面和 Node 模块,旨在实现离线功能并提高 Web 应用程序的加载速度。 该项目通过将构建时的资产发现与运行时的缓存编排器相结合而脱颖而出。它使用基于内容哈希的版本控制,仅在文件内容更改时触发更新,并采用基于模板的代码生成,将自定义路由规则和处理程序库注入到生成的 Service Worker 中。 该工具涵盖了广泛的缓存和流量管理功能,包括定义网络优先或缓存优先的检索策略。它通过将 URL 模式和 HTTP 方法映射到特定的处理程序来管理网络请求路由,以解决流量问题。

    Implements a routing system that maps URL patterns and HTTP methods to specific handlers within the service worker.

    JavaScriptjavascriptofflineoffline-first
    在 GitHub 上查看↗5,190
  • racket/racketracket 的头像

    racket/racket

    5,157在 GitHub 上查看↗

    Racket 是一种通用的、多范式编程语言,属于 Lisp 家族,专为语言创建而设计。它作为一个语言工作台,通过灵活的宏和模块系统,为设计和实现自定义编程语言提供了一个平台。 该系统的特色在于提供了一套全面的语义工程套件,允许构建专门的语言子集和教育层。它包括用于自定义语言设计的工具,如词法分析器和解析器生成,以及在读取时定义模块扩展规则和动态语言选择的能力。 该项目提供了一个集成开发环境,内置编辑器、可视化调试器和软件包管理器。其功能范围扩展到涵盖 2D 图形渲染、二进制数据处理、SQL 和演绎数据库集成以及图形用户界面构建的通用标准库。 该环境支持将源代码编译为独立的二进制可执行文件以进行分发。

    Implements mechanisms for mapping URLs to specific handler functions using a dispatch mechanism.

    Racketracket
    在 GitHub 上查看↗5,157
  • chenshenhai/koa2-notechenshenhai 的头像

    chenshenhai/koa2-note

    5,161在 GitHub 上查看↗

    koa2-note 是一个专注于 Koa2 Web 服务器开发和 Node.js 异步编程的项目。它提供了一个使用异步中间件管道处理请求和响应周期的 Web 服务器和 API 构建框架。 该项目强调分层后端架构,将路由、业务服务和数据模型解耦。其特色在于集成了用于持久化用户会话和应用数据的关系型数据库,以及包含用于前端资源 JSX 转 JavaScript 编译的构建过程。 功能范围涵盖后端 API 设计(包括 RESTful 路由和请求数据解析)以及使用模板引擎的服务器端渲染。它还包括对使用多部分流解析的异步文件上传、基于 Cookie 的会话管理以及用于跨域请求的 JSONP 实现的支持。 该仓库作为一个教育资源,提供了学习 Koa 框架实现和服务器架构的结构化教程和示例。

    Implements server-side routing to dispatch HTTP requests to appropriate handlers using middleware.

    course-noteskoakoa2
    在 GitHub 上查看↗5,161
  • yedf2/handyyedf2 的头像

    yedf2/handy

    4,653在 GitHub 上查看↗

    Handy is a C++11 network server framework and event-driven networking engine designed for building high-performance concurrent TCP and UDP servers. It functions as an asynchronous I/O library and an HTTP server implementation that separates asynchronous network I/O from synchronous business logic to simplify server development. The framework distinguishes itself by utilizing platform-specific event notifications to manage millions of simultaneous network connections and providing an SSL/TLS network wrapper for encrypted asynchronous data transmission. It implements a half-sync/half-async proc

    Maps incoming HTTP URL paths to specific handler functions to generate and send responses to web clients.

    C++cc-plus-plusconcurrent-programming
    在 GitHub 上查看↗4,653
  • sylar-yin/sylarsylar-yin 的头像

    sylar-yin/sylar

    4,661在 GitHub 上查看↗

    Sylar is a high-performance C++ asynchronous server framework and event-driven network library. It functions as a coroutine scheduler and HTTP server implementation designed to build network services using non-blocking I/O. The project distinguishes itself through a system call interceptor that hooks blocking socket and sleep APIs, transforming synchronous operations into non-blocking asynchronous events. It employs a user-space threading system to distribute lightweight tasks across a worker thread pool to maximize CPU utilization. The framework covers a broad range of networking and system

    Implements URI mapping with precise and fuzzy matching to dispatch web requests to handler functions.

    C++
    在 GitHub 上查看↗4,661
  • jing332/tts-server-androidjing332 的头像

    jing332/tts-server-android

    4,419在 GitHub 上查看↗

    tts-server-android 是一个 Android 系统级文本转语音服务,将合成请求路由到外部云 API 或本地引擎。它作为一个 HTTP 语音合成网关,将系统语音请求转换为用于远程云服务的可自定义 HTTP 请求。 该项目包括一个叙述对话解析器,使用引号来区分叙述和对话,从而允许不同的阅读风格。它还具有语音管理器和合成接口,以实现文本替换规则和自动重试,从而提高语音输出的准确性。 该服务涵盖了更广泛的功能,包括用于离线语音功能的本地引擎管理、云 API 路由以及通过基于规则的文本预处理进行的语音定制。

    Routes text requests to remote cloud servers using customizable HTTP configurations to retrieve audio streams.

    Kotlinandroidcompose-uigolang
    在 GitHub 上查看↗4,419
  • poem-web/poempoem-web 的头像

    poem-web/poem

    4,408在 GitHub 上查看↗

    Poem 是一个全面的工具包,用于使用 Rust 编程语言构建类型安全的 Web 应用、API 和服务器。它为开发处理具有强类型安全性的 HTTP 请求的 Web 服务器提供了基础。 该框架通过支持多种通信协议的协议无关处理程序映射而脱颖而出。这允许单个内部逻辑跨 HTTP、使用 protobuf 定义的 gRPC 服务以及用于 AI 模型集成的模型上下文协议(MCP)进行公开。此外,它还包括用于生成 OpenAPI v3 规范和交互式文档的内置工具。 该项目涵盖了广泛的功能,包括请求路由、基于特征(Trait)的中间件管道和会话管理。它提供安全功能,如基于 ACME 的自动 TLS 证书续期、CSRF 保护和 CORS 配置。其他集成功能包括通过 WebSocket 和服务器发送事件(SSE)进行的实时数据流、静态资源服务,以及用于分布式请求跟踪的 OpenTelemetry 集成。 该框架旨在支持多样化的部署目标,包括能够将 Web 应用作为云运行时内的事件驱动无服务器函数运行。

    Maps incoming HTTP request paths and host headers to specific handler functions.

    Rustfastapiframeworkhttp
    在 GitHub 上查看↗4,408
  • openai/plugins-quickstartopenai 的头像

    openai/plugins-quickstart

    4,238在 GitHub 上查看↗

    该项目是一个用于开发通过外部 API 扩展 ChatGPT 功能的插件的入门套件和样板。它作为构建工具的参考实现,使大语言模型能够通过有序的 API 调用和结构化数据映射来执行任务。 该仓库提供了集成 REST API 的模板,以及用于保护语言模型与第三方服务端点之间通信的指南。它专注于设置代理与私有后端服务器之间的身份验证和握手机制。 该实现涵盖了外部 API 集成的定义以及语言模型代理工具的开发。这些功能包括执行 API 调用以及配置身份验证以保护与第三方应用的通信。

    Directs AI-generated requests to specific external endpoints based on API interface definitions.

    Pythonchatgptchatgpt-plugins
    在 GitHub 上查看↗4,238
  • gee1k/upicgee1k 的头像

    gee1k/uPic

    3,701在 GitHub 上查看↗

    uPic is a native macOS application designed for uploading images and files to cloud hosting services and private backends. It functions as a cloud image hosting tool and a custom API upload client that generates formatted links for shared content. The project distinguishes itself by allowing users to configure private backend endpoints with specific HTTP methods, headers, and server URLs. It converts uploaded file addresses into Markdown or HTML snippets, which are then written back to the system clipboard via customizable URL templates. The application integrates with macOS system framework

    Enables flexible backend integration by configuring specific HTTP methods and custom headers for file routing.

    Swift
    在 GitHub 上查看↗3,701
  • serverless/event-gatewayserverless 的头像

    serverless/event-gateway

    1,647在 GitHub 上查看↗

    The Event Gateway is a unified routing layer designed to connect HTTP requests and cloud events to serverless functions across multiple providers and infrastructure environments. It functions as a centralized platform for managing event-driven architectures, enabling developers to register, map, and trigger remote functions in response to incoming web traffic or asynchronous system events. The platform distinguishes itself through a plugin-based middleware pipeline that allows for custom logic execution during the request lifecycle, enabling developers to intercept, validate, or transform eve

    Dispatches incoming HTTP requests and cloud events to backend destinations including serverless functions and message queues.

    Godataflowevent-drivenevent-router
    在 GitHub 上查看↗1,647
  • streamich/json-joystreamich 的头像

    streamich/json-joy

    1,079在 GitHub 上查看↗

    json-joy 是一个用于构建实时协作应用和分布式系统的综合库。它提供了一个强大的框架,用于管理共享的 JSON 类数据结构,这些结构会自动合并来自多个用户的并发编辑,确保所有副本之间的一致状态,而无需中央协调服务器。 该项目通过高性能的数据处理方法脱颖而出,利用无冲突复制数据类型(CRDT)和基于逻辑时钟的同步来维护数据完整性。它包含一个专门的引擎,用于使用标准化的指针语法导航和操作复杂的嵌套对象,以及一个用于对文档应用细粒度、原子修改的工具包。这些功能辅以一个支持紧凑二进制格式的高速序列化库,以优化网络带宽和存储效率。 除了核心同步逻辑外,该库还提供了一套广泛的响应式状态管理和用户界面集成工具。它提供声明式的 Hooks 和组件,将共享数据模型直接绑定到基于 Web 的文本和代码编辑器,从而实现实时在线状态、远程光标渲染和本地历史记录跟踪等功能。该系统还支持高级数据处理,包括模式验证、表达式求值和高性能的树状数据组织。

    Matches incoming HTTP requests to handlers using a high-performance routing engine.

    TypeScriptcborcollaborationcollaborative
    在 GitHub 上查看↗1,079
上一个12下一个
  1. Home
  2. Networking & Communication
  3. HTTP Request Dispatching
  4. HTTP Request Routing

探索子标签

  • Cached DispatchersRequest dispatchers that use cached lookup tables to resolve handlers with minimal overhead. **Distinct from HTTP Request Routing:** Specifically emphasizes the caching of the routing table, unlike the general HTTP request routing candidate.
  • Custom Header RoutingRouting HTTP requests based on custom headers and method configurations for API integration. **Distinct from HTTP Request Routing:** Focuses on configuring specific headers and methods for routing rather than just path-based mapping
  • Delegate-Based RoutingRoutes HTTP requests to application logic using a delegate pattern with callback methods. **Distinct from HTTP Request Routing:** Focuses on the delegate pattern for routing rather than general path mapping or interface-generated logic.
  • Interface-Based Request Routing1 个子标签Maps incoming HTTP requests to specific service methods based on generated logic derived from API interfaces. **Distinct from HTTP Request Routing:** Focuses on routing derived from API definitions rather than general HTTP path mapping.