36 个仓库
Foundational libraries for building and launching web servers.
Distinguishing note: Focuses on the server framework capability rather than the tutorial aspect.
Explore 36 awesome GitHub repositories matching web development · Web Server Frameworks. Refine with filters or upvote what's useful.
Actix Web is an asynchronous web framework designed for building high-performance network services. It provides a foundation for processing concurrent requests through a non-blocking execution model, utilizing an actor-based concurrency system to manage lightweight processes and message passing. The framework includes a low-level networking layer that handles the parsing and serialization of HTTP traffic according to standard specifications. The framework distinguishes itself through a type-safe routing engine that enforces strict data types at compile time, ensuring that request parameters a
Initializes web servers by defining request handlers and registering routes.
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
Provides a toolkit for building web services with routing, middleware execution, and URL generation.
Sanic is a Python ASGI web framework and asynchronous HTTP server. It is designed to build high-performance web applications and servers that handle concurrent requests using non-blocking logic. The framework implements the Asynchronous Server Gateway Interface standard, allowing applications to be deployed across various ASGI-compatible servers. It utilizes an asyncio-based event loop and integrates a Cython-based runtime wrapper around libuv to manage I/O operations. The system manages traffic through route-based request dispatching and a middleware-based request pipeline. These components
Serves as an ASGI-compatible framework for building asynchronous web applications.
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
Integrates backend servers into web frameworks by mapping handlers to specific routes and URL prefixes.
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 foundational libraries for building and launching web servers.
This project is an asynchronous network framework for Python that provides both a client and a server for HTTP communication. It is designed to handle high-concurrency network operations by leveraging cooperative multitasking, allowing for the management of thousands of simultaneous connections without the overhead of traditional thread-per-request models. The framework distinguishes itself through its focus on efficient resource management and persistent communication. It utilizes connection pooling to reuse network sockets, which reduces latency during sequential requests, and supports full
Provides a foundational framework for building high-performance, asynchronous web servers.
Starlette is an asynchronous web framework and toolkit for building high-performance web services based on the ASGI specification. It serves as a lightweight foundation for creating web applications with a focus on asynchronous request and response handling. The framework provides specialized toolkits for managing persistent bidirectional WebSocket communication and an asynchronous HTTP server toolkit for routing and middleware. It distinguishes itself by offering a non-blocking background task queue that executes functions after a response has been sent to the client. The project covers a b
Implements the ASGI specification to enable high-performance, non-blocking asynchronous web service development.
Starlette is a lightweight ASGI web framework and asynchronous HTTP toolkit used to build high-performance HTTP and WebSocket services. It functions as a WebSocket server framework and a collection of ASGI middleware components for managing network requests through non-blocking asynchronous logic. The framework provides tools for real-time communication via persistent bidirectional channels and infrastructure for high-performance APIs. It includes specialized capabilities for response compression, incremental data streaming, and the execution of non-blocking background tasks after a response
Implements a lightweight web framework based on the ASGI specification for high-performance asynchronous services.
Falcon is a minimalist Python web API framework and high-performance microservices framework. It serves as a resource-oriented API toolkit designed for building RESTful APIs and data plane services that prioritize low overhead, reliability, and scale. The framework implements an ASGI web server interface to handle both synchronous and asynchronous HTTP requests and WebSockets. It features a dedicated HTTP middleware system for intercepting network traffic and executing shared processing logic across multiple API endpoints. Its capability surface covers resource-based routing, HTTP specificat
Implements the ASGI specification to provide interoperability between asynchronous Python applications and web servers.
Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers
Functions as a high-performance Python web framework implementing the ASGI standard for asynchronous interoperability.
Octokit.js is a GitHub API SDK used to interact with GitHub via REST and GraphQL interfaces. It serves as a client for executing typed queries and mutations, managing authenticated REST requests, and handling signed webhooks across Node.js, Deno, and browser environments. The library features a plugin-based request pipeline and an adapter-based HTTP client, allowing the interception of requests and responses across different runtimes. It employs strategy-based authentication to separate credential management from request logic, supporting static tokens, OAuth flows, and GitHub App installatio
Provides pre-built server middleware to handle webhook endpoints and process OAuth redirect routes.
Kitura is a server-side web framework for building HTTP services and web applications using the Swift programming language. It functions as an HTTP server that handles incoming requests, routes traffic, and serves responses. The framework serves as a Codable REST API framework, enabling the encoding and decoding of native Swift data types for web service communication. It also provides a FastCGI web interface to connect Swift applications to external web servers for improved scalability. The system includes capabilities for secure web communication through SSL/TLS network encryption, server-
Provides a complete foundational framework for building and launching high-performance web servers using the Swift language.
PSR-7 HTTP Message Interfaces is a set of standardized PHP interfaces for representing HTTP request and response messages, URIs, streams, and uploaded files as immutable value objects. These interfaces define a common contract that enables interoperability between PHP frameworks and libraries when handling HTTP messages, ensuring that any implementation can be used interchangeably. The interfaces model HTTP messages as immutable value objects where any modification produces a new instance, guaranteeing message integrity throughout the request lifecycle. They provide case-insensitive header ac
Abstracts PHP superglobals into structured request objects as a core part of the PSR-7 server request interface.
Hug is a Python API framework used for building web services by mapping functions to HTTP endpoints via decorators and type annotations. It functions as a type-based validator that automatically converts and validates incoming request data based on Python type hints and serves as a WSGI-compliant web framework for deployment on production servers. The project is distinguished by its ability to automatically generate API specifications and user-facing documentation derived from function signatures. It further extends the utility of internal logic by exposing functions as terminal commands thro
Provides a WSGI-compliant web framework for building and deploying APIs on production servers.
Werkzeug is a comprehensive library and toolkit for building WSGI-compliant web applications in Python. It provides the fundamental building blocks for web development, including an HTTP request and response toolkit, a rule-based URL routing engine, and a library for managing the overall web application lifecycle. The project is distinguished by its integrated development suite, which includes a WSGI development server featuring automatic code reloading and a PIN-protected interactive browser debugger for inspecting call stacks. It also includes a specialized WSGI test client that enables the
Provides the fundamental building blocks for developing WSGI-compliant Python web applications.
web.py is a minimal Python web framework that provides the core components needed to build web applications: URL routing, template rendering, database access, form handling, and session management. The framework uses a convention-based approach where URL patterns are automatically mapped to handler classes based on their names, eliminating the need for manual route configuration. It exposes applications as WSGI callables, making them deployable with any WSGI-compliant server. The framework distinguishes itself through its metaclass-driven auto-discovery system, which automatically registers h
Exposes applications as WSGI callables for deployment with any WSGI-compliant server.
Hono 是一个极简的 JavaScript HTTP 框架,旨在跨多个运行时(包括 Node.js、边缘运行时和无服务器平台)构建 Web 服务器。它作为一个跨运行时 Web 服务器和 Web 标准 API 包装器,将各种运行时的请求和响应对象标准化为标准的 Web API 签名。 该项目作为 HTTP 中间件编排器和请求处理器,利用基于中间件的请求管道和分层路由挂载来创建模块化服务器结构。它通过一个运行时无关的事件包装器脱颖而出,确保无论部署环境如何,行为都保持一致。 该框架涵盖了广泛的功能,包括带有动态参数捕获的 HTTP 请求路由、实时 WebSocket 通信,以及 CORS 管理和基本身份验证等全面的安全措施。它还提供了通过 Cookie 进行会话管理、静态资产服务以及通过请求代理和 URL 重定向进行流量管理的实用程序。 该项目使用 TypeScript 实现。
Integrates sub-server instances into the main framework using URL prefixes for modular composition.
FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified abstraction layer for interacting with various message brokers, enabling developers to manage event production and consumption through a consistent interface while maintaining access to native provider-specific features. The framework centers on a decorator-based routing model that binds application logic directly to broker topics, supported by a built-in dependency injection container that resolves resources at runtime. The framework distinguishes itself through its deep int
Executes startup and shutdown routines to initialize connections or clean up resources in sync with application lifecycles.
koa2-note 是一个专注于 Koa2 Web 服务器开发和 Node.js 异步编程的项目。它提供了一个使用异步中间件管道处理请求和响应周期的 Web 服务器和 API 构建框架。 该项目强调分层后端架构,将路由、业务服务和数据模型解耦。其特色在于集成了用于持久化用户会话和应用数据的关系型数据库,以及包含用于前端资源 JSX 转 JavaScript 编译的构建过程。 功能范围涵盖后端 API 设计(包括 RESTful 路由和请求数据解析)以及使用模板引擎的服务器端渲染。它还包括对使用多部分流解析的异步文件上传、基于 Cookie 的会话管理以及用于跨域请求的 JSONP 实现的支持。 该仓库作为一个教育资源,提供了学习 Koa 框架实现和服务器架构的结构化教程和示例。
Implements a web server using an asynchronous middleware pipeline to process incoming HTTP requests.
Tide 是一个用于 Rust 编程语言的异步 Web 服务器框架和 HTTP 工具包。它提供了一个系统,利用非阻塞 I/O 和异步运行时构建高并发网络应用程序和 REST API。 该框架以基于中间件的请求管道为核心,允许开发者通过可插拔的逻辑层拦截和处理 HTTP 请求与响应。它支持分层路由树,将端点组织成共享公共路径前缀和作用域中间件的嵌套组。 功能领域包括通过 WebSocket 和服务器发送事件 (SSE) 进行实时通信,以及通过静态文件服务和动态模板渲染进行内容交付。该框架还处理 JSON 负载、GraphQL 查询、多部分文件上传,以及全局应用程序状态和用户会话的管理。 安全性通过网络流量的 TLS 加密和受保护资源的身份验证提供支持。
Acts as a foundational framework for building high-concurrency asynchronous web servers in Rust.