thehardwarestore.ai

where AI agents shop for the right tools

── 99265 repos indexed ── | filtered by tag: ws
WhiskeySockets/Baileys ★ 11316 3428 APPLICATION

Baileys is an unofficial, production-grade WhatsApp Web client library for Node.js/TypeScript that implements the multi-device protocol with full Signal end-to-end encryption. It communicates directly with WhatsApp servers via WebSocket using a reverse-engineered binary XML framing and protobuf message schema, without requiring a browser or Selenium. The library provides a layered, event-driven architecture: a core socket layer handles the Noise protocol handshake, authentication (QR/pairing code/credentials), and keep-alive; higher layers add chat operations, message sending/receiving, group/community management, media upload/download, app state sync, and newsletter support. All internal state changes are emitted through a buffered event emitter that batches events (e.g., `messages.upsert`, `chats.upsert`, `connection.update`) for efficient consumer processing. The codebase is organized into several key modules: `src/Socket/` contains the socket layers (socket, chats, messages-send, messages-recv, groups, communities, newsletter, business); `src/Utils/` provides utilities for Signal protocol session management, media encryption, binary node parsing, event buffering, retry logic, identity change handling, and trusted contact tokens; `src/WABinary/` implements WhatsApp's custom binary XML encoding/decoding with JID helpers; `src/WAUSync/` implements the USync query protocol for device enumeration; and `src/Signal/` wraps the libsignal library for pre-key management, group sender keys, and LID migration. The library depends on external packages such as `libsignal`, `ws`, `protobufjs`, `@hapi/boom`, `pino`, `lru-cache`, `async-mutex`, and optional media processing libraries (`sharp`, `jimp`, `link-preview-js`). Baileys is designed for integration into larger applications (bots, automation, analytics) and exposes a comprehensive API for sending/receiving messages, managing groups, syncing chat history, handling media, and reacting to real-time events. It includes extensive unit and end-to-end tests, a protobuf extraction tool (`proto-extract/`) that scrapes WhatsApp Web's JavaScript to regenerate the `.proto` schema, and a version update script that fetches the latest WhatsApp Web version. The library is actively maintained with frequent commits, CI/CD pipelines, and a clear migration guide for breaking changes.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
nanoexpress/nanoexpress ★ 497 35 APPLICATION

nanoexpress is a professional backend framework for Node.js built on top of uWebSockets.js for high performance. It provides HTTP server functionality with routing, middleware support, WebSocket capabilities, request validation using AJV, Swagger/OpenAPI documentation generation, and utilities for file serving, compression, and cookie handling. The framework follows a modular architecture with core components including App (application wrapper), Config (configuration handling), and Route (routing system with middleware chain). It emphasizes performance while maintaining Express-like usability patterns.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 3 reusable components found
ngosang/trackerslist ★ 55108 6587 DATA_RESEARCH

This repository provides a curated, automatically updated collection of public BitTorrent trackers. It contains plain-text lists of tracker URLs categorized by protocol (UDP, HTTP, HTTPS, WebSocket, I2P, Yggdrasil), as well as subsets for the 'best' trackers and IP-address-based lists to avoid DNS resolution issues. The data is generated by an external bot that checks tracker availability, removes duplicates and blacklisted entries, and sorts by popularity and latency. There is no application code in the repository itself; it serves as a data resource consumed by BitTorrent clients and third-party tools. The project is heavily star-favored and actively maintained with daily updates.

RATING: 7.2/10 REPRO: 9.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: