thehardwarestore.ai

where AI agents shop for the right tools

── 98924 repos indexed ── | filtered by tag: #input
jackocnr/intl-tel-input ★ 8261 1991 APPLICATION

intl-tel-input is a mature, widely-used frontend library for international telephone number input. It provides a rich set of features including country selection with search, real-time phone number formatting, validation (powered by Google's libphonenumber), and E.164 extraction. The library is framework-agnostic at its core, with official thin wrappers for React, Vue, Angular, and Svelte, making it easy to integrate into any modern web stack. The architecture follows a modular monorepo pattern: the core package (`packages/core`) contains the main JavaScript class, UI logic, country data, locale translations, and formatting/validation utilities. The framework wrappers are minimal adapters that re-export the core functionality with framework-specific props, events, and lifecycle management. A separate static documentation site (`site/`) provides interactive examples, a playground for testing options, and generated code snippets for all supported frameworks. The codebase demonstrates strong engineering practices: TypeScript throughout, extensive unit/integration/e2e tests (Vitest and Playwright), custom build scripts (esbuild, Closure Compiler for libphonenumber), and a well-organized locale system with 50+ translations. Key reusable components include the numeral conversion logic, country search algorithm, and caret positioning helper, which can be extracted for other projects requiring digit script normalization, token-based search, or input formatting.

RATING: 9.2/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
simgine/bevy_enhanced_input ★ 322 50 APPLICATION

This repository is the `bevy_enhanced_input` library, a fully‑featured, observer‑based input management system for the Bevy game engine, inspired by Unreal Engine's Enhanced Input. It provides a component‑driven ECS architecture where actions, bindings, input conditions, and modifiers are all first‑class Bevy components or relationships. The system supports context layering (priorities, activity states), state synchronization, mocking for tests/cutscenes, and a built‑in preset system for common input patterns (e.g., WASD, gamepad sticks). At its core, the library defines the `InputAction` derive macro, the `InputCondition` and `InputModifier` traits, and an evaluation pipeline that runs during `PreUpdate`. Input reading is handled via a dedicated `InputReader` system parameter that also manages input consumption and ignoring. The library is `no_std` compatible and supports reflection and serialization via feature flags. The code is well‑structured with heavy use of Bevy's observer and relationship APIs, and includes extensive integration tests and a comprehensive set of examples ranging from basic action management to rebindable keybinding menus with persistence.

RATING: 9.1/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
validatorjs/validator.js ★ 23736 2520 APPLICATION

This repository is a comprehensive string validation and sanitization library for Node.js and browser environments. It provides a large collection of validator functions (e.g., isEmail, isURL, isMobilePhone, isCreditCard) and sanitizers (e.g., trim, escape, whitelist). The library is designed as a set of small, self-contained modules under src/lib/, each exporting a single function. The main entry point is src/index.js, which aggregates all validators and sanitizers into a single export. The library has no runtime dependencies and can be used both server-side and client-side (via a UMD bundle). It includes extensive locale-specific data for phone numbers, postal codes, tax IDs, etc., making it suitable for international validation. The architecture follows a consistent pattern: each validator imports assertString for type checking and optionally merge for options handling, then performs validation using regex or algorithmic checks. The library is actively maintained with frequent releases and a formal security threat model.

RATING: 8.7/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
ppy/osu-framework ★ 2000 498 APPLICATION

ppy/osu-framework is a high-performance, cross-platform game framework written in C#, primarily designed to power the rhythm game osu! but offering general-purpose 2D game development capabilities. The codebase provides a comprehensive suite of subsystems including a hardware-accelerated rendering pipeline (OpenGL/Veldrid), a sophisticated input handling system (mouse, keyboard, touch, tablet, joystick, MIDI), an audio engine built on BASS and FFmpeg, a rich animation and layout system, and a full-featured UI toolkit with containers, text rendering, and interactive controls. It employs Roslyn source generators to eliminate runtime reflection for dependency injection and input dispatch. The architecture is modular, heavily test-driven (thousands of unit and visual tests), and supports Windows, macOS, Linux, iOS, and Android through platform-specific host implementations. Despite its strong engineering, the codebase shows signs of ongoing migration to SDL3, dual rendering backends, and reliance on unmanaged native libraries that require periodic updates.

RATING: 8.7/10 MAINT: active DRIFT: medium
â–¸ 2 reusable components found
x-extends/vxe-table ★ 8628 1147 APPLICATION

VxeTable is a Vue 3 component library for building complex, enterprise-grade data tables and grids. It provides a comprehensive set of features including virtual scrolling for millions of rows, inline editing, Excel-style copy-paste, column resizing/dragging, filtering, sorting, pivot tables, tree/gannt views, and export/import/print. The library is architected as a set of Vue components (VxeTable, VxeGrid, VxeColumn, VxeToolbar, VxeColgroup) with an extensible plugin system based on hooks and renderers. It relies on a companion UI library (vxe-pc-ui) for modals, buttons, selects, and other controls, and uses xe-utils for utility functions. The codebase is large and well-organized, with separate modules for editing, filtering, keyboard navigation, validation, column customization, and export. Performance is a key focus, with virtual scrolling implemented for both X and Y axes. The library supports i18n with over 20 languages and includes a comprehensive theming system with light/dark modes. While primarily a UI component library, it also includes proxy-based server-side data operations in the VxeGrid component. The repository includes a demo application (examples/) for testing features, though the main artifact is the published npm package.

RATING: 8.6/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
X11Libre/xserver ★ 4775 244 APPLICATION

XLibre Xserver is a community-managed fork of the X.Org X server, the reference implementation of the X11 display server protocol. It provides a full-featured display server for Unix-like systems, supporting multiple hardware backends (Linux/BSD via XFree86, macOS via XQuartz, Windows via XWin, embedded via KDrive, and virtual framebuffers), extensive protocol extensions (GLX, XInput, RandR, Present, DRI3, Composite, XKB, etc.), and GPU-accelerated rendering through Glamor (OpenGL) and EXA. The codebase is large and mature, with a modular architecture separating device-independent (DIX), machine-independent (MI), and device-dependent (DDX) layers. It includes a comprehensive test suite with both C unit tests and Python integration tests (pyxtest) that exercise protocol correctness and security. While the core is actively maintained and modernized (Meson build system, Glamor, namespace extension), the codebase carries legacy components (x86emu BIOS emulation, old PCI ID tables, platform-specific stubs) that introduce technical drift. The repository is primarily an application (display server) with no research data pipelines.

RATING: 8.4/10 MAINT: active DRIFT: medium
â–¸ 5 reusable components found
ozontech/file.d ★ 504 263 APPLICATION

file.d is a high‑throughput log and event processing daemon written in Go, designed for production data pipelines. It reads events from various sources (files, Kafka, Kubernetes, HTTP, syslog, sockets, journalctl), runs them through a configurable chain of action plugins (masking, throttling, transformation, decoding, joining, etc.), and delivers them to multiple outputs (Elasticsearch, ClickHouse, Loki, S3, Kafka, Splunk, Postgres, GELF, file, stdout). The architecture is plugin‑based: inputs, actions, and outputs register into a central registry, and pipelines are defined via YAML configuration. The system provides at‑least‑once delivery semantics, stream‑based ordering, batching with backoff, and dead‑queue failover. The codebase demonstrates strong engineering practices: extensive unit and integration tests (including e2e scenarios with external services), performance optimizations (zero‑copy JSON via insane‑json, event pooling, memory limits), and a rich set of reusable internal libraries (HTTP client with circuit breaker, metric controllers, match rules, configuration parsing). It includes a Helm chart for Kubernetes deployment, Prometheus monitoring with a Grafana dashboard, and a playground web service for interactively testing pipelines. The transform action includes a custom expression language with a Pratt parser and compiler. While the core is solid, there are some maintenance risks: many plugins contain global caches or mutable state, several code paths call `logger.Fatal` on misconfiguration (making the whole process exit), and the file input offset persistence is hand‑rolled. The large number of input/output/action plugins (~40 total) increases surface area for drift, and some e2e tests depend on external Docker services. Overall, file.d is a mature and capable data pipeline framework, well‑suited for log aggregation and transformation in containerized environments.

RATING: 7.9/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
autopilot-rs/autopy ★ 979 107 APPLICATION

AutoPy is a cross-platform GUI automation library implemented in Rust and exposed to Python through PyO3. It provides programmatic control of the mouse and keyboard, screen capture, bitmap pixel inspection, and color detection. The library abstracts over Windows, macOS, and X11 backends, so the same Python API works across desktop platforms. It is distributed as a Python extension module built with maturin/setuptools-rust and is also usable as a Rust crate.

RATING: 7.8/10 MAINT: maintained DRIFT: low
â–¸ 5 reusable components found
godbout/kindaVim.blahblah ★ 1005 6 APPLICATION

This repository contains no source code. It is a placeholder or documentation-only repo for the 'kindaVim' macOS application, which claims to bring Vim motions to native macOS text fields. The only file is a README.md that describes the app, links to a website, and mentions an open-source test app hosted elsewhere. The repo includes git tags (87-97) but no actual code, assets, or build artifacts. It appears to be a stub or abandoned project with no functional implementation present. The high star count (1005) likely reflects interest in the concept rather than the code in this repo.

RATING: N/A/10 MAINT: stale DRIFT: high
── end of results ──
$ submit: