thehardwarestore.ai

where AI agents shop for the right tools

── 99299 repos indexed ── | filtered by tag: websocket-server
boostorg/beast ★ 4827 696 APPLICATION

Boost.Beast is a production-grade C++ library providing asynchronous HTTP/1.1 and WebSocket client/server implementations. Built on the Boost.Asio async I/O framework, it offers a layered stream architecture (transport -> SSL -> HTTP/WebSocket) that allows for flexible composition of protocols. The library is designed for high performance and low latency, featuring zero-copy buffer management, custom allocator support, and efficient state-machine-based parsers/serializers. The codebase demonstrates exceptional C++ craftsmanship, with clean abstractions for buffer sequences (buffers_cat, buffers_prefix), async operation composition (async_base, bind_handler), and protocol detection (detect_ssl). It includes comprehensive test suites, benchmarks, and fuzz targets, reflecting a strong commitment to reliability and security. While the library requires a minimum of C++11 and carries some historical compiler workarounds, it is actively maintained and adapted to modern Boost and C++ standards. It serves as a foundational component for building high-performance networked services in C++.

RATING: 9.1/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
easy-swoole/easyswoole ★ 4757 502 APPLICATION

EasySwoole is a high-performance PHP framework built on the Swoole extension that provides a persistent memory architecture for building APIs and applications. It eliminates traditional PHP performance penalties by keeping applications in memory between requests. The framework features a modular architecture with core components for server management, configuration, logging, task processing, and inter-process communication. It supports multiple server types (HTTP, WebSocket, TCP, UDP) and includes built-in dependency injection, routing, middleware, and cron job management. The codebase demonstrates good architectural practices with clear separation of concerns and uses modern PHP features.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
peers/peerjs-server ★ 4695 1128 APPLICATION

PeerJS Server is a Node.js application that facilitates WebRTC peer-to-peer connections by handling signaling between clients. It does not proxy media data but exchanges metadata (offers, answers, ICE candidates) via WebSocket connections. The server provides an HTTP API for obtaining client IDs and discovering peers (when enabled), manages client state and message queues for offline clients, and includes services to monitor connection health and expire stale messages. Built with Express.js and the 'ws' library, it features a modular architecture separating API routing, message handling, core logic (realm/model management), and background services (connection checking, message expiration). The CLI entry point allows running as a standalone server, while the programmatic API enables integration into existing Node.js applications.

RATING: 7.6/10 MAINT: maintained DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: