18 个仓库
Bi-directional messaging configured via HTML attributes.
Distinguishing note: Focuses on WebSocket protocol integration rather than SSE.
Explore 18 awesome GitHub repositories matching web development · WebSocket Communication. Refine with filters or upvote what's useful.
FastAPI is a high-performance Python web framework designed for building REST APIs. It operates as an ASGI web framework, providing a system to create structured HTTP endpoints that automatically serialize data and validate request parameters. The framework utilizes Python type hints to drive data validation and serialization, automatically generating machine-readable OpenAPI and JSON Schema specifications. This process enables the automatic creation of interactive, browser-based API documentation where endpoints can be tested directly. The project includes a dependency injection system for
Supports full-duplex WebSocket communication channels for real-time, bidirectional data exchange.
HTMX is a hypermedia-driven frontend library that enables the creation of dynamic, asynchronous web applications by extending standard HTML attributes. It functions as a declarative engine that intercepts browser events to trigger network requests, allowing developers to update specific regions of the document with server-rendered HTML fragments. By shifting the logic of UI composition to the server, it minimizes the need for complex client-side state management and imperative JavaScript. The library distinguishes itself through a progressive enhancement workflow that ensures web interfaces r
Establishes bi-directional connections to send and receive messages directly from HTML elements.
Bokeh is a Python data visualization library and interactive plotting framework used to create high-performance graphics and data dashboards that render in web browsers. It serves as a tool for generating standalone HTML documents, embedded components for digital notebooks, and full-stack web applications powered by a Python backend. The project distinguishes itself through its ability to handle large or streaming datasets while maintaining smooth interactivity. It enables linked brushing across multiple views, allowing data selected in one plot to automatically highlight corresponding data i
Implements a persistent WebSocket connection to synchronize data changes and user interactions between the Python server and the browser.
This project is a JavaScript full-stack tutorial providing a step-by-step guide to building a complete web application from scratch. It focuses on the manual implementation of a custom JavaScript toolchain, encompassing the development of a server-side rendering workflow and a client-side state manager. The project distinguishes itself by implementing core development utilities without high-level frameworks, including custom solutions for bundling, transpilation, linting, and hot module replacement. It also features a real-time communication system based on WebSockets for bidirectional messag
Implements WebSocket-based communication for real-time message exchange and broadcasting.
Drogon is a high-performance C++ HTTP web framework and asynchronous web server designed for building web applications and REST APIs. It utilizes an event-driven, non-blocking architecture to handle concurrent HTTP and WebSocket connections, and it implements a model-view-controller structure to separate business logic from presentation. The framework includes an integrated C++ object-relational mapping system and database client for performing asynchronous operations with relational databases and Redis key-value stores. It supports real-time, full-duplex communication via WebSockets and prov
Supports full-duplex, bidirectional real-time communication between clients and servers via WebSockets.
Chalice is a framework for building and deploying serverless applications and REST APIs on AWS Lambda using Python. It functions as an infrastructure-as-code generator, mapping application logic and routing definitions directly to cloud compute resources while automating the provisioning and management of the underlying environment. The framework distinguishes itself by analyzing source code to automatically construct the minimum necessary security permissions, ensuring least-privilege access for all deployed functions. It supports modular development through blueprint-based organization and
Facilitates persistent bidirectional messaging between clients and servers via managed WebSocket connections.
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
Implements persistent bidirectional communication channels between the client and server using WebSockets.
Apache Tomcat is an open-source implementation of the Jakarta Servlet, Pages, Expression Language, and WebSocket specifications, serving as a container for running Java web applications. It provides a modular architecture with a servlet container, connector abstraction for multiple I/O models, and a pipeline-based request processing system that handles cross-cutting concerns through composable components. The server supports container-managed security with configurable realms for authentication against JDBC, LDAP, or memory-based credential stores, and offers TLS encryption with optional Open
Handles WebSocket connections and messages according to the specification for real-time communication.
WireMock is a suite of tools for service virtualization, providing mock servers for HTTP APIs and WebSocket communication. It serves as an HTTP API mock server and request verifier, allowing for the simulation of responses and the interception of network requests to test client applications without a live backend. The project differentiates itself through a service virtualization model that records real network traffic and replays it as stubs to mimic external service behavior. It includes a network fault injector to simulate response delays and connectivity issues, and a stateful scenario ma
Simulates bidirectional real-time messaging and server-side events to test WebSocket communication logic.
This is a non-blocking network client for Java applications that provides asynchronous HTTP request capabilities and bidirectional WebSocket connectivity. It leverages a Netty-based architecture to handle high volumes of network input and output. The library utilizes native transport abstractions such as Epoll, KQueue, and io_uring to reduce system latency. It supports HTTP/2 multiplexing to run multiple concurrent request-response streams over a single connection and provides automatic response body decompression for various formats. Core capabilities cover the management of complex network
Implements bidirectional communication channels for real-time exchange of text and binary data.
Channels is an extension for the Django web framework that adds native support for WebSockets, background tasks, and long-running connections alongside standard HTTP requests. It provides a channel layer abstraction for passing messages between different parts of a Django application across processes, along with a protocol router that inspects incoming connections and dispatches them to the correct handler for HTTP, WebSocket, or custom protocols. The project introduces an async consumer abstraction that wraps protocol-specific handling into a single callable, and a background worker pool tha
Verifies that asynchronous WebSocket handlers behave correctly using automated test utilities.
Podinfo is a Go-based microservice template designed for Kubernetes, providing a standard pattern for building and testing containerised applications. It exposes REST endpoints for health checks, version information, and configuration, and supports environment-driven configuration for containerised deployment. The project distinguishes itself with built-in capabilities for resilience testing, including fault injection middleware that can inject random errors, latency spikes, or status code mutations. It also offers JWT token-based authentication for stateless request validation, Prometheus me
Provides a WebSocket endpoint that echoes messages back to clients for testing real-time communication.
OpenVSCode Server is an open-source project that runs the full Visual Studio Code editor as a web application served from a remote server, enabling development through any browser without local installation. It provides a browser-based IDE that combines containerized development environments, remote file system access, and server-side process management to deliver a complete remote development experience. The project supports the standard VS Code extension model, allowing plugins to add languages, debuggers, and tools without modification. It maintains real-time bidirectional communication be
Maintains real-time bidirectional communication between the browser client and server for editor state, terminal output, and file changes.
ihp 是一个为 PostgreSQL 设计的类型安全 Web 框架和全栈应用编排器。它作为一个服务端渲染框架和类型安全 ORM,能自动从 SQL 模式生成记录类型,以确保编译时的查询验证。 该平台的特色在于在编译时验证路由、数据库查询和模板,以防止运行时崩溃。它使用 WebSocket 实现实时 Web 界面以进行即时数据同步,并采用服务器驱动的超媒体进行部分 DOM 修补。 该框架涵盖了广泛的集成功能,包括支持 Passkey 和 OAuth 的用户身份管理、具有自动迁移功能的完整数据存储层,以及具有类型安全 HTML 模板的综合 UI 渲染系统。它还提供了用于 JSON API 开发、异步后台任务执行以及支付网关金融集成的内置工具。 生产环境通过声明式 NixOS 部署进行管理,以实现可复现的基础设施。
Establishes bidirectional WebSocket communication for instant application updates.
serverless-offline 是一个 Serverless Framework 插件,提供本地云基础设施模拟器。它充当 AWS Lambda 本地模拟器和 AWS API Gateway 模拟工具,允许在本地机器上开发和测试无服务器函数,而无需部署到远程提供商。 该项目的独特之处在于模拟双向 WebSocket 连接和消息路由,以及模仿 HTTP 网关的请求生命周期。它包含一个模拟身份验证器流水线,用于在本地验证令牌和 JWT,并支持将虚拟依赖层挂载到执行环境中。 该工具广泛涵盖了跨多种运行时的函数执行(具备隔离执行模式)、用于请求路由的云网关模拟,以及用于基于时间逻辑的定时事件触发模拟。它还提供了 SDK 调用模拟和请求上下文模拟功能,以促进本地集成测试。
Supports bidirectional traffic by mimicking WebSocket routes and providing a mechanism to send messages back to clients.
Tide 是一个用于 Rust 编程语言的异步 Web 服务器框架和 HTTP 工具包。它提供了一个系统,利用非阻塞 I/O 和异步运行时构建高并发网络应用程序和 REST API。 该框架以基于中间件的请求管道为核心,允许开发者通过可插拔的逻辑层拦截和处理 HTTP 请求与响应。它支持分层路由树,将端点组织成共享公共路径前缀和作用域中间件的嵌套组。 功能领域包括通过 WebSocket 和服务器发送事件 (SSE) 进行实时通信,以及通过静态文件服务和动态模板渲染进行内容交付。该框架还处理 JSON 负载、GraphQL 查询、多部分文件上传,以及全局应用程序状态和用户会话的管理。 安全性通过网络流量的 TLS 加密和受保护资源的身份验证提供支持。
Integrates WebSocket communication to establish full-duplex, real-time data exchange channels between clients and the server.
This project is a cloud-based office suite and self-hosted document server that enables the creation and editing of documents, spreadsheets, and presentations. It functions as a headless office application, utilizing a server-side processing engine to handle file rendering and formatting without requiring a local graphical user interface. The system operates as a real-time collaborative editor, employing operational transformation to allow multiple users to edit files simultaneously. It also serves as a web-based document processor capable of automating office tasks through macro execution an
Utilizes persistent bidirectional WebSocket connections to stream real-time edits and cursor positions.
Communicates over WebSockets for real-time two-way data exchange between client and server.