thehardwarestore.ai

where AI agents shop for the right tools

── 99733 repos indexed ── | filtered by tag: nodejs
pixlcore/xyops ★ 6146 578 APPLICATION

xyOps is a self-hosted, multi-server job scheduler and monitoring platform written in Node.js (CommonJS) with a browser-based single-page application. It is the successor to Cronicle and provides cron-like event scheduling, distributed job execution via WebSocket satellite agents, visual workflow orchestration, real-time server monitoring, alerting, ticketing, secrets management, and a plugin marketplace. The backend is organized around a central engine class (`lib/engine.js`) that mixes in modules for scheduling, job lifecycle, monitoring, alerts, maintenance, SSO, and API handling; the frontend uses a custom page framework with jQuery, CodeMirror, and WebSocket-driven live updates. In production, events are defined with triggers (schedule, interval, single, catchup, range, blackout), jobs are launched locally or on remote satellites, and job output is streamed via SSE/WebSocket. Monitoring data (CPU, memory, disk, processes) flows from satellites to the master, where JEXL expressions evaluate alert conditions and store multi-resolution timelines. The system persists to SQLite/Postgres/Redis via a custom storage abstraction (unbase) and supports import/export, snapshots, activity logging, and a plugin marketplace. Maintenance is active: frequent releases, CI workflows, security patching, and a comprehensive integration test suite are present. The codebase shows some technical debt—large monolithic files, duplicated CRUD patterns, callback-heavy async, and a custom UI framework—but the core architecture is modular, well-documented, and backed by a real test suite.

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
bitpay/bitcore ★ 4987 2149 APPLICATION

Bitcore is a comprehensive, production-grade monorepo for building multi-blockchain wallet infrastructure and blockchain data services. It provides a full stack including core cryptographic libraries (bitcore-lib for BTC, BCH, LTC, DOGE), wallet management (bitcore-wallet-service), client SDKs (bitcore-wallet-client), a blockchain indexer and API node (bitcore-node), a CLI wallet, and a React-based block explorer (insight). The architecture is modular with each cryptocurrency having its own package, but shares significant code duplication across coin-specific libraries. The system supports UTXO-based chains (BTC, LTC, DOGE, BCH) and account-based chains (EVM, Solana, XRP), including threshold signature schemes (TSS) and multi-sig wallets. External API adapters (Alchemy, Moralis) and fiat on-ramp integrations (Wyre, Banxa, Simplex, Transak) provide production features. The codebase is written primarily in TypeScript and JavaScript, with extensive test coverage and operational scripts. While functionality is rich, technical drift is medium due to duplicated code across coin libraries, outdated dependencies (sjcl, request, Gulp), and some deprecated patterns.

RATING: 8.3/10 MAINT: maintained DRIFT: medium
▸ 5 reusable components found
electerious/Ackee ★ 4717 389 APPLICATION

Ackee is a self-hosted, privacy-first web analytics application. The backend is built with Node.js 24, Express 5, Apollo GraphQL, and MongoDB/Mongoose, serving a GraphQL API for data ingestion and retrieval. The frontend is a React 19 dashboard (using `createElement` instead of JSX) with Apollo Client, displaying standard analytics metrics like page views, durations, referrers, browsers, devices, and custom events. Tracking is done via a companion script (`ackee-tracker`) that sends anonymized visit data—no cookies are used, and visitor identity is salted and hashed daily from IP+User-Agent+domain. The architecture includes composable MongoDB aggregation pipelines for computing statistics, a middleware composition pattern via `src/utils/pipe.js`, and serverless deployment support for Vercel and Netlify. Although primarily an application, it employs data engineering patterns (idempotent aggregation stages, timezone-aware date grouping) that could inform similar analytics pipelines. The codebase is well-organized and actively maintained, with extensive documentation and test coverage using AVA and mongodb-memory-server.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 3 reusable components found
microsoft/vscode-js-debug ★ 1970 369 APPLICATION

This repository is the official JavaScript debugger for Visual Studio Code (js-debug). It implements a full Debug Adapter Protocol (DAP) server that communicates with JavaScript runtimes via the Chrome DevTools Protocol (CDP). The debugger supports Node.js, Chrome, Edge, WebView2, VS Code extension hosts, Blazor, and WebAssembly (with DWARF symbols). The architecture is modular, with a core adapter layer handling breakpoints, source maps, evaluation, and console output; target-specific launchers for Node and browser processes; a UI layer providing VS Code commands, configuration providers, and profiling tools; and extensive telemetry and diagnostics infrastructure. Key entry points include the VS Code extension activation (`src/extension.ts`) and a standalone DAP server (`src/debugServerMain.ts`). The codebase uses dependency injection (Inversify), custom event emitters, and source map management with caching and rename support. External dependencies include `ws` (WebSocket), `got` (HTTP), `acorn`/`astring` (JavaScript parsing/code generation), and `@jridgewell/trace-mapping` (source map resolution). While primarily an application, it includes a diagnostic tool webview and telemetry for operational analysis.

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 7 reusable components found
scality/cloudserver ★ 1941 260 APPLICATION

This repository implements Zenko CloudServer, an open-source, S3-compatible object storage server written in Node.js. It provides a single AWS S3 API endpoint that can route data to multiple backends including local filesystem, memory, AWS S3, Azure Blob, GCP, and Scality's own storage. The server handles the full S3 protocol: bucket and object CRUD, versioning, multipart uploads, lifecycle policies, replication, server-side encryption (SSE-S3, SSE-KMS), object lock (retention/legal hold), bucket policies, CORS, website hosting, and rate limiting. It integrates with external services for authentication (Vault), key management (KMIP), metadata storage (MongoDB), metrics (Utapi/Scuba), and replication/ingestion (Backbeat). The architecture is a multi-process Node.js application with separate daemons for the S3 API server, data server, metadata server, and passthrough file server. Configuration is dynamic via environment variables and a JSON config file, with support for live overlay updates through a WebSocket management channel. The codebase is organized into modular API handlers in `lib/api/`, reusable utilities in `lib/api/apiUtils/`, and backend abstractions for data, metadata, and authentication. Extensive functional and unit tests cover S3 API compliance across all supported backends. Key data flows: incoming S3 requests are authenticated via V4 signing, authorized against bucket policies and ACLs, then routed to the appropriate data backend based on location constraints. Metadata operations go through a wrapper that supports in-memory, file, or MongoDB backends. Rate limiting uses a distributed token bucket algorithm with Redis coordination. Metrics are pushed to Utapi and exposed via Prometheus. The system is designed for high availability with clustering and health checks.

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
parse-community/parse-server-example ★ 1902 5280 APPLICATION

This is an example application demonstrating how to set up and run a Parse Server instance using Express. It serves as a reference implementation for the Parse Server open-source backend-as-a-service. The codebase includes a minimal Express server that mounts the Parse Server middleware at a configurable path, serves static assets and a test page, and provides health check endpoints. It uses modern ES6 modules, TypeScript, and the latest Parse Server version (9.x). Cloud code functions (hello, beforeSave) and schema definitions are included to illustrate common patterns. The project also includes comprehensive deployment configurations for various platforms (Heroku, AWS, Google Cloud, etc.), Docker support, CI/CD with GitHub Actions, and automated semantic releases. While simple in scope, the code is well-structured, follows current best practices, and includes a test suite with a reusable test runner utility for programmatically starting/stopping the server during integration tests. This repository is best used as a starter template for new Parse Server projects or as a reference for migration to Parse Server 8+.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
TryGhost/Ghost-CLI ★ 497 238 APPLICATION

This repository implements the Ghost CLI, a command-line tool for installing, configuring, updating, and managing Ghost CMS instances on Linux servers (Ubuntu). The system is a monolithic Node.js application with a plugin architecture. Its core responsibilities include: (1) resolving and downloading Ghost versions from the npm registry, (2) setting up required infrastructure (MySQL, nginx, systemd), (3) managing instance lifecycle (start/stop/restart), (4) handling content migration and import/export via the Ghost Admin API, (5) running health checks via the doctor command, and (6) handling major version upgrades with rollback support. Architecturally, the CLI is composed of a Command base class with yargs integration, a layered task system using listr2 for sequential/parallel operations, and an extension system that allows built-in plugins (nginx, systemd, MySQL) to inject commands, setup steps, doctor checks, and custom process managers. Configuration is managed via JSON files, and dependencies are installed using either yarn or pnpm. The codebase is well-structured with clear separation of concerns: commands in lib/commands/, tasks in lib/tasks/, utilities in lib/utils/, and extensions in extensions/. The tool depends on external services: npm registry for version resolution, Ghost Admin API for import/export, system tools (nginx, systemd, MySQL) for production setups, and acme.sh for SSL certificate management. It supports local development (direct node process) and production (systemd service). The codebase is actively maintained, with support for Ghost versions 1.x through 6.x, Node.js 22/24, and MySQL 5.6 through 9.4. While there is some legacy code for older Ghost versions, the overall architecture is modern, testable, and modular.

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
alallier/reload ★ 294 47 APPLICATION

Reload is a Node.js library and CLI tool that automatically refreshes web pages in the browser when server-side code changes. It works by injecting a client-side JavaScript file that opens a WebSocket connection to the server. When the server restarts (or a manual reload event is triggered), the WebSocket closes, the client detects the closure, waits for the server to come back up, and then reloads the page. The library integrates with Express applications by creating a route to serve the client script, while the CLI tool serves static files and uses nodemon to watch for file changes. The core logic is in `lib/reload.js`, which handles WebSocket server setup, HTTPS support, and parameter validation. The client-side script (`lib/reload-client.js`) is a self-contained pattern that can be reused in other projects. The codebase is well-tested, actively maintained, and follows modern JavaScript practices.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 1 reusable components found
yamadashy/tech-blog-rss-feed ★ 206 84 APPLICATION

This repository implements an RSS feed aggregator for corporate tech blogs. It fetches RSS/Atom feeds from a predefined list of company technology blogs, processes and enriches the feed items with metadata (Open Graph data, Hatena bookmark counts), generates aggregated feeds in Atom/RSS/JSON formats, and builds a static website using Eleventy to display the aggregated content. The site features a homepage with recent articles grouped by date, a 'hot' page showing popular articles based on Hatena bookmarks, individual blog pages, and a blog listing page. Updates are automated via GitHub Actions that run hourly on weekdays and every two hours on weekends.

RATING: 8.3/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
PeculiarVentures/webcrypto ★ 201 21 APPLICATION

This repository provides a WebCrypto API polyfill for Node.js, implementing the W3C Web Cryptography API using Node's native crypto module. It supports a comprehensive set of algorithms including AES (CBC, CTR, GCM, ECB, KW, CMAC), DES (CBC, EDE3-CBC), RSA (SSA, PSS, OAEP, ES), ECDSA, ECDH, EdDSA, ECDH-ES, Ed25519, X25519, HMAC, PBKDF2, HKDF, SHA-1/256/384/512, SHA3-256/384/512, and SHAKE128/256. The architecture follows a provider pattern where each algorithm is implemented as a separate class extending a base provider from the 'webcrypto-core' library. Key management is handled through internal CryptoKey classes with serialization support for JWK, raw, PKCS8, and SPKI formats. The library is designed as a drop-in replacement for the browser's crypto.subtle API, enabling isomorphic JavaScript cryptography.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
sindresorhus/is-wsl ★ 199 9 APPLICATION

is-wsl is a Node.js utility package that detects whether the current process is running inside Windows Subsystem for Linux (WSL). The core logic in index.js checks multiple indicators: platform must be Linux, kernel release string containing 'microsoft', presence of WSL-specific filesystem paths (/proc/sys/fs/binfmt_misc/WSLInterop or /run/WSL), and containerization status via the is-inside-container dependency. It handles WSL 1, WSL 2, custom kernels, and edge cases like WSL running inside a container (which returns false). The package is designed as a simple, reusable dependency with zero configuration. It exports a boolean value (or a function in test mode) and includes TypeScript definitions, comprehensive tests using AVA and esmock for mocking, and a CI workflow testing Node.js 16 and 18. The implementation demonstrates careful consideration of WSL detection nuances without over-engineering. As a focused utility solving a specific environmental detection problem, it exemplifies craftsmanship in small, self-contained modules. The code is minimal, dependency-light, and highly testable, making it suitable for extraction into other projects needing WSL awareness.

RATING: 8.3/10 MAINT: maintained DRIFT: low
▸ 1 reusable components found
NginxProxyManager/nginx-proxy-manager ★ 34335 3924 APPLICATION

Nginx Proxy Manager is a full-stack web application that provides a graphical user interface and REST API for managing Nginx reverse proxy configurations, SSL/TLS certificates (via Let's Encrypt or custom uploads), TCP/UDP streams, access control lists, and user permissions. The system is designed to run as a Docker container and is primarily used by self-hosting enthusiasts and small-to-medium deployments to simplify the otherwise complex task of configuring Nginx and maintaining certificates. The architecture is a classic three-tier web application: a Node.js/Express backend (ES modules) with Objection.js/Knex ORM supporting SQLite, MySQL, and PostgreSQL; a React 18/19 frontend built with TypeScript, Vite, TanStack Query, and Tabler UI; and a set of s6-overlay managed services (backend, frontend, Nginx) inside a single Docker image. The backend generates Nginx configuration files from Liquid templates and reloads Nginx on any change. External dependencies include Nginx, Certbot (for Let's Encrypt), OpenSSL, and optionally a database server. Key entry points are `backend/index.js` (server startup, migration, setup, Express app) and `frontend/src/main.tsx` (React bootstrap). The primary data flow is: user creates or modifies a proxy host, redirection, stream, or certificate via the UI → API call → backend validates permissions and data → persists to database → regenerates relevant Nginx config files → tests configuration → reloads Nginx. The system also periodically checks for certificate expiration and renews via Certbot, and fetches IP ranges from Cloudflare/Cloudfront for access control. The codebase demonstrates solid engineering practices: a consistent internal service layer with access control and audit logging, a well-typed API client with automatic camelCase/decamelize conversion, a reusable table framework built on TanStack Table, and a comprehensive i18n system supporting 24+ locales. While some modules (e.g., certificate management) are large and could benefit from refactoring, the overall structure is clean and maintainable.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 4 reusable components found
vercel/serve ★ 9904 707 APPLICATION

This repository is a CLI tool for serving static files and directory listings over HTTP/HTTPS. It wraps the `serve-handler` middleware to provide a simple, configurable static file server with support for SSL, CORS, compression, URL rewriting, and multiple listening endpoints (TCP, Unix sockets, Windows pipes). The architecture is a single Node.js application with a clear separation of concerns: CLI argument parsing (`cli.ts`), configuration loading with JSON schema validation (`config.ts`), server creation with HTTP/HTTPS support (`server.ts`), and utility modules for logging, promise handling, and network address detection. The codebase is well-structured, uses modern TypeScript and ESM, and includes comprehensive unit tests with Vitest. It is actively maintained by Vercel and serves as a lightweight alternative to more complex static file servers.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 2 reusable components found
beautifier/js-beautify ★ 8993 1426 APPLICATION

js-beautify is a production-grade code formatter for JavaScript, CSS, and HTML, available as both a Node.js library/CLI and a Python package. The core architecture is a tokenizer-pipeline: source text is scanned by an InputScanner, tokenized by language-specific tokenizers (JavaScript, CSS, HTML), and then processed by a Beautifier that manages indentation, line wrapping, brace styles, and operator positioning via a stateful flag system. The Output class provides efficient indentation caching and wrap-point management. The tool supports a wide range of configuration options (indent size, brace style, attribute wrapping, template languages) and includes built-in unpackers for obfuscated scripts (P.A.C.K.E.R, JavascriptObfuscator, etc.). A web interface is also provided, built with CodeMirror and RequireJS. The project maintains near-identical JavaScript and Python implementations, sharing test data generated from Mustache templates to ensure parity. The codebase is well-structured with clear separation of concerns (core, language-specific, CLI, web), extensive test coverage (including regression tests for hundreds of GitHub issues), and a mature build/release pipeline. However, the dual-codebase requirement increases maintenance burden, and some parts (e.g., the web UI, Debian packaging) show signs of drift. The large test data files and complex matrix-based test generation add brittleness.

RATING: 8.2/10 MAINT: maintained DRIFT: medium
▸ 5 reusable components found
porsager/postgres ★ 8726 389 APPLICATION

porsager/postgres is a PostgreSQL client library for Node.js, Deno, and Cloudflare Workers. It provides a full-featured, performant interface to PostgreSQL using tagged template literals for safe, parameterized queries. The library implements the PostgreSQL wire protocol from scratch with zero runtime dependencies, supporting advanced features like connection pooling, prepared statements, cursors, COPY streams, logical replication, large objects, and custom type mapping. The architecture is a factory function that returns a `sql` tagged template function, which lazily connects to the database and pipelines queries over persistent connections. The codebase is well-structured across `src/` with separate modules for connection management, query execution, protocol message building, type serialization/parsing, and error handling. It also includes transpiled builds for CommonJS, Deno, and Cloudflare Workers, each with platform-specific polyfills. The library is actively maintained, has extensive test coverage, and is published under a public domain license.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
evannotfound/hexo-theme-redefine ★ 1966 196 APPLICATION

This repository is the Redefine theme for Hexo, a static site generator. It provides a complete, feature-rich blogging theme with a focus on speed, simplicity, and extensibility. The architecture follows Hexo's plugin model: EJS templates for layout, Stylus and Tailwind CSS for styling, and modular JavaScript for client-side interactivity. Key features include multiple comment system integrations (Waline, Gitalk, Twikoo, Giscus, etc.), local search, image viewer, masonry gallery, page transitions via Swup, light/dark mode, code block highlighting with multiple themes, and various custom tag plugins (buttons, callouts, tabs, folding). The theme is published on npm and actively maintained with a comprehensive CI/CD pipeline for building, testing previews, and deploying to production. There is a well-structured deprecation system to guide users through configuration migrations. However, the codebase lacks automated tests and some third-party dependencies (e.g., moment.js, Waline) may face version drift. Overall, it is a solid, professionally developed theme with high attention to detail and user experience.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
ecyrbe/zodios ★ 1916 57 APPLICATION

Zodios is a TypeScript library that provides a fully typed and validated REST API client built on top of axios and zod, along with a companion server adapter for Express. The core library (`@zodios/core`) offers a centralized API definition format using zod schemas, auto-complete for paths and parameters on the client side, and runtime validation of both request parameters and responses. It includes a sophisticated plugin system for intercepting requests and responses with support for named plugin replacement and per-endpoint registration. The library also provides helper functions for building API definitions (`makeApi`, `apiBuilder`, `parametersBuilder`, `makeCrudApi`, `mergeApis`) and internal plugins for form-data, form-url, and text request formats. The system is designed for end-to-end type safety, allowing developers to share API definitions between client and server code. It has been well-architected with a clean separation of concerns: the client class (`Zodios`) handles HTTP communication through axios and delegates schema validation to the validation plugin, while the API definition helpers provide a builder pattern for composing endpoints. The plugin system is particularly notable for its flexible registration (global, by alias, or by method+path) and its correct reverse-order execution for response interceptors. Overall, the codebase demonstrates strong TypeScript craftsmanship, disciplined use of type inference and utility types (e.g., path parameter extraction at the type level), and a modular design that allows features like CRUD generation and API merging. While not revolutionary, it is a solid, production-quality library that effectively solves the problem of type-safe REST communication.

RATING: 8.2/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
asdf-vm/asdf-nodejs ★ 989 162 APPLICATION

This is an asdf plugin for managing Node.js versions. It provides commands to install, list, and resolve Node.js versions using node-build under the hood. The plugin supports legacy version files (.nvmrc, .node-version), partial version resolution with configurable strategies, automatic npm package installation, corepack enablement, and a custom npm shim that triggers asdf reshim after global package operations. The codebase is well-structured shell scripts with clear separation of concerns, error handling, and CI testing. It is actively maintained and follows asdf plugin conventions.

RATING: 8.2/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
apache/cordova-plugin-camera ★ 976 1559 APPLICATION

This repository implements the Apache Cordova Camera plugin, which provides a cross-platform interface for accessing device cameras and photo libraries. The plugin supports Android, iOS, and browser platforms, allowing developers to capture images, select from galleries, and manipulate images (resize, rotate, etc.) through a JavaScript API. The architecture follows Cordova's plugin pattern with platform-specific implementations in Java (Android), Objective-C (iOS), and JavaScript (browser). The plugin handles image processing, EXIF data handling, file URI management, and permission handling across platforms. It returns images as either base64-encoded data URIs or file URIs, with appropriate handling for memory management and platform-specific quirks.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
jest-community/jest-junit ★ 502 118 APPLICATION

jest-junit is a Jest reporter that transforms test results into JUnit-compatible XML files, commonly used in CI/CD pipelines for integration with tools like Jenkins, CircleCI, and GitLab CI. The codebase is a small, focused Node.js library with a clear architecture: an entry point that supports both the modern reporter API and the deprecated testResultsProcessor, a configuration resolver that merges settings from environment variables, package.json, and reporter options, and a core transformation module (`buildJsonResults`) that converts Jest's aggregated result objects into a structured JSON representation directly mappable to JUnit XML via the `xml` package. It handles template variables for test suite names, class names, and test titles, supports custom properties via external JS files, and manages edge cases like test compilation errors, empty suites, console output inclusion, and retried tests. The code is well-tested with Jest and includes XML schema validation. While the library is not architecturally groundbreaking, it is cleanly modular, follows Node.js best practices, and its configuration and transformation patterns could be reused in other test report generators.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 2 reusable components found
$ loading more...
$ submit: