25 repository-uri
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 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.
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.
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 este un framework web minimalist Node.js și un motor de rutare HTTP. Oferă o implementare de server cu amprentă mică, concepută pentru un overhead redus, mapând căile URL și metodele HTTP la funcții handler specifice. Proiectul utilizează o arhitectură bazată pe middleware, procesând cererile printr-o secvență de funcții pentru a gestiona sarcini precum logarea, autorizarea și modificarea datelor. Permite organizarea acestor funcții în grupuri globale și filtrate pe cale pentru a controla ordinea de execuție. Framework-ul acoperă capabilități web de bază, inclusiv extragerea parametrilor de rută, parsarea URL-ului cererii cu memoizare și gestionarea răspunsurilor 404. De asemenea, include un sistem centralizat de gestionare a erorilor pentru a prinde excepțiile aruncate în lanțul de middleware. Utilizatorii pot porni un nou server HTTP pe un port specific sau pot atașa handler-ul de cereri la o instanță de server existentă.
Restrict specific middleware functions to execute only when a request matches a defined base pathname.
Swashbuckle.AspNetCore este un instrument de specificație API și generator de documentație pentru ASP.NET Core. Extrage metadate din codul sursă și modele pentru a produce specificații OpenAPI standardizate și interfețe de browser interactive pentru explorarea și testarea API-urilor web. Proiectul integrează o componentă middleware pentru a servi aceste specificații și un Swagger UI pentru testarea interactivă a API-ului direct dintr-o aplicație care rulează. Oferă, de asemenea, un exportator de linie de comandă pentru a extrage fișierele de specificație din assembly-urile aplicației pentru utilizare în pipeline-uri CI/CD. Instrumentul acoperă o gamă largă de capabilități, inclusiv gestionarea schemelor pentru tipuri complexe, adnotarea metadatelor prin atribute și comentarii XML, și configurarea securității pentru OAuth 2.0 și chei API. Suportă în continuare gestionarea contractelor API, versionarea specificațiilor și pipeline-uri de generare personalizabile pentru a filtra sau modifica operațiunile.
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 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.
Allows registration of middleware that executes for every incoming request to handle cross-cutting concerns.
ihp este un framework web type-safe și un orchestrator de aplicații full-stack conceput pentru PostgreSQL. Funcționează ca un framework de randare pe partea de server și un ORM type-safe care generează automat tipuri de înregistrări din scheme SQL pentru a asigura validarea interogărilor la momentul compilării. Platforma se distinge prin verificarea rutelor, a interogărilor de bază de date și a template-urilor la compilare pentru a preveni erorile la runtime. Implementează interfețe web în timp real folosind WebSockets pentru sincronizarea instantanee a datelor și utilizează hypermedia condusă de server pentru patch-uri parțiale de DOM. Framework-ul acoperă o gamă largă de capabilități integrate, inclusiv gestionarea identității utilizatorilor cu suport pentru passkey și OAuth, un strat complet de stocare a datelor cu migrări automate și un sistem cuprinzător de randare UI cu template-uri HTML type-safe. Oferă, de asemenea, instrumente încorporate pentru dezvoltarea de API-uri JSON, execuția asincronă a sarcinilor de fundal și integrare financiară pentru gateway-uri de plată. Mediile de producție sunt gestionate prin deployment declarativ NixOS pentru infrastructură reproductibilă.
Provides a system for integrating reusable middleware components to extend application functionality.
Wretch este o bibliotecă de client HTTP înlănțuibilă și un wrapper Fetch API conceput pentru a simplifica configurarea cererilor de rețea, parsarea răspunsurilor și gestionarea erorilor. Acesta funcționează ca un manager de cereri de rețea și framework de middleware pentru gestionarea întregului ciclu de viață al apelurilor HTTP. Proiectul se distinge printr-o interfață fluentă pentru configurarea cererilor și un sistem modular de extensii. Utilizează un resolver de răspuns programabil pentru a automatiza parsarea și o arhitectură bazată pe plugin-uri pentru a adăuga noi capabilități obiectelor de cerere și răspuns. Biblioteca acoperă o gamă largă de capabilități operaționale, inclusiv reîncercări automate ale cererilor cu backoff exponențial, caching-ul răspunsurilor și deduplicarea cererilor. Oferă instrumente pentru serializarea dinamică a payload-ului, validarea schemei de răspuns și un pipeline de middleware pentru transformarea globală a datelor și monitorizarea cererilor. Caracteristicile de securitate includ suport pentru autentificare de bază și reîmprospătarea automată a token-urilor. Biblioteca suportă implementări fetch personalizate pentru a asigura compatibilitatea între diferite medii.
Modifies the structure or casing of data sent to or received from an API globally via middleware.
Sofa-boot este un framework de aplicații Java modular și o extensie Spring Boot concepută pentru a izola modulele aplicației în contexte de execuție separate. Oferă un orchestrator de servicii JVM pentru publicarea și referențierea serviciilor interne și un strat de integrare middleware enterprise pentru implementarea de „starters” middleware auto-conținute. Framework-ul previne conflictele de bean-uri, configurații și versiuni de dependențe prin utilizarea unor classloadere independente și a unui arbore ierarhic de contexte de execuție distincte. Optimizează timpii de pornire a aplicațiilor enterprise prin încărcarea modulelor independente în paralel și inițializarea componentelor în mod asincron. Sistemul include un verificator de disponibilitate a aplicației care blochează traficul de rețea extern și înregistrarea serviciilor până când toate componentele sunt complet inițializate. De asemenea, gestionează orchestrarea serviciilor prin convertirea comunicării interne a modulelor în apeluri de servicii la distanță și decuplează fluxurile de logare ale middleware-ului și SDK-ului de log-urile primare ale aplicației.
Uses self-contained configuration modules to automatically deploy and manage middleware services through a unified interface.
opennextjs-aws este un adaptor de infrastructură serverless și un instrument de implementare care transformă artefactele de build Next.js în pachete compatibile pentru găzduire pe AWS Lambda și S3. Funcționează ca un adaptor de implementare care mapează output-urile specifice framework-ului către funcții serverless și stocare de obiecte. Proiectul se distinge prin implementarea unor optimizări specifice serverless, inclusiv un manager de cache care sincronizează regenerarea statică incrementală și fetch cache-urile prin S3 sau DynamoDB. Dispune de un optimizator de cold start care utilizează minificarea bundle-urilor și încălzirea programată a funcțiilor pentru a reduce latența, alături de un pipeline dedicat de optimizare a imaginilor pentru preluarea fișierelor sursă din S3 și livrarea lor prin CDN. Sistemul acoperă o gamă largă de capabilități, inclusiv integrarea middleware-ului edge, revalidarea în fundal bazată pe cozi și distribuția rutelor către mai multe ținte. De asemenea, gestionează traficul prin rutare CDN, injectarea datelor de geolocație și streaming-ul răspunsurilor serverului pentru a îmbunătăți timpul până la primul byte (TTFB). Instrumentul oferă opțiuni extinse de personalizare pentru pipeline-urile de build, comportamentele adaptorului și logica serverului pentru a susține nevoi arhitecturale variate și structuri monorepo.
Decouples routing and middleware logic into a standalone edge function to reduce latency.