awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
lukeed avatar

lukeed/polka

0
View on GitHub↗
5,585 نجوم·177 تفرعات·JavaScript·MIT·8 مشاهدات

Polka

Polka هو إطار عمل ويب Node.js بسيط ومحرك توجيه HTTP. يوفر تنفيذ خادم صغير الحجم مصمم لتقليل الحمل الزائد، وتعيين مسارات URL وطرق HTTP إلى وظائف معالجة محددة.

يستخدم المشروع بنية قائمة على البرامج الوسيطة، حيث يعالج الطلبات من خلال سلسلة من الوظائف للتعامل مع مهام مثل التسجيل، والتفويض، وتعديل البيانات. يسمح بتنظيم هذه الوظائف في مجموعات عالمية ومفلترة حسب المسار للتحكم في ترتيب التنفيذ.

يغطي إطار العمل قدرات الويب الأساسية بما في ذلك استخراج معلمات المسار، وتحليل URL الطلب مع التخزين المؤقت (Memoization)، وإدارة استجابات 404. كما يتضمن نظامًا مركزيًا لمعالجة الأخطاء لالتقاط الاستثناءات التي يتم طرحها داخل سلسلة البرامج الوسيطة.

يمكن للمستخدمين تشغيل خادم HTTP جديد على منفذ معين أو إرفاق معالج الطلب بمثيل خادم موجود.

Features

  • HTTP Routing - Provides a high-performance HTTP routing engine to map URL paths and methods to specific handler functions.
  • Middleware-Based Request Pipelines - Implements a sequential pipeline of modular components that intercept and process incoming HTTP requests and responses.
  • Middleware-Based Servers - Processes requests through a sequential chain of functions to handle logging, authorization, and data modification.
  • Custom Middleware Implementations - Implements a linear pipeline of middleware functions for request processing, logging, and data modification.
  • HTTP Request Handling - Wraps native Node.js HTTP servers to parse, route, and manage incoming requests using handler functions.
  • Node.js Server Frameworks - Serves as a lightweight architectural framework for building Node.js web applications with minimal overhead.
  • HTTP Request Handlers - Routes incoming HTTP traffic to specific handler functions based on the URL path and method.
  • HTTP Servers - Launches a web server on a specific port or attaches a request handler to an existing server instance.
  • Middleware Pipelines - Run a sequence of functions before route handlers to modify requests, verify authorization, or perform logging.
  • Node.js Routing Engines - Maps incoming URL paths and parameters to specific handler functions within a Node.js environment.
  • Request Middleware - Executes a sequence of functions between the initial request and final handler to modify request or response objects.
  • Request Routing - Matches incoming HTTP requests to specific paths and methods to execute the corresponding handler functions.
  • Minimalist Server Libraries - Provides a low-footprint server implementation focused on minimal overhead and essential functionality.
  • Regex-Based Route Matching - Uses regular expressions to identify named or optional path segments and extract them as request parameters.
  • Error Handling Middleware - Intercepts application-level errors and maps them to standardized HTTP responses through a centralized handler.
  • Global Error Handlers - Provides a centralized catch-all function to process exceptions thrown within the middleware chain and prevent server crashes.
  • Microservice Architectures - Offers a minimalist foundation suitable for developing small, specialized microservices.
  • Request Parsing - Converts raw request data into structured HTTP requests, including path and query parameter extraction.
  • Global Error Handlers - Provides a centralized global error handler to catch exceptions thrown within the middleware chain.
  • Path-Based Middleware Filtering - Allows restricting specific middleware functions to execute only when a request matches a defined base pathname.
  • Tiered Middleware Execution - Organizes middleware into global and path-filtered groups to control execution order based on the request URL.
  • Path-Isolated - Restrict specific middleware functions to execute only when a request matches a defined base pathname.
  • Path Prefix Matching - Matches incoming requests against defined path patterns to execute specific handler functions.
  • RESTful API Development - Enables the creation of structured endpoints with specific routes and methods for REST API development.
  • Route Parameter Extraction - Extracts named or optional variables from URL paths during the routing process for easy access.
  • URL Parameter Extraction - Captures named or wildcard segments from a request path and populates them into a request object.

سجل النجوم

مخطط تاريخ النجوم لـ lukeed/polkaمخطط تاريخ النجوم لـ lukeed/polka

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Polka

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Polka.
  • dodyg/practical-aspnetcoreالصورة الرمزية لـ dodyg

    dodyg/practical-aspnetcore

    10,382عرض على GitHub↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    عرض على GitHub↗10,382
  • go-martini/martiniالصورة الرمزية لـ go-martini

    go-martini/martini

    11,603عرض على GitHub↗

    Martini is a web framework for the Go programming language that provides a toolkit for building web applications. It functions as a routing engine and an HTTP middleware pipeline to map network requests to specific handler functions. The framework is distinguished by its dependency injection system, which automatically resolves and provides requested service types as arguments to handler functions. This allows for the decoupling of business logic from infrastructure by matching requested types against a registry of available services. The project covers a broad range of web capabilities, inc

    Go
    عرض على GitHub↗11,603
  • nickel-org/nickel.rsالصورة الرمزية لـ nickel-org

    nickel-org/nickel.rs

    3,144عرض على GitHub↗

    Nickel is a web framework for the Rust programming language designed to handle HTTP requests and responses. It functions as a server-side toolkit that provides integrated routing, middleware, and JSON deserialization. The framework utilizes a middleware-based request pipeline to insert custom logic and state management into the request-response cycle. It also includes a server-side template engine for generating dynamic HTML pages by merging data with markup templates. The project covers high-level capabilities for REST API development, web application routing, and global error handling to i

    Rust
    عرض على GitHub↗3,144
  • slimphp/slimالصورة الرمزية لـ slimphp

    slimphp/Slim

    12,233عرض على GitHub↗

    Slim is a PHP micro-framework designed for building web applications and APIs by routing incoming network requests to specific callback functions. It provides a lightweight foundation that emphasizes low memory overhead, allowing developers to construct backend systems by integrating only the necessary components. The framework distinguishes itself through a middleware-based request pipeline and full support for standardized HTTP message interfaces. By utilizing these standard interfaces, the system enables modular application logic and ensures interoperability with a wide range of third-part

    PHPframeworkmicro-frameworkphp
    عرض على GitHub↗12,233
عرض جميع البدائل الـ 30 لـ Polka→

الأسئلة الشائعة

ما هي وظيفة lukeed/polka؟

Polka هو إطار عمل ويب Node.js بسيط ومحرك توجيه HTTP. يوفر تنفيذ خادم صغير الحجم مصمم لتقليل الحمل الزائد، وتعيين مسارات URL وطرق HTTP إلى وظائف معالجة محددة.

ما هي الميزات الرئيسية لـ lukeed/polka؟

الميزات الرئيسية لـ lukeed/polka هي: HTTP Routing, Middleware-Based Request Pipelines, Middleware-Based Servers, Custom Middleware Implementations, HTTP Request Handling, Node.js Server Frameworks, HTTP Request Handlers, HTTP Servers.

ما هي البدائل مفتوحة المصدر لـ lukeed/polka؟

تشمل البدائل مفتوحة المصدر لـ lukeed/polka: dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… go-martini/martini — Martini is a web framework for the Go programming language that provides a toolkit for building web applications. It… nickel-org/nickel.rs — Nickel is a web framework for the Rust programming language designed to handle HTTP requests and responses. It… slimphp/slim — Slim is a PHP micro-framework designed for building web applications and APIs by routing incoming network requests to… oakserver/oak — Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and… senchalabs/connect — Connect is an HTTP middleware framework and routing library designed as a wrapper for the Node.js HTTP server. It…