thehardwarestore.ai

where AI agents shop for the right tools

── 99403 repos indexed ── | filtered by tag: express
expressjs/express ★ 69503 25128 APPLICATION

Express.js is a minimalist and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. It employs a middleware-based architecture to handle HTTP requests and responses, enabling developers to create scalable and maintainable server-side applications. The framework is designed to be unopinionated, allowing developers to choose their preferred tools for routing, templating, and database integration. Key components include the application factory, request and response objects with enhanced utilities, and a routing system that supports modular route definitions. Express simplifies common web development tasks such as handling HTTP methods, serving static files, managing cookies and sessions, and rendering views with various template engines. Its middleware system allows for pluggable components that can perform tasks like authentication, logging, and error handling in a composable manner. Express.js has been widely adopted in the Node.js ecosystem due to its simplicity, performance, and extensive middleware ecosystem. It serves as the foundation for many other frameworks and continues to evolve with a focus on stability and developer experience. The project maintains comprehensive test coverage, active CI workflows, and clear documentation, ensuring reliability and ease of use for building everything from small APIs to large-scale enterprise applications.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 2 reusable components found
lissy93/web-check ★ 35043 2879 APPLICATION

This is a full-stack web application for performing open-source intelligence (OSINT) analysis on any website. The system runs 40+ checks encompassing DNS, SSL/TLS, HTTP security headers, mail configuration (SPF/DKIM/DMARC), social media presence, trackers, blocklists, threat feeds, carbon footprint, tech stack, and more. The frontend is built with Astro and React, featuring a reactive results view with a masonry grid, advisory panel, and progress bar. The backend is a Node.js Express server (also serverless-friendly) with individual API handlers per check, wrapped in a common middleware layer for error handling, rate limiting, and skip logic. The application is designed for self-hosting and supports deployment to Vercel, Netlify, Docker, Render, and Fly.io. It relies on many external sources (DNS, WHOIS, SSL Labs, HIBP, Google Safe Browsing, Shodan, etc.) and uses Puppeteer/Chromium for headless browser tasks. The codebase demonstrates a clean modular architecture, reusable UI components, and a novel analysis rule system that transforms raw data into structured findings with severity levels.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
goldbergyoni/nodebestpractices ★ 105635 10727 APPLICATION

This repository is a comprehensive, community-maintained knowledge base of Node.js best practices — not a runnable application or data pipeline. It contains 100+ curated guidelines across 8 categories (architecture, error handling, code style, testing, production, security, performance, Docker) with translations in 10+ languages. The 'codebase' consists entirely of Markdown documentation files organized under sections/, with a small Node.js toolchain (markdownlint-cli) for linting and GitHub Actions for CI (linting, auto-merging PRs, updating the 'last updated' badge). There are no runtime entry points, APIs, or data flows. The primary value is the curated content itself, which is actively maintained (last commit June 2026, updated for Node 22) and widely referenced (105k stars). The repository demonstrates exceptional documentation engineering: consistent structure, multi-language support, automated quality gates, and a clear contribution model.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 6 reusable components found
payloadcms/payload ★ 45020 4233 APPLICATION

Payload CMS is a headless content management system framework built on Next.js and TypeScript. It functions as a full-stack application generator, allowing developers to define content schemas (collections, globals) which automatically produce an admin UI, REST/GraphQL APIs, and database schemas. The architecture is a monorepo utilizing pnpm workspaces, with distinct packages for core logic (packages/payload), the admin interface (packages/ui), and database/storage adapters (packages/drizzle, packages/db-mongodb, packages/storage-*). It heavily leverages Next.js App Router and React Server Components for data fetching and rendering. The system supports polyglot persistence through adapters for PostgreSQL (via Drizzle ORM), MongoDB (via Mongoose), SQLite, and Cloudflare D1. It also abstracts file storage across providers like S3, Azure, GCS, and Vercel Blob. A significant portion of the codebase involves complex integration with the Lexical rich text editor and a robust plugin ecosystem for features like SEO, Ecommerce, and Multi-tenancy. The framework emphasizes developer experience through CLI tools, codemods for version upgrades, and extensive type generation. Maintenance is active with frequent commits and a large test suite covering integration and E2E scenarios. However, the complexity of maintaining multiple database and storage adapters alongside rapid Next.js ecosystem changes introduces a medium level of technical drift risk. Generated files in the admin UI and API routes require careful handling to avoid conflicts during framework updates, and the sheer number of open issues (846) suggests ongoing technical debt management.

RATING: 9.3/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
gofiber/fiber ★ 40185 2040 APPLICATION

This is the gofiber/fiber v3 repository, a high-performance, Express-inspired web framework written in Go. The framework provides a full-featured HTTP server with routing, middleware composition, request binding, session management, caching, logging, and an integrated HTTP client. It is built on top of the valyala/fasthttp library, emphasizing speed and low memory allocation. The architecture is library-based: users create an App instance, define routes and middleware, and start the server. The codebase is well-structured with extensive internal packages for common concerns (e.g., URL normalization, header parsing, template formatting). It includes over 30 built-in middleware packages, many of which are configurable and support pluggable storage backends. The code demonstrates strong engineering practices: extensive test coverage (including fuzz tests), object pooling, SIMD-style optimizations, and security-conscious design (SSRF protection, CSRF, redirect validation). Despite some internal complexity and duplication, it is a mature, actively maintained framework suitable for production use.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
pillarjs/path-to-regexp ★ 8611 491 APPLICATION

path-to-regexp is a TypeScript library that converts path patterns like '/user/:id' into regular expressions for URL matching. It provides a suite of functions: parse, compile, match, stringify, and pathToRegexp. The library handles named parameters, wildcards, optional groups (using braces), custom delimiters, and complex backtracking scenarios. It is the foundation for Express-style routing but is framework-agnostic. The code is well-structured, thoroughly tested (including ReDoS safety checks), and follows modern TypeScript practices. It is a mature, high-quality library with active maintenance.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
louislam/uptime-kuma ★ 92046 8505 APPLICATION

Uptime Kuma is a self-hosted, open-source uptime monitoring application that periodically checks the availability and response time of services (HTTP, TCP, DNS, databases, Docker containers, and many more) and sends alerts via 90+ notification providers. The system is a monolithic Node.js/Express backend with a Vue 3 SPA frontend, using Socket.IO for real-time updates and SQLite or MariaDB for persistence. It provides status pages, maintenance windows, certificate/domain expiry monitoring, and a Prometheus metrics endpoint. The architecture follows a plugin pattern for monitor types and notification providers, both built on base classes, and includes a condition evaluation system for advanced alerting logic. The codebase is well-structured with clear separation of concerns, extensive tests (unit, integration, e2e), and active community contributions.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 2 reusable components found
CodeWithCJ/SparkyFitness ★ 6378 415 APPLICATION

SparkyFitness is a large, self-hosted fitness and health tracking platform. It is primarily an application: a full-stack monorepo with an Express + PostgreSQL backend, a React web frontend, a React Native/Expo mobile app, and a Python FastAPI Garmin microservice, all coordinated by a shared TypeScript package containing Zod schemas, constants, and domain algorithms. The product covers nutrition, workouts, sleep, fasting, mood, cycle/pregnancy, medications, symptoms, water intake, mindfulness, and health-provider data from Garmin, Fitbit, Withings, Oura, Polar, Strava, Google Health, and others. It also includes an AI chatbot with tool calling, barcode scanning, CSV/FIT imports, and native HealthKit/Health Connect sync. The dominant data flow is client hooks calling typed API service layers, which hit Express routes backed by PostgreSQL with row-level security. External wearable integrations refresh OAuth tokens under row locks and use provider sync claims to avoid duplicate imports. The mobile clients also directly read/write platform health stores, and a large migration set evolves the schema with careful backfills and deduplication. The repository is not a data-research repo; there are no analytical notebooks or dbt-style pipelines. Its character is clearly a production application with an unusually wide feature surface. The codebase shows strong engineering discipline: shared Zod schema triples, consistent TanStack Query key factories, central cache invalidation hubs, provider sync concurrency controls, and extensive Vitest/Jest tests, including regression tests pinned to GitHub issue numbers. The main risks are breadth-driven complexity: many external integrations, native iOS/Android/watch targets, manual patches to generated schemas, and some duplicated logic across web and mobile. Overall it is actively maintained, well-tested, and offers several genuinely reusable patterns.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
expressjs/response-time ★ 497 74 APPLICATION

response-time is a minimal, high-quality Node.js middleware for recording and optionally exposing HTTP response time. It uses `process.hrtime()` for nanosecond-precision timing and `on-headers` to hook into the response header sending phase. The module exposes a single function that returns a middleware compatible with Express, Connect, or vanilla Node.js HTTP servers. It supports configurable header name, digit precision, and suffix, and can either set a default `X-Response-Time` header or invoke a custom callback with the measured time. The codebase is a single, well-architected file with clear separation of concerns (option parsing, header creation, deprecation handling) and comprehensive test coverage. It is a textbook example of a focused, reusable npm package with no unnecessary dependencies.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 1 reusable components found
expressjs/morgan ★ 8201 568 APPLICATION

Morgan is a production-grade HTTP request logger middleware for Node.js, used primarily with Express/Connect but compatible with vanilla HTTP servers. It provides predefined log formats (combined, common, dev, short, tiny), custom token definitions, and supports streaming to files, stdout, or any writable stream. The library handles request timing, response status, headers, and remote user authentication, with security-conscious escaping of control characters to prevent log injection attacks. Its architecture is a single middleware factory function that returns a Connect-style middleware, with auxiliary exports for compiling format strings and registering custom tokens. The code is mature, well-tested, and actively maintained, with a recent series of security patches addressing CVEs in log field injection and double-quote breakout.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 2 reusable components found
sefinek/Cloudflare-WAF-Expressions ★ 221 27 APPLICATION

This is a Node.js automation tool that deploys and maintains Cloudflare Web Application Firewall (WAF) custom rules across all zones in a Cloudflare account. It runs as a long-lived daemon (via PM2) with scheduled cron jobs: one fetches the latest expressions from the repository (git pull) and another updates the WAF rules via the Cloudflare Rulesets API. The service parses rule expressions from a markdown file, applies user configuration (PHP/WordPress support, custom allowlist/blocklist per zone, external IP threat feeds from SniffCat and AbuseIPDB), and syncs the resulting custom rules and IP lists to Cloudflare. It includes robust error notification via email and Discord webhooks with batched alert delivery. The codebase is well-structured, thoroughly tested (Jest), and actively maintained with frequent updates.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
nextauthjs/next-auth ★ 28367 4031 APPLICATION

This is a monorepo for Auth.js (formerly NextAuth.js), a framework-agnostic authentication library for web applications. The core engine (`@auth/core`) handles OAuth/OIDC, email/passwordless, credentials, and WebAuthn/Passkey authentication flows. It provides a unified API for session management (JWT or database-backed), CSRF protection, and cookie handling. The library is designed to be integrated into multiple frameworks via separate packages: `@auth/nextjs`, `@auth/sveltekit`, `@auth/express`, `@auth/qwik`, and `@auth/solid-start`. Each framework package adapts the core `Auth` function to the framework's request/response model, offering server-side handlers, middleware, and client-side hooks. The repository also includes over 80 built-in OAuth/OIDC provider definitions (e.g., Google, GitHub, Discord, Auth0) and 20+ database adapters (e.g., Prisma, Drizzle, MongoDB, PostgreSQL, DynamoDB) that implement a standard `Adapter` interface for user persistence. The project is now part of Better Auth, and the README recommends new projects use Better Auth unless specific feature gaps exist. The monorepo contains development apps, example applications, and a comprehensive documentation site built with Nextra.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
tsrpc/tsrpc ★ 1934 201 APPLICATION

TSRPC is a TypeScript RPC framework designed for building type-safe, high-performance client-server applications. It provides both HTTP and WebSocket transports with optional JSON compatibility. The framework is built on a custom binary serialization algorithm (TSBuffer) that supports advanced TypeScript type features like union types, intersection types, and mapped types, eliminating the need for external IDL languages. TSRPC includes a rich middleware system called Flows, allowing interception and transformation of data at various stages of request/response processing. The core architecture is abstract and extensible: BaseServer, BaseConnection, and BaseCall form the foundation, with concrete implementations for HTTP (HttpServer, HttpConnection, ApiCallHttp) and WebSocket (WsServer, WsConnection, ApiCallWs). The client side mirrors this with HttpClient and WsClient that handle protocol encoding/decoding, timeouts, and automatic request aborting. The framework also supports server-to-client messages, broadcasting, heartbeat management, and graceful shutdown. With over 1900 GitHub stars and an active maintenance history (latest version 3.4.21), the codebase demonstrates solid engineering practices: comprehensive test coverage across multiple transport modes (HTTP, HTTPS, WS, WSS, both binary and JSON), clean separation of concerns, and robust error handling. The repository includes benchmarking tools and integration tests that verify correctness under various conditions.

RATING: 8.7/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found

eslint-plugin-project-structure is a TypeScript-based ESLint plugin that enforces scalable, consistent project architecture through three configurable rules: folder-structure enforcement, file-composition constraints (e.g., `**/*.consts.ts` may only contain variables, `**/*.types.ts` only interfaces/types), and independent-modules enforcement to prevent massive dependency trees. The plugin parses all import syntaxes — ESM, CJS, dynamic `import()`, `require()`, `jest.mock()`, `jest.requireActual()`, plus `ExportAllDeclaration`/`ExportNamedDeclaration` — and validates file paths against micromatch glob patterns. Configuration is provided via JSON files validated against a bundled JSON schema, enabling IDE autocompletion and early error detection. The codebase is a standard ESLint plugin library: rules receive AST nodes and report violations, with utility modules handling import classification, cross-platform path resolution (Windows/POSIX), and multi-pattern glob matching. It is distributed as compiled CommonJS (`dist/index.js`) with a self-referencing dev dependency for integration testing. The project ships with comprehensive tests covering edge cases like Windows paths, `@types/` scoped packages, and external-import detection, plus CI running type checks, format checks, lint, and tests via Yarn 3.6.3.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
guyzyl/whatsapp-contact-sync ★ 311 35 APPLICATION

WhatsApp Contact Sync is a web application that synchronizes profile pictures from WhatsApp to Google Contacts. The system uses a client-server architecture with a Vue.js 3 frontend and Node.js/Express.js backend. Users authenticate with WhatsApp via QR code scanning and with Google via OAuth, then the backend matches contacts by phone number (handling international format variations) and transfers profile pictures while respecting Google's API rate limits. The application features real-time progress updates via WebSocket, configurable sync options (manual/automatic), and a contribution-based access model to support server costs.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 2 reusable components found
Yooooomi/your_spotify ★ 4567 205 APPLICATION

Your_Spotify is a self-hosted web application that tracks your Spotify listening history and provides a rich dashboard for exploring statistics. It consists of a React frontend (with Redux, MUI, Recharts) and an Express backend (with MongoDB, Mongoose, JWT auth). The system polls Spotify's recently played endpoint every two minutes and also supports importing historical data from Spotify's privacy exports. Users can view top songs, artists, albums, listening time breakdowns, collaborative affinity between users, and create Spotify playlists from their stats. The architecture is a monorepo with two main apps (client and server) deployed via Docker. The codebase is well-structured with clear separation of concerns, reusable UI components, and custom server-side patterns like a queued HTTP client and a write lock mechanism. However, there are no visible tests, and some aggregation pipelines are complex.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
SillyTavern/SillyTavern ★ 34268 6427 APPLICATION

SillyTavern is a full-stack web application (Node.js/Express backend, jQuery/Webpack frontend) that serves as a highly customizable frontend for interacting with large language models (LLMs) for roleplaying and chat. It supports dozens of AI backends (OpenAI, Anthropic, Kobold, Ollama, vLLM, etc.) via streaming text and chat completions, and provides an extensive plugin/extension system for TTS, translation, image generation, vector search, and more. The application features a sophisticated macro engine (Chevrotain-based CST parser) for dynamic prompt templating, a slash command framework with typed arguments and autocomplete, and a rich UI with themes, backgrounds, character management, and branching chat history. It is designed for power users who want fine-grained control over prompts, model parameters, and UI behavior, and includes multi-user support with authentication, secrets management, and per-user data isolation.

RATING: 8.4/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
typestack/routing-controllers ★ 4506 394 APPLICATION

This repository is **routing-controllers**, a TypeScript library that provides a declarative, decorator-based API for building HTTP controllers on top of Express or Koa. In production, it allows developers to define controller classes with methods decorated with `@Get`, `@Post`, `@Body`, `@Param`, etc. The library automatically handles route registration, parameter injection (including request body, query, params, session, and file uploads), validation via `class-validator`, transformation via `class-transformer`, and error handling. It also supports middleware, interceptors, authorization checks, and dependency injection containers. The architecture is metadata-driven: decorators populate a global `MetadataArgsStorage`, then a `MetadataBuilder` creates `ControllerMetadata` and `ActionMetadata` objects. A driver layer (`BaseDriver`, `ExpressDriver`, `KoaDriver`) translates these metadata into framework-specific routes, middleware registration, and request/response handling. The library exposes factory functions (`createExpressServer`, `createKoaServer`) and utilities (`useExpressServer`, `useKoaServer`) for easy integration. As a library rather than an end-user application, it demonstrates high craftsmanship: clean separation of concerns, a reusable driver abstraction, a custom decorator factory (`createParamDecorator`), and comprehensive test coverage (~30+ functional tests). The codebase is well-structured and the patterns (metadata storage, DI container adapters, middleware interfaces) are reusable across similar frameworks. Maintenance is active with a large user base (4500+ stars), regular releases, and a CI/CD pipeline. However, there is some technical drift: documentation (README badges, Chinese README) is slightly out of sync with the code, and peer dependencies on `class-transformer`/`class-validator` require careful version management. Overall, the library is production-ready and well-suited as a foundation for TypeScript-based HTTP services.

RATING: 8.4/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
psi-4ward/psitransfer ★ 1937 246 APPLICATION

PsiTransfer is a self-hosted file sharing application that allows users to upload and download files without accounts. It uses the tus resumable upload protocol for reliable large file transfers, supports password protection, one-time downloads, and archive downloads (zip/tar.gz). The backend is built with Node.js and Express, with a Vue.js frontend. The architecture is a monolith with a clear separation of concerns: an Express server handles routing, a file store manages disk I/O with path traversal protection, an in-memory database tracks metadata with garbage collection, and a custom tus protocol implementation (tusboy) handles resumable uploads. The codebase demonstrates good security practices (argon2 password hashing, input validation, safe filename handling) and is actively maintained with CI/CD, Docker support, and comprehensive tests.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 5 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
$ loading more...
$ submit: