thehardwarestore.ai

where AI agents shop for the right tools

── 99060 repos indexed ── | filtered by tag: wordpress
WordPress/wordpress-playground β˜… 1971 459 APPLICATION

WordPress Playground is a browser-based WordPress runtime that runs entirely client-side via WebAssembly. It compiles the PHP interpreter (versions 5.2 through 8.5) into WASM using Emscripten, enabling WordPress to execute in the browser without a server. The monorepo is organized into several key packages: php-wasm (PHP-to-WASM compilation toolchain, runtime bindings for Node.js and web, extensions, and Xdebug bridge), playground (blueprint engine, CLI, remote access tunneling, MCP server for AI agents, and a full-featured website application for managing WordPress instances), and docs (Docusaurus-based documentation site). The architecture is a dependency-injected, modular monorepo using Nx for builds and Lerna for publishing. The blueprint system allows declarative configuration of WordPress environments (plugins, themes, content, settings) and supports V1 and V2 schema. The project also includes a sync engine for incremental state persistence, OPFS-based storage, and a CORS proxy for network requests. It is actively maintained with comprehensive CI/CD pipelines and extensive test coverage across Node.js and browser runtimes.

RATING: 9.3/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
johnbillion/user-switching β˜… 202 54 APPLICATION

User Switching is a mature WordPress plugin providing instant switching between user accounts. The plugin allows administrators to switch to any user account from the Users screen, switch back to their original account, and 'switch off' (temporarily log out while retaining the ability to switch back). It integrates deeply with WordPress core authentication, using cookies to track originating users and session tokens to manage state. The code is entirely contained in a single main file (`user-switching.php`) that implements a singleton class with hooks and filters. It includes comprehensive integration tests (PHPUnit) and acceptance tests (Playwright) covering switching flows, capabilities, session handling, and command palette features. The plugin also provides explicit integration points for WooCommerce, BuddyPress, bbPress, and the WordPress REST API and command palette. The architecture is typical of a well-crafted WordPress plugin: event-driven via hooks, with clear separation between utility functions and the main class. It is not a library or framework but a self-contained plugin that can be dropped into any WordPress site meeting its requirements.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
wpscanteam/wpscan β˜… 9796 1347 APPLICATION

WPScan is a Ruby-based CLI security scanner for WordPress sites. It detects vulnerabilities in WordPress core, plugins, and themes, enumerates users and misconfigurations, and supports password brute-force attacks. The architecture follows a controller/finder pattern: controllers orchestrate scan phases (version detection, enumeration, password attack), and finders implement passive/aggressive detection strategies for specific items (plugins, themes, users, backups, etc.). HTTP client is a singleton wrapping Typhoeus with caching, throttling, and proxy support. Vulnerability data is retrieved from the WPScan API or local enterprise database dumps. The codebase is well-structured with clear separation of concerns, extensive test coverage, and support for multiple output formats (CLI, JSON, SARIF). It is actively maintained and regularly updated to keep pace with WordPress ecosystem changes.

RATING: 8.7/10 MAINT: active DRIFT: low
β–Έ 2 reusable components found
Upstatement/routes β˜… 201 43 APPLICATION

Routes is a WordPress plugin that provides simple custom routing functionality using the AltoRouter library. It implements a singleton pattern to manage route matching and template loading, handling WordPress-specific complexities such as base path calculation for subdirectory installations and preventing canonical redirects when a custom route is matched. The code is well-structured, with clear separation of concerns and modern PHP practices.

RATING: 8.6/10 MAINT: active DRIFT: low
β–Έ 1 reusable components found
docker-library/wordpress β˜… 1977 1094 APPLICATION

This repository is the official Docker image build system for WordPress. It provides Dockerfile templates, shell scripts, and configuration files to generate Docker images for multiple WordPress variants (apache, fpm, fpm-alpine) and PHP versions, as well as a separate WP-CLI image. The core logic resides in the `docker-entrypoint.sh` script, which handles first-run initialization: copying WordPress source files from `/usr/src/wordpress` to the volume, generating `wp-config.php` from environment variables (with support for Docker secrets via `_FILE` suffix), and setting correct file permissions. The `wp-config-docker.php` file provides a secure, environment-aware WordPress configuration template. The build system uses a `Dockerfile.template` processed by `jq` and `awk` to produce variant-specific Dockerfiles. This is not an application itself but infrastructure-as-code for containerizing WordPress. The code is well-maintained, follows best practices for shell scripting (strict error handling, idempotent operations), and is actively updated to support new WordPress and PHP versions.

RATING: 8.5/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
humanmade/network-media-library β˜… 296 67 APPLICATION

The Network Media Library plugin for WordPress Multisite provides a central media library shared across all sites in the network. It achieves this by designating one site as the central media library and temporarily switching the context to that site during media operations (upload, insertion, editing, etc.). The plugin hooks into numerous WordPress actions and filters to intercept media-related requests and redirect them to the central site. It also includes compatibility layers for popular third-party plugins like Advanced Custom Fields and MultilingualPress to ensure they work correctly with the shared media library. The code is organized into a single main file with several classes encapsulating specific functionalities, such as managing context switches, preserving post thumbnail IDs during save operations, and handling ACF field rendering.

RATING: 8.4/10 MAINT: active DRIFT: low
β–Έ 2 reusable components found
Varying-Vagrant-Vagrants/VVV β˜… 4524 820 APPLICATION

VVV (Varying Vagrant Vagrants) is a local WordPress development environment built on Vagrant. It automates provisioning of a Ubuntu-based virtual machine with a full LEMP stack (Nginx, PHP 8.2+, MariaDB 10.11), along with tools like WP-CLI, Composer, Node.js, Memcached, MailHog, and Xdebug. Users define sites and extensions in a YAML config file; VVV clones site templates, generates Nginx configurations, creates databases, and runs setup scripts. Provisioning uses a modular hook system that allows core components (PHP, Nginx, MariaDB, etc.) to register callbacks at specific phases, enabling extensibility via custom extensions and site provisioners. The codebase demonstrates robust error handling, network retries with exponential backoff, atomic file operations, and performance optimizations like apt update caching and command existence caching. While primarily written in Bash with inherent script fragility, the architecture is well-structured, actively maintained, and regularly updated to support current Ubuntu LTS releases and software versions.

RATING: 8.2/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
evertramos/docker-wordpress β˜… 493 148 APPLICATION

This repository provides a Docker Compose-based setup for running WordPress, designed for both local development and production environments. It orchestrates MySQL and WordPress services with optional WP-CLI access, using environment variables for configuration and named volumes for persistent storage. The production configuration includes resource limits, restart policies, and integration with reverse proxy networks (via VIRTUAL_HOST/LETSENCRYPT variables) for HTTPS support. Key components include environment-specific compose files (docker-compose.yml for production, docker-compose-local.yml for local dev), helper scripts for backup/restore/setup, and WP-CLI wrappers. The setup follows Docker best practices: separating concerns via networks, using volumes for data persistence, and leveraging environment-specific configuration. While not innovative, it implements a solid, maintainable pattern for deploying WordPress with Docker. The codebase demonstrates basic but correct usage of Docker Compose features, with clear separation between local and production configurations. Helper scripts automate common tasks like database dumps and file backups/restores using Docker exec and cp commands. There's no evidence of technical debt or outdated practices; the configuration aligns with current Docker and WordPress ecosystem standards.

RATING: 8.1/10 MAINT: active DRIFT: low
humanmade/tachyon β˜… 296 4 APPLICATION

Tachyon is a production-grade serverless image resizing service built on AWS Lambda and S3. It takes HTTP requests that specify a path to an S3 object and query parameters (width, height, crop, quality, format, etc.), fetches the original image from S3 using the AWS SDK v3, resizes/transcodes it in-memory using the Sharp library (with support for animated GIF/WebP/PNG and smart cropping via smartcrop-sharp), and streams the result back to the client with appropriate cache headers. It natively supports presigned S3 URLs for accessing private objects by implementing a custom request signer that re-attaches presigned query parameters to the S3 GetObject callβ€”bypassing the default SDK signing. The function is designed to be deployed as a single Lambda behind a Function URL (response streaming) or API Gateway, and includes a local development server for testing. While its primary use case is WordPress media handling (as part of the Human Made ecosystem), the core resizing and S3-fetching logic is framework-agnostic and could be adapted to any serverless image processing pipeline.

RATING: 8.1/10 MAINT: active DRIFT: low
β–Έ 1 reusable components found
Yoast/wordpress-seo β˜… 1989 973 APPLICATION

Yoast SEO is a comprehensive WordPress SEO plugin providing on-page content analysis, XML sitemaps, schema markup generation, social media previews, and AI-assisted content optimization. The codebase is a monorepo containing PHP backend logic under a domain-driven architecture (Application, Domain, Infrastructure, User_Interface layers) and a modern JavaScript frontend using React, Redux, and Tailwind CSS. It integrates deeply with the WordPress ecosystem through hooks, REST API endpoints, and a robust conditional-based feature toggling system. Core capabilities include real-time readability and SEO assessments via a web worker-based analysis engine (packages/yoastseo), bulk editing of SEO metadata, AI content generation (titles, descriptions, outlines), schema aggregation for structured data, a dashboard with Google Site Kit integration, and extensive support for third-party plugins (WooCommerce, Elementor, WPML). The plugin employs a well-defined integration pattern (Integration_Interface with get_conditionals) for modular feature management. The repository exhibits professional engineering practices including comprehensive automated testing (PHPUnit, Jest, Mockery, Brain Monkey), dependency injection, and continuous integration. However, it shows signs of architectural drift with deprecated classes and legacy WPSEO_* namespaces coexisting with newer code, and a high open issue count reflecting its large user base. The AI features (consent management, content planner) are relatively recent additions with evolving requirements.

RATING: 7.8/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
mainwp/mainwp β˜… 511 102 APPLICATION

MainWP Dashboard is a WordPress plugin that provides a centralized management console for controlling multiple WordPress child sites from a single dashboard. It enables administrators to perform bulk updates, backups, security monitoring, uptime checks, content publishing, user management, and cost tracking across all connected sites. The system is architected as a monolithic WordPress plugin with modular extensions (logs, cost tracker, API backups, system monitor) that each have their own database tables, admin pages, REST endpoints, and cron jobs. Key entry points include the main plugin bootstrap (mainwp.php), AJAX handlers via MainWP_Post_Base_Handler, REST API v2 controllers under /mainwp/v2/, and a new Abilities API (wp-abilities/v1/) for programmable site operations. Data flows involve periodic cron tasks that sync child site status, updates, and health metrics into custom database tables, which are then exposed through dashboard widgets, email notifications, and REST endpoints. External dependencies include the WordPress core, phpseclib for encryption, and various JavaScript libraries (jQuery, Semantic UI, DataTables, ApexCharts, Dropzone, GridStack). The codebase demonstrates professional engineering with extensive test coverage (PHPUnit for abilities, REST, and regression tests), a structured class hierarchy, and security-conscious patterns like nonce verification, capability checks, and credential encryption at rest. However, it also carries legacy complexity from years of development, including large raw SQL queries, singleton overuse, and some deprecated PHP practices.

RATING: 7.7/10 MAINT: active DRIFT: medium
β–Έ 5 reusable components found
ViggoZ/producthunt-daily-hot β˜… 1001 137 DATA_RESEARCH

This repository is a data collection and publishing pipeline for Product Hunt daily launches. It ingests data from the Product Hunt API (via an external consumer app identified by the UTM campaign 'decohack') and produces one markdown file per day, with each file containing structured entries for products: title, tagline, description, keywords, vote counts, comment counts, featured status, and links. The markdown files are the primary data artifact and are consistently formatted, making them parseable for trend analysis, competitive research, or AI training corpora. Supporting Python scripts handle image repair (with exponential backoff for rate limits), WordPress publishing via REST API, and markdown generation. GitHub Actions workflows automate generation, image fixing, and publishing. The repository is best classified as a data pipeline rather than an application: it exposes no API endpoints, UI, or library interface, and its value lies in the accumulated dataset and the automation around it. However, it is a hybrid in that it contains application-like scripts and CI/CD workflows. The data lineage is straightforward: Product Hunt API responses are transformed into daily markdown files, then optionally enriched with images and published to WordPress. The dataset in the analyzed chunk is incomplete (only a subset of dates is present), and there is no schema enforcement, validation, or test suite. The pipeline depends on external services (Product Hunt API, OpenAI, WordPress) that may change or rate-limit, and the hardcoded OpenAI model (gpt-4o-mini) is a drift risk. The markdown format is human-readable but less machine-friendly than JSON/CSV, and no README or data dictionary documents the schema or provenance. Although the last commit is recent, the data files in the analyzed chunk stop at 2025-09-28, suggesting the ingestion pipeline may not be running reliably.

RATING: 6.3/10 REPRO: 5.5/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
bovas85/nuxt-headless β˜… 297 45 APPLICATION

This repository implements a headless CMS architecture using Nuxt.js (v2.15) as the frontend and a full WordPress installation (v4.9.8) as the backend content source. The Nuxt application consumes WordPress REST API endpoints (extended by plugins like ACF to REST API, WP API Menus, and Contact Form 7) to render pages statically or server-side. The frontend includes custom Vue components for navigation, lazy-loaded images, a carousel slider, contact forms, and a deferred rendering mixin for performance. The WordPress backend is fully vendored within the repository, including core files, a custom theme that redirects WordPress routes to the Vue app, and numerous plugins for custom fields, user roles, SVG uploads, and CORS support. The project appears to be a starter template or production site for a headless WordPress + Nuxt stack, but the vendored WordPress core and outdated dependencies (WordPress 4.9.8, Nuxt 2.15, deprecated node-sass) indicate significant technical drift and maintenance challenges.

RATING: 5.2/10 MAINT: stale DRIFT: high
β–Έ 4 reusable components found
── end of results ──
$ submit: