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

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

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

23 个仓库

Awesome GitHub RepositoriesRequest Lifecycle Hooks

Mechanisms to intercept and modify request processing at specific stages.

Distinguishing note: Focuses on the pipeline execution model rather than generic middleware.

Explore 23 awesome GitHub repositories matching web development · Request Lifecycle Hooks. Refine with filters or upvote what's useful.

Awesome Request Lifecycle Hooks GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • vapor/vaporvapor 的头像

    vapor/vapor

    26,138在 GitHub 上查看↗

    Vapor is a comprehensive server-side web framework designed for building scalable, high-performance applications and APIs in Swift. It provides a non-blocking, event-loop-based runtime that manages concurrent task processing, background job queues, and asynchronous request handling. The framework is built around a dependency injection container that manages the lifecycle and resolution of services, configurations, and database connections throughout the request pipeline. The framework distinguishes itself through a protocol-oriented design that emphasizes type safety across all layers of the

    Provides hooks for validating or transforming data during the content lifecycle.

    Swiftframeworkhttphttp2
    在 GitHub 上查看↗26,138
  • apify/crawleeapify 的头像

    apify/crawlee

    24,002在 GitHub 上查看↗

    Crawlee is a web scraping framework designed for building scalable, reliable, and distributed data extraction pipelines. It provides a unified interface for managing headless browser automation and lightweight HTTP requests, allowing developers to handle complex web navigation, dynamic content rendering, and large-scale data collection within a single, modular architecture. The project distinguishes itself through its resource-aware concurrency controller, which dynamically scales task execution based on real-time CPU and memory usage to prevent host machine exhaustion. It also features a rob

    Monitors the progress of individual web requests through various stages to ensure reliable data extraction.

    TypeScriptapifyautomationcrawler
    在 GitHub 上查看↗24,002
  • saleor/saleorsaleor 的头像

    saleor/saleor

    22,610在 GitHub 上查看↗

    Saleor is a headless, API-first commerce platform designed to manage complex retail operations through a decoupled architecture. It provides a centralized backend that uses a GraphQL-based interface to handle product catalogs, order lifecycles, and multi-channel sales across diverse global markets. By separating the commerce engine from the storefront, the platform enables developers to build custom, high-performance shopping experiences while maintaining granular control over data interactions. The platform distinguishes itself through an event-driven architecture that allows for deep extens

    Enables external services to participate in the request lifecycle to influence checkout and fulfillment logic.

    Pythoncartcheckoutcommerce
    在 GitHub 上查看↗22,610
  • elysiajs/elysiaelysiajs 的头像

    elysiajs/elysia

    18,531在 GitHub 上查看↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    Provides lifecycle hooks to intercept and execute custom logic at specific stages of the request-response pipeline.

    TypeScriptbunframeworkhttp
    在 GitHub 上查看↗18,531
  • sindresorhus/kysindresorhus 的头像

    sindresorhus/ky

    16,943在 GitHub 上查看↗

    🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API

    Exposes hooks at initialization, before request, before retry, before error, and after response stages.

    TypeScriptfetchhttp-clienthttp-request
    在 GitHub 上查看↗16,943
  • forwardemail/superagentforwardemail 的头像

    forwardemail/superagent

    16,649在 GitHub 上查看↗

    Superagent is an isomorphic JavaScript HTTP client for sending network requests and processing responses across both Node.js and web browser environments. It provides a fluent request builder that uses a chainable interface to construct complex network requests with custom headers, query strings, and bodies. The library functions as a runtime-agnostic request adapter, allowing a single codebase to work consistently across different environments. It includes specialized capabilities such as an HTTP/2 client for forcing the HTTP/2 protocol and a Node.js agent for managing Unix socket connection

    Extends request behavior by executing a sequence of plugin-based middleware functions during the request cycle.

    JavaScript
    在 GitHub 上查看↗16,649
  • getgrav/gravgetgrav 的头像

    getgrav/grav

    15,395在 GitHub 上查看↗

    Grav is a flat-file content management system that eliminates the need for a traditional database by storing site content and configuration in human-readable Markdown and YAML files. Built as a modular PHP web framework, it uses a hierarchical page routing system where the physical directory structure directly determines the site's URL paths. The platform is distinguished by its event-driven plugin architecture and a command-line interface that prioritizes system administration, deployment, and maintenance tasks. It utilizes a blueprint-driven system to generate administrative forms from stru

    Provides hooks to intercept and modify system behavior at specific stages of the request processing cycle.

    PHPcmscontentcontent-management
    在 GitHub 上查看↗15,395
  • sindresorhus/gotsindresorhus 的头像

    sindresorhus/got

    14,915在 GitHub 上查看↗

    Got is a promise-based HTTP request library for Node.js that supports HTTP/2 and streaming. It provides a system for making network requests with a focus on asynchronous control flow and type-safe API client development. The library is distinguished by its middleware-based request lifecycle, which uses interceptors and plugins to modify request options and response data. It includes a configurable automatic retry mechanism with backoff strategies, a built-in HTTP response cache, and a cookie-jar system for maintaining persistent sessions. Broad capabilities cover data handling through duplex

    Implements lifecycle hooks to execute custom functions at specific stages of the request process.

    TypeScripthttphttp-clienthttp-request
    在 GitHub 上查看↗14,915
  • hapijs/hapihapijs 的头像

    hapijs/hapi

    14,789在 GitHub 上查看↗

    Hapi is a configuration-driven web framework for building secure and scalable HTTP servers and APIs on the Node.js runtime. It functions as a REST API development framework and an enterprise server implementation focused on stability, security, and comprehensive input validation. The framework is built around a plugin-based architecture, allowing core functionality and custom logic to be organized into modular, registerable plugins. It serves as an HTTP request lifecycle manager, enabling the interception and modification of requests through pre-handlers and extensions before they reach the f

    Provides hooks to intercept and modify URLs, methods, or responses at specific stages of the request lifecycle.

    JavaScriptapplicationframeworkhapi
    在 GitHub 上查看↗14,789
  • forwardemail/supertestforwardemail 的头像

    forwardemail/supertest

    14,373在 GitHub 上查看↗

    🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

    Intercepts request preparation and response parsing to inject authentication and transformation logic.

    JavaScriptassertionsnodesuperagent
    在 GitHub 上查看↗14,373
  • apollographql/apollo-serverapollographql 的头像

    apollographql/apollo-server

    13,943在 GitHub 上查看↗

    Apollo Server is a spec-compliant JavaScript implementation for building GraphQL APIs that resolve queries and mutations based on a defined schema. It functions as a Node.js framework that integrates GraphQL functionality into various web frameworks and serverless environments through middleware. The project provides a federated GraphQL gateway that aggregates multiple distributed subgraphs into a single unified entry point. It includes a built-in interactive API sandbox for testing operations at the server endpoint and a schema registry client to automate the synchronization of API definitio

    Provides extensibility to intercept and modify GraphQL request processing at specific stages like resolution or error handling.

    TypeScript
    在 GitHub 上查看↗13,943
  • googlechrome/workboxGoogleChrome 的头像

    GoogleChrome/workbox

    12,895在 GitHub 上查看↗

    Workbox is a modular library and toolkit designed for managing service workers in progressive web applications. It provides a comprehensive framework for handling asset caching, request routing, and background script lifecycle management, enabling developers to build web applications that function reliably offline and load efficiently. The project distinguishes itself through a declarative routing engine and a plugin-based architecture that allows for the injection of custom logic into the request and response processing pipeline. It supports advanced caching patterns, such as cache-first or

    Allows the injection of custom logic into the request and response processing pipeline to modify or monitor network operations.

    JavaScriptoffline-firstprogressive-web-appservice-worker
    在 GitHub 上查看↗12,895
  • 99designs/gqlgen99designs 的头像

    99designs/gqlgen

    10,729在 GitHub 上查看↗

    gqlgen is a schema-first Go library designed to build type-safe GraphQL servers. It functions as a code generation engine that transforms declarative GraphQL schema definitions into strongly-typed Go source code, ensuring strict alignment between the API contract and the underlying implementation. The framework distinguishes itself through its deep integration with the Go type system and its highly extensible build pipeline. By using schema-first development, it automates the creation of server boilerplate and resolver stubs, allowing developers to map schema fields directly to Go structs and

    Hooks into the request lifecycle to perform custom logic like authentication, logging, or performance monitoring.

    Gocodegendataloadergogenerate
    在 GitHub 上查看↗10,729
  • ruby-grape/graperuby-grape 的头像

    ruby-grape/grape

    9,990在 GitHub 上查看↗

    Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr

    Provides hooks to execute custom logic before or after endpoint processing to handle cross-cutting concerns.

    Ruby
    在 GitHub 上查看↗9,990
  • mark3labs/mcp-gomark3labs 的头像

    mark3labs/mcp-go

    8,806在 GitHub 上查看↗

    mcp-go is a Go implementation of the Model Context Protocol (MCP) providing an SDK and framework for building servers that connect large language model applications to external tools and data sources. It serves as a developer kit for implementing bidirectional communication and structured data exchange between AI clients and servers. The framework enables the creation of executable tools with structured output schemas, reusable prompt templates, and data resource exposure via URI templates. It supports multiple transport layers, including stdio, HTTP, and Server-Sent Events, using a transport

    Includes mechanisms to intercept the request flow for telemetry and communication pattern observation.

    Go
    在 GitHub 上查看↗8,806
  • xianhu/learnpythonxianhu 的头像

    xianhu/LearnPython

    8,484在 GitHub 上查看↗

    LearnPython is a programming tutorial consisting of a collection of practical code examples used to demonstrate Python language features and programming patterns. It serves as a comprehensive learning resource that implements core language concepts through functional code. The project provides specialized guides and samples covering several key domains. These include asynchronous network programming with event loops and coroutines, data visualization using numerical datasets for 2D and 3D plots, and web scraping for fetching content and automating login flows. It also features instructions on

    Implements mechanisms to intercept and execute logic before or after HTTP requests.

    Jupyter Notebooklearning-pythonpythonpython-flask
    在 GitHub 上查看↗8,484
  • inertiajs/inertiainertiajs 的头像

    inertiajs/inertia

    7,708在 GitHub 上查看↗

    Inertia is a server-driven frontend framework designed to create monolithic single page applications. It acts as a state synchronization protocol and client-side routing bridge, allowing developers to build interactive experiences using modern JavaScript component libraries while keeping routing and controllers on the server. This approach eliminates the need for a separate REST or GraphQL API layer by passing data from server controllers to frontend components as props via JSON payloads. The framework distinguishes itself by utilizing adapter-based integration to link various backend environ

    Executes custom logic at specific request stages, including before starting, on success, on error, or upon completion.

    TypeScript
    在 GitHub 上查看↗7,708
  • h3js/h3h3js 的头像

    h3js/h3

    5,353在 GitHub 上查看↗

    Hono 是一个极简的 JavaScript HTTP 框架,旨在跨多个运行时(包括 Node.js、边缘运行时和无服务器平台)构建 Web 服务器。它作为一个跨运行时 Web 服务器和 Web 标准 API 包装器,将各种运行时的请求和响应对象标准化为标准的 Web API 签名。 该项目作为 HTTP 中间件编排器和请求处理器,利用基于中间件的请求管道和分层路由挂载来创建模块化服务器结构。它通过一个运行时无关的事件包装器脱颖而出,确保无论部署环境如何,行为都保持一致。 该框架涵盖了广泛的功能,包括带有动态参数捕获的 HTTP 请求路由、实时 WebSocket 通信,以及 CORS 管理和基本身份验证等全面的安全措施。它还提供了通过 Cookie 进行会话管理、静态资产服务以及通过请求代理和 URL 重定向进行流量管理的实用程序。 该项目使用 TypeScript 实现。

    Provides mechanisms to intercept and modify request processing at specific stages of the lifecycle.

    TypeScript
    在 GitHub 上查看↗5,353
  • unjs/ofetchunjs 的头像

    unjs/ofetch

    5,316在 GitHub 上查看↗

    ofetch is an HTTP client built on the native fetch API that adds automatic JSON serialization, request/response interceptors, configurable retry, and timeout handling. It provides descriptive error objects for non-OK responses and automatically parses response bodies based on their content type. The client supports creating pre-configured instances with preset base URLs, headers, and default options, enabling consistent configuration across a project. It offers full TypeScript type inference for response data and request payloads, and allows extending request options with custom properties wh

    Provides async hooks for logging, authentication, and dynamic modification during request lifecycle.

    TypeScript
    在 GitHub 上查看↗5,316
  • async-graphql/async-graphqlasync-graphql 的头像

    async-graphql/async-graphql

    3,671在 GitHub 上查看↗

    async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses procedural macros to automatically generate schemas from native language structures, ensuring consistency between the data model and the API specification. The project provides native support for Apollo Federation v2, allowing entities and fields to be shared and resolved across multiple distributed subgraphs. It also implements real-time data streaming via WebSocket subscriptions and asynchronous event streams. The framework includes a wide array of capabilities for schema design, su

    Provides mechanisms to intercept and modify the GraphQL request processing pipeline at specific stages.

    Rust
    在 GitHub 上查看↗3,671
上一个12下一个
  1. Home
  2. Web Development
  3. Request Lifecycle Hooks