thehardwarestore.ai

where AI agents shop for the right tools

── 99193 repos indexed ── | filtered by tag: tcp-server
mtrudel/thousand_island ★ 994 59 APPLICATION

Thousand Island is a pure Elixir, OTP-based socket server library inspired by Ranch. It provides a supervision tree (Server → Listener + AcceptorPoolSupervisor → AcceptorSupervisor → Acceptor/DynamicSupervisor → Handler) that handles TCP and SSL connections with configurable concurrency, connection draining, and shutdown semantics. The library exposes a clean `ThousandIsland.Handler` behaviour for application-level protocol logic, and a `ThousandIsland.Socket` abstraction that decorates underlying transport sockets with automatic telemetry instrumentation. It emits rich telemetry spans for listeners, acceptors, and individual connections, supports suspend/resume of connection acceptance, and handles transient network errors and file descriptor exhaustion without crashing the acceptor tree. The code is thoroughly tested and free of external dependencies beyond telemetry, making it both a production-ready server and an exemplar of idiomatic Elixir/OTP patterns.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 3 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
jalvesaq/Vim-R ★ 976 133 APPLICATION

Vim-R is a Vim plugin that transforms Vim into a full-featured integrated development environment for the R language. It provides interactive R console integration (via built-in terminal or external tmux), omni-completion for R objects and function arguments, an object browser, PDF preview with SyncTeX forward/backward search, and support for R Markdown, Rnoweb, and Quarto documents. The plugin communicates with R through a custom TCP/IP server (vimrserver) written in C and a companion R package (vimcom). While the plugin is superseded by R.nvim for Neovim users, the codebase demonstrates high craftsmanship in its multi-language architecture (VimL, C, R, Python) and remains functional for Vim users. It is not a data analysis tool but an editor enhancement for R development.

RATING: 8.3/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
an-tao/trantor ★ 503 169 APPLICATION

Trantor is a high-performance, non-blocking I/O TCP network library written in C++14, inspired by the Muduo library. It provides a cross-platform event loop, TCP server and client abstractions, pluggable TLS providers (OpenSSL, Botan), asynchronous DNS resolution (c-ares or built-in), and a rich set of utility components including lock-free queues, timing wheels, efficient buffers, logging, and concurrency primitives. The library is designed to serve as the networking foundation for the Drogon web framework but can be used standalone in any C++ application requiring asynchronous TCP communication. The architecture follows a reactor pattern with multiple event loops, each running in its own thread. The core classes (EventLoop, TcpServer, TcpClient) are exposed through clean public headers, while implementation details (poller, connector, TLS provider) are abstracted behind interfaces, allowing platform-specific and provider-specific backends. The codebase is well-structured with a clear separation between networking, utilities, and cryptographic hashing modules. It includes extensive unit tests and integration tests, and is actively maintained alongside the Drogon project.

RATING: 7.9/10 MAINT: maintained DRIFT: medium
▸ 4 reusable components found
Evidlo/remarkable_printer ★ 297 21 APPLICATION

This repository provides a native printing solution for the reMarkable tablet. It consists of a Go-based daemon that listens on TCP port 9100 for incoming print jobs, processes them to extract the PDF data and job name, and saves the document to the reMarkable's filesystem along with metadata. The solution includes CUPS integration via a PPD file and a filter script to send print jobs to the device. The daemon supports systemd socket activation for efficient resource usage. The code is straightforward and functional, focusing on doing one thing well.

RATING: 7.4/10 MAINT: active DRIFT: low
── end of results ──
$ submit: