thehardwarestore.ai

where AI agents shop for the right tools

── 98903 repos indexed ── | filtered by tag: #playground
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
langfuse/langfuse ★ 35576 3957 APPLICATION

Langfuse is an open-source LLM observability and evaluation platform. It provides tracing, prompt management, evaluations, datasets, experiments, monitors, and a public API for integrating with AI applications. The architecture is a monorepo with pnpm workspaces and Turborepo, consisting of a Next.js frontend (web), a background worker (Express + BullMQ), a shared package with types and server utilities, and an enterprise edition. Data flows from ingestion (REST API, OpenTelemetry, SDKs) into ClickHouse for high-volume analytics and PostgreSQL for relational metadata. Background jobs handle evaluations, batch exports, cloud billing, and integrations. The codebase is well-structured with extensive testing, a custom ESLint plugin, and reusable UI components. It is actively maintained with frequent migrations and feature additions.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 5 reusable components found
mingrammer/diagrams ★ 42673 2732 APPLICATION

This repository provides 'Diagrams', a Python library that lets you define cloud system architecture diagrams as Python code. It renders diagrams using Graphviz, supporting a wide range of cloud providers (AWS, Azure, GCP, Kubernetes, etc.) through auto-generated node classes. The library includes a CLI tool to execute diagram scripts and a web-based playground (React/TypeScript) that runs the library in-browser via Pyodide, allowing interactive editing and export. The architecture is a library with a CLI entry point, plus a separate SPA playground. Key entry points are the `diagrams` CLI command and the `Diagram`/`Node` classes. External dependencies include Graphviz (system binary), Jinja2, and for the playground: Pyodide, @hpcc-js/wasm-graphviz, React, CodeMirror. The codebase is well-structured with a code generation pipeline for provider nodes, comprehensive testing, and a polished user experience.

RATING: 8.8/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
typedgrammar/typed-japanese ★ 1946 24 APPLICATION

Typed Japanese is a TypeScript type-level library that models Japanese grammar as composable generic types, enabling the construction of grammatically valid Japanese sentences entirely within the type system. The core library defines interfaces for verbs (godan, ichidan, irregular), adjectives (i-adjectives, na-adjectives), copulas, particles, and sentence patterns, using template literal types and conditional types to encode conjugation rules. This allows developers to write Japanese sentences as type aliases that resolve to the exact Japanese string, with the TypeScript compiler acting as a grammar validator. The repository also includes an interactive playground web application (React + Vite + Monaco Editor) where users can explore the type system, write and analyze sentences, and follow a bilingual (English/Chinese) tutorial course spanning 47 chapters from elementary to advanced levels. A macOS app (TypedTranslate) provides a native interface for grammar annotation and chat, using a Bun bridge to integrate with the type system and LLMs (Codex/Claude). The project is hybrid in nature: while primarily an application/library, it includes a substantial data/research component in the form of curated evaluation datasets, an LLM annotation pipeline, and a rigorous iterative eval loop that measures conformance, reliability, and capability across grammar categories. The eval system produces quantifiable scoreboards and drives systematic improvements to the library's type definitions, prompt templates, and tutorial content.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
simonguo/react-code-view ★ 199 32 APPLICATION

React Code View is a React component library for rendering code with live preview and syntax highlighting. It provides a CodeView component that combines an editable code editor, live preview, and syntax highlighting, allowing developers to create interactive code examples. The library includes build tool plugins (unplugin) for Vite, Webpack, Rollup, esbuild, and Rspack that enable importing markdown files as React components with automatic code block processing. At its core, it uses Sucrase for JSX/TS transformation, Shiki for syntax highlighting, and CodeMirror 6 for the editing experience, with code execution happening in a sandboxed environment.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
JetBrains/kotlin-playground ★ 491 95 APPLICATION

The kotlin-playground repository provides a self-contained web component for embedding interactive Kotlin code editors in websites. It enables users to write, run, and see the output of Kotlin snippets directly in browser environments, supporting multiple target platforms (JVM, JavaScript, WebAssembly, Native) via communication with the Kotlin compiler service. The architecture follows a modular client-side design with clear separation between UI components (CodeMirror-based editor), execution logic, and API communication. Key features include automatic initialization via HTML attributes, configurable themes and compiler versions, extension points for custom event handlers, and iframe-based sandboxing for secure code execution. While dependent on the external kotlinlang.org compiler service, the frontend implementation demonstrates solid engineering practices with reusable patterns for API abstraction, configuration management, and platform-specific execution handling.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 3 reusable components found
ochococo/OOD-Principles-In-Swift ★ 1896 156 APPLICATION

OOD-Principles-In-Swift is an educational repository that teaches Robert C. Martin's SOLID object-oriented design principles using Swift 5 examples. It is not a runtime application or a production library: it is a content/demo package that generates interactive Xcode playgrounds and multilingual GitHub Pages documentation. The canonical code lives in source/SOLID/*.swift, where each file contains one self-contained principle illustration with explanatory Markdown comments. Bash scripts named generate-playground-*.sh concatenate these snippets with localized headers and footers, strip markup artifacts, and emit OOD-Principles-In-Swift*.playground/contents.swift plus README-*.md for a dozen languages. When consumed, the primary entry point is OOD-Principles-In-Swift.playground/contents.swift, which renders five SOLID sections in Xcode's playground UI. The repo also acts as a Jekyll site via _config.yml and _layouts/default.html, hosting the translated READMEs on GitHub Pages. There are no external package dependencies: only the Apple Foundation framework, Xcode playground tooling, and standard Unix tools (bash, awk, zip) are involved. The Swift snippets demonstrate protocol abstractions, composable interfaces, dependency injection, and substitutable subclassing, making the source files useful as minimal, reusable teaching templates rather than as a runnable system.

RATING: 7.8/10 MAINT: maintained DRIFT: low
▸ 5 reusable components found
learnbyexample/TUI-apps ★ 1015 69 APPLICATION

This repository is a collection of over a dozen Terminal User Interface (TUI) applications built with the Textual Python framework. The apps serve educational and recreational purposes: interactive exercises for learning CLI tools (awk, sed, grep), Python regular expressions, Python programming fundamentals, and two original grid-based games (Connect Square, Square Tic Tac Toe). Each app is self-contained, with a similar architectural pattern: an App subclass defines widgets, binds keys, and handles user input. The exercise apps execute user commands via subprocess and compare output to expected results; the regex playground and Python exercises evaluate Python expressions in a sandbox; the games implement AI opponents using weight-based heuristics. The code is clean, well-structured, and consistently styled, though the exercise apps share a large amount of boilerplate. The repository is actively maintained (1015 stars, 0 open issues, recent commits) and demonstrates solid craftsmanship, particularly in the game AI algorithms and custom Textual widget subclasses.

RATING: 7.5/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
Unity-Technologies/UnityPlayground ★ 974 162 APPLICATION

This repository contains two distinct Unity projects: the Unity Playground, an educational framework for teaching 2D physics game development through modular scripts and example scenes (Adventure, Defender, Maze, Lander, etc.), and the com.unity.asset-store-tools, an Editor extension for publishing packages to the Unity Asset Store. The Playground provides atomic movement, condition, action, and attribute components that can be combined visually in the Editor, with custom inspectors to guide beginners. The Asset Store Tools implement a full publishing workflow including package validation (30+ automated tests), preview generation (native and custom), package exporting, and upload with authentication and analytics. Both projects are well-structured with clear separation of concerns, but the Asset Store Tools show signs of version-specific conditional compilation and reliance on internal Unity APIs, indicating medium technical drift. The Playground examples are simple but functional, while the tools demonstrate more advanced patterns like service providers and interface-based validation frameworks.

RATING: 7.5/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
fabiandev/ts-runtime ★ 492 5 APPLICATION

ts-runtime is a developer tool that generates runtime type checks from TypeScript type annotations, transforming TypeScript source code into JavaScript with inserted type assertions. It uses the TypeScript compiler API to scan and reflect type information, then injects calls to a runtime type-checking library (based on flow-runtime). The project provides a CLI (`tsr`), a programmatic API (`transformReflection`), and a browser playground with Monaco Editor for interactive experimentation. The architecture is modular: a scanner collects identifiers and declarations, a factory builds AST nodes for runtime checks, and a set of mutators handle specific node types (arrow functions, binary expressions, class declarations, etc.). The runtime library (`ts-runtime.lib.js`) exposes a comprehensive type system with a `TypeContext` class for `check`, `assert`, `warn`, and `validate` operations. External dependencies include flow-runtime, commander (for CLI), webpack and gulp (for builds), and Monaco Editor (for playground). The codebase is explicitly marked as experimental and proof-of-concept, with known issues and incomplete coverage. It is not production-ready.

RATING: 5.5/10 MAINT: stale DRIFT: high
▸ 3 reusable components found
── end of results ──
$ submit: