9 مستودعات
Provides access to request-scoped data, authentication status, and platform-specific global objects within execution handlers.
Distinguishing note: Focuses on the runtime environment context provided to serverless functions rather than generic HTTP routing.
Explore 9 awesome GitHub repositories matching web development · Request Contexts. Refine with filters or upvote what's useful.
Hono is a lightweight web framework built on Web Standard APIs that executes across JavaScript runtimes including Cloudflare Workers, Deno, Bun, and Node.js.
Provides request-scoped data and platform-specific objects to handlers throughout the request lifecycle.
Rocket is a type-safe web framework designed for building server-side applications. It provides a high-performance asynchronous routing engine that maps incoming network traffic to concurrent handler functions, while managing the full lifecycle of web requests. The framework emphasizes compile-time verification, ensuring that request parameters, response types, and routing logic remain consistent throughout the development process. The framework distinguishes itself through its use of request guards, which act as a validation layer to intercept and transform incoming data into structured type
The framework stores data locally within the scope of a single request to ensure values are computed or generated at most once per request cycle.
FastMCP is a Python framework designed for building servers that expose functions, resources, and prompts to AI models using the Model Context Protocol. It simplifies the development process by automatically deriving tool metadata, input schemas, and documentation directly from Python function signatures and type hints. The framework provides a unified container for managing these components, allowing developers to build modular applications that integrate seamlessly with AI assistants. The project distinguishes itself through its support for interactive, server-defined user interface compone
Provides access to session-specific information by injecting a typed context object into tool functions.
Mastra is an orchestration framework designed for building, deploying, and managing autonomous AI agents and multi-agent systems. It provides a comprehensive suite of primitives for creating resilient AI applications, including durable workflow orchestration, event-driven agent loops, and semantic memory management. By integrating these core components, the platform enables developers to build complex, multi-step processes that can reason about goals and execute tasks without manual intervention. The framework distinguishes itself through its focus on observability and secure, isolated execut
Injects request-specific metadata into workflow steps to enable context-aware logic execution.
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
Assigns new properties to the request context after validation to ensure type integrity and safe access to data.
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
Injects web framework request data into the execution context for resolver access.
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
Adds custom data and convenience methods to the request object available inside route handlers.
Strawberry هي مكتبة GraphQL آمنة من حيث النوع لـ Python تتيح تصميم المخططات باستخدام تعليقات النوع (type annotations) و dataclasses في Python. تعمل كخادم GraphQL غير متزامن ومحرك تنفيذ، مما يوفر جسرًا لعرض المخططات عبر أطر عمل الويب المتوافقة مع ASGI مثل FastAPI و Django و Flask و Litestar. ينفذ المشروع GraphQL Federation، مما يسمح بإنشاء مخططات وكيانات موزعة تندمج في مخطط فائق موحد عبر خدمات متعددة. كما يتضمن مجموعة أدوات مخصصة لمواصفات Relay، تدعم تحديد الكائنات عالميًا والترقيم القائم على الاتصال. يغطي إطار العمل مجموعة واسعة من القدرات، بما في ذلك تدفق البيانات في الوقت الفعلي عبر WebSockets و Server-Sent Events، ورسم خرائط نماذج Pydantic، وتوليد الكود التلقائي. يوفر أدوات متكاملة للأمان والمراقبة، مثل تحديد تعقيد الاستعلام، والتحكم في الوصول القائم على الأدوار، وتتبع مقاييس التنفيذ. يمكن للمطورين إنشاء نماذج أولية باستخدام خادم تطوير مدمج مع واجهة فحص مخطط تفاعلية.
Provides a mechanism to inject request-scoped data and authentication state into the GraphQL execution context.
NestJS Access Control هو إطار عمل للتفويض قائم على الأدوار والسمات مصمم لنظام NestJS البيئي. يوفر نظاماً تعريفياً لتأمين مسارات وموارد التطبيق، مما يسمح للمطورين بفرض سياسات وصول دقيقة من خلال مزخرفات (decorators) قائمة على البيانات الوصفية. يتميز إطار العمل بدعم توريث الأدوار الهرمي، والذي يتيح حل مجموعات الأذونات المعقدة عن طريق اجتياز علاقات الأدوار الأصل والفرع. كما يسهل إدارة التفويض الديناميكي، مما يسمح بتحميل قواعد الأمان بشكل غير متزامن من مصادر بيانات خارجية أثناء مرحلة تمهيد التطبيق لضمان بقاء السياسات محدثة. بعيداً عن حماية المسار الأساسية، تقدم المكتبة تصفية على مستوى السمات لتقييد عمليات القراءة أو الكتابة على خصائص موارد محددة. تتكامل مباشرة مع حاوية حقن التبعية ودورة حياة الطلب، وتوفر أدوات لاستخراج هوية المستخدم ومعلومات الدور من الطلبات الواردة لكل من الإنفاذ المؤتمت وفحوصات الأذونات اليدوية المدركة للسياق.
Extracts user identity and role information from the request context for authorization checks.