25 مستودعات
Reusable logic components that execute globally or on specific routes to extend application functionality.
Distinguishing note: General purpose middleware execution distinct from specific pipeline architectures.
Explore 25 awesome GitHub repositories matching web development · Middleware. Refine with filters or upvote what's useful.
Video.js is a customizable HTML5 video player framework and JavaScript media plugin system. It provides a foundation for rendering and controlling web video playback across different devices and screen sizes, supporting both standard HTML5 integration and adaptive bitrate streaming for live or on-demand content. The project is distinguished by a modular architecture that allows for the extension of playback functionality through a class-based plugin system and middleware-based method interception. This enables the development of tailored media interfaces and the integration of specialized beh
Uses middleware to wrap and modify getters and setters for controlling property updates.
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
Allows bundling multiple functions into reusable middleware groups to simplify application logic configuration.
Echo is a high-performance, lightweight web framework for Go designed for building scalable RESTful APIs and web services. It provides a centralized environment for mapping network requests to handler functions, utilizing a fast radix-tree routing engine to ensure efficient request dispatching. The framework is built around a modular, middleware-centric pipeline that allows developers to execute reusable logic for cross-cutting concerns like authentication, logging, and security across the entire application. What distinguishes Echo is its focus on developer productivity through structured da
Executes reusable logic globally or on specific routes to extend application functionality.
Redux-Saga is a middleware library for Redux applications that manages asynchronous data flows and complex side effects. It serves as a decoupled state management effect layer and workflow orchestrator, utilizing JavaScript generator functions to pause and resume asynchronous operations without blocking the application. The library distinguishes itself by using generators to manage sequential or parallel tasks and state transitions outside of the main user interface thread. This approach allows for the coordination of complex asynchronous workflows, such as multi-step data fetching and API ca
Utilizes a system where generators yield descriptive effect objects that are executed by a central coordinator to ensure testability.
Redux-Saga is a middleware for managing complex asynchronous flows and side effects in Redux applications. It functions as an asynchronous state orchestrator and side effect manager that uses JavaScript generator functions to coordinate concurrent tasks and long-running background processes tied to a global state store. The system utilizes a generator-based effect middleware to handle external I/O and API requests outside of the main application logic. It provides a mechanism to start, pause, and cancel multiple asynchronous operations, allowing the application to prevent race conditions and
Intersects Redux actions to dispatch effect objects that are executed by the middleware and fed back into generators.
This project is a request router and web framework for the Go programming language. It provides a toolkit for matching incoming HTTP network requests to specific handler functions by evaluating criteria such as URL paths, request methods, headers, and hostnames. The framework distinguishes itself through its flexible matching capabilities, which include support for regular expressions and dynamic variable extraction from URL segments. It allows developers to organize routes into logical hierarchies, share common path prefixes, and maintain a central registry of named routes to facilitate prog
Wraps web requests with reusable logic like logging, compression, or security headers.
Sanic is an asynchronous Python web framework designed for building high-performance APIs and services. It operates as a production-ready ASGI web server, utilizing a non-blocking event loop to handle concurrent requests and maximize throughput. The framework is built to support scalable architectures, offering built-in worker process management to distribute traffic across available CPU cores. What distinguishes Sanic is its focus on modularity and developer-centric tooling. It features a blueprint-based system for organizing complex applications into pluggable components, alongside a robust
Allows wrapping endpoints with middleware logic to enforce cross-cutting concerns like authentication or logging.
This project is an educational framework designed to teach the fundamentals of building core distributed systems and web services from scratch in Go. It provides a collection of modular implementations that demonstrate how to construct essential infrastructure components, including web servers, remote procedure call systems, distributed caches, and database abstraction layers. The framework distinguishes itself by focusing on the internal mechanics of these systems rather than providing a high-level abstraction for production use. It covers the implementation of complex architectural patterns
Provides modular middleware components for intercepting and processing network requests within the framework.
Sinatra is a lightweight web framework for the Ruby programming language designed for building web applications and services. It provides a domain-specific language that maps HTTP verbs and URL patterns directly to executable code blocks, allowing developers to define routes and handle incoming network requests with minimal boilerplate. The framework distinguishes itself through a modular architecture that relies on a middleware pipeline to process, modify, or terminate connections. This design allows for the integration of external functionality by mixing modules into the core request-handli
Extends core functionality by plugging in reusable components to handle tasks like logging or authentication.
This project is a web framework performance benchmark suite and automated benchmarking orchestrator. It serves as a multi-language performance analysis tool designed to measure execution speed, throughput, and latency across various HTTP libraries and programming ecosystems. The system functions as an HTTP framework comparison tool that evaluates relative efficiency using consistent hardware and request patterns. It automates the build, deployment, and execution cycles necessary to collect stable performance data and compute metrics such as error rates and latency percentiles. The suite eval
Allows registration of middleware that runs globally across all routes to handle cross-cutting concerns.
Waku is a minimal React framework built around React Server Components. It renders components exclusively on the server for data fetching and server-side logic, then hydrates client components in the browser for interactivity. The framework supports hybrid rendering, mixing static prerendering at build time with dynamic per-request rendering within a single application, and allows independently loading slice components that can be static or dynamic. The framework distinguishes itself through its file-based routing system that defines pages, layouts, and API endpoints by placing files in a dir
Registers middleware functions that run on every request for cross-cutting concerns like logging.
Timber is a PHP library that integrates the Twig template engine into WordPress themes, providing an object-oriented framework for theme development. It wraps WordPress data — posts, terms, users, menus, and comments — in structured PHP classes, allowing developers to work with objects instead of raw arrays while keeping HTML markup separate from PHP logic through Twig templates. The library distinguishes itself by offering a complete set of tools for modern WordPress theme building. It includes a file-based template hierarchy with fallback chains, dynamic image manipulation with resizing, cr
Adds menus to the global template context so they are available on every page without repeated initialization.
Polka هو إطار عمل ويب Node.js بسيط ومحرك توجيه HTTP. يوفر تنفيذ خادم صغير الحجم مصمم لتقليل الحمل الزائد، وتعيين مسارات URL وطرق HTTP إلى وظائف معالجة محددة. يستخدم المشروع بنية قائمة على البرامج الوسيطة، حيث يعالج الطلبات من خلال سلسلة من الوظائف للتعامل مع مهام مثل التسجيل، والتفويض، وتعديل البيانات. يسمح بتنظيم هذه الوظائف في مجموعات عالمية ومفلترة حسب المسار للتحكم في ترتيب التنفيذ. يغطي إطار العمل قدرات الويب الأساسية بما في ذلك استخراج معلمات المسار، وتحليل URL الطلب مع التخزين المؤقت (Memoization)، وإدارة استجابات 404. كما يتضمن نظامًا مركزيًا لمعالجة الأخطاء لالتقاط الاستثناءات التي يتم طرحها داخل سلسلة البرامج الوسيطة. يمكن للمستخدمين تشغيل خادم HTTP جديد على منفذ معين أو إرفاق معالج الطلب بمثيل خادم موجود.
Restrict specific middleware functions to execute only when a request matches a defined base pathname.
Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata from source code and models to produce standardized OpenAPI specifications and interactive browser interfaces for exploring and testing web APIs. The project integrates a middleware component to serve these specifications and a Swagger UI for interactive API testing directly from a running application. It also provides a command-line exporter to extract specification files from application assemblies for use in CI/CD pipelines. The tool covers a wide range of capabilities in
Integrates as middleware to serve API specifications and interactive user interfaces directly from the running application.
ZenML is an extensible machine learning orchestration framework designed to manage the end-to-end lifecycle of data pipelines and AI agent workflows. It functions as a durable orchestrator that executes machine learning tasks as directed acyclic graphs, ensuring that every step is containerized for consistent performance across local, cloud, and hybrid infrastructure. By decoupling pipeline code from underlying compute and storage backends, the platform allows developers to define infrastructure-agnostic stacks that remain portable across diverse environments. The project distinguishes itself
Enforces cross-cutting security and logging concerns across all pipeline endpoints using custom ASGI middleware.
Hono is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including Node.js, edge runtimes, and serverless platforms. It functions as a cross-runtime web server and a web standard API wrapper, normalizing various runtime request and response objects into standard Web API signatures. The project serves as an HTTP middleware orchestrator and request handler, utilizing a middleware-based request pipeline and hierarchical route mounting to create modular server structures. It distinguishes itself through a runtime-agnostic event wrapper that ensures c
Allows registration of middleware that executes for every incoming request to handle cross-cutting concerns.
ihp هو إطار عمل ويب آمن من حيث الأنواع (type-safe) ومنسق تطبيقات متكامل مصمم لـ PostgreSQL. يعمل كإطار عمل للرسم من جانب الخادم (SSR) وORM آمن من حيث الأنواع يقوم تلقائيًا بإنشاء أنواع السجلات من مخططات SQL لضمان التحقق من الاستعلامات في وقت التجميع. تتميز المنصة بالتحقق من التوجيه، واستعلامات قاعدة البيانات، والقوالب في وقت التجميع لمنع الأعطال في وقت التشغيل. وتنفذ واجهات ويب في الوقت الفعلي باستخدام WebSockets لمزامنة البيانات الفورية وتستخدم الوسائط المتعددة التي يحركها الخادم (server-driven hypermedia) لتصحيح DOM الجزئي. يغطي إطار العمل مجموعة واسعة من الإمكانيات المتكاملة، بما في ذلك إدارة هوية المستخدم مع دعم مفاتيح المرور (passkeys) وOAuth، وطبقة تخزين بيانات كاملة مع عمليات ترحيل آلية، ونظام عرض واجهة مستخدم شامل مع قوالب HTML آمنة من حيث الأنواع. كما يوفر أدوات مدمجة لتطوير واجهة برمجة تطبيقات JSON، وتنفيذ مهام الخلفية غير المتزامنة، والتكامل المالي لبوابات الدفع. تتم إدارة بيئات الإنتاج من خلال نشر NixOS التصريحي للبنية التحتية القابلة للتكرار.
Provides a system for integrating reusable middleware components to extend application functionality.
Wretch هي مكتبة عميل HTTP قابلة للتسلسل ومغلف Fetch API مصمم لتبسيط تكوين طلب الشبكة، وتحليل الاستجابة، ومعالجة الأخطاء. يعمل كمدير لطلب الشبكة وإطار عمل وسيط لإدارة دورة حياة مكالمات HTTP من البداية إلى النهاية. يتميز المشروع بواجهة سلسة لتكوين الطلب ونظام امتداد معياري. يستخدم محلل استجابة قابلاً للبرمجة لأتمتة التحليل وبنية قائمة على المكونات الإضافية لإضافة قدرات جديدة إلى كائنات الطلب والاستجابة. تغطي المكتبة مجموعة واسعة من القدرات التشغيلية، بما في ذلك عمليات إعادة محاولة الطلب التلقائية مع التراجع الأسي، والتخزين المؤقت للاستجابة، وإلغاء تكرار الطلب. يوفر أدوات لتسلسل الحمولة الديناميكي، والتحقق من مخطط الاستجابة، وخط أنابيب وسيط لتحويل البيانات العالمي ومراقبة الطلب. تشمل ميزات الأمان دعم المصادقة الأساسية وتحديث الرمز المميز التلقائي. تدعم المكتبة تطبيقات fetch المخصصة لضمان التوافق عبر بيئات مختلفة.
Modifies the structure or casing of data sent to or received from an API globally via middleware.
Sofa-boot هو إطار عمل لتطبيقات Java المعيارية وامتداد لـ Spring Boot مصمم لعزل وحدات التطبيق في سياقات تنفيذ منفصلة. يوفر منسق خدمة JVM لنشر ومرجعية الخدمات الداخلية وطبقة دمج برمجيات وسيطة للمؤسسات لنشر مبادرات البرمجيات الوسيطة المستقلة. يمنع إطار العمل تعارضات الفاصوليا (Beans)، والتكوين، وإصدار التبعيات باستخدام محملات فئات مستقلة وشجرة هرمية من سياقات التنفيذ المتميزة. يعمل على تحسين أوقات بدء تشغيل تطبيقات المؤسسات من خلال تحميل الوحدات المستقلة بالتوازي وتهيئة المكونات بشكل غير متزامن. يتضمن النظام محققاً لجاهزية التطبيق يحظر حركة مرور الشبكة الخارجية وتسجيل الخدمة حتى يتم تهيئة جميع المكونات بالكامل. كما يدير تنسيق الخدمة عن طريق تحويل اتصالات الوحدات الداخلية إلى استدعاءات خدمة عن بُعد ويفصل تدفقات تسجيل البرمجيات الوسيطة و SDK عن سجلات التطبيق الأساسية.
Uses self-contained configuration modules to automatically deploy and manage middleware services through a unified interface.
opennextjs-aws هو محول بنية تحتية بدون خادم وأداة نشر تحول مخرجات بناء Next.js إلى حزم متوافقة للاستضافة على AWS Lambda و S3. يعمل كمحول نشر يربط مخرجات إطار العمل المحددة بوظائف بدون خادم وتخزين الكائنات. يتميز المشروع بتنفيذ تحسينات خاصة بدون خادم، بما في ذلك مدير ذاكرة مؤقتة يزامن التجديد الثابت التزايدي وذاكرة التخزين المؤقت للجلب عبر S3 أو DynamoDB. يتميز بمحسن للبدء البارد يستخدم تصغير الحزم وتدفئة الوظائف المجدولة لتقليل زمن الوصول، إلى جانب خط أنابيب مخصص لتحسين الصور لجلب الملفات المصدر من S3 وتسليمها عبر CDN. يغطي النظام مجموعة واسعة من القدرات بما في ذلك تكامل البرمجيات الوسيطة للحافة، وإعادة التحقق من الخلفية القائمة على الطابور، وتوزيع المسارات متعدد الأهداف. كما يدير حركة المرور من خلال توجيه CDN، وحقن بيانات الموقع الجغرافي، وبث استجابة الخادم لتحسين الوقت حتى البايت الأول. توفر الأداة خيارات تخصيص واسعة لخطوط أنابيب البناء، وسلوكيات المحول، ومنطق الخادم لدعم الاحتياجات المعمارية المتنوعة وهياكل Monorepo.
Decouples routing and middleware logic into a standalone edge function to reduce latency.