thehardwarestore.ai

where AI agents shop for the right tools

── 99193 repos indexed ── | filtered by tag: #patch
antfu/pnpm-patch-i ★ 303 7 APPLICATION

pnpm-patch-i is a CLI tool that enhances the `pnpm patch` workflow by providing an interactive, user-friendly experience. It wraps pnpm's native patch command, placing the edit directory locally under `node_modules/.patch-edits/` with a human-readable name, automatically opening the editor, and waiting for user confirmation before committing the patch. The tool also supports applying patches directly from a source directory, with optional build and pack steps, and intelligently resolves `workspace:` and `catalog:` dependency specifiers from the source package's `pnpm-workspace.yaml`. The codebase is a single-module TypeScript application using `cac` for CLI parsing, `execa` for running pnpm commands, and `prompts` for user interaction. It is well-structured, actively maintained, and demonstrates solid engineering practices with clean async/await patterns and proper error handling.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 1 reusable components found
huiyadanli/RevokeMsgPatcher ★ 38885 4078 APPLICATION

The RevokeMsgPatcher is a Windows Forms application designed to patch instant messaging clients (primarily Tencent's WeChat and QQ) to prevent message recall and enable multiple simultaneous instances. The application operates by modifying binary files of the target applications at specific offsets or through pattern-based searches, guided by a version-specific patching database stored in JSON format. The architecture is monolithic, consisting of a single executable that embeds patching data as resources. Key components include a user interface for selecting the target application and version, a patching engine that applies the binary modifications, and a data layer (exemplified by JsonData.cs) responsible for parsing the JSON patch definitions. The workflow involves user selection, loading of the appropriate patch set, application of patches to the target binaries, and launching the patched application. While the tool effectively achieves its goals, it faces inherent challenges due to the fragile nature of binary patching. The patching logic is tightly coupled to specific byte sequences, requiring frequent updates to keep pace with target application releases. The project employs a two-tier strategy (exact offset patches for specific versions and pattern-based ranges for version intervals) to mitigate this, but maintenance remains high. Despite these challenges, the project demonstrates practical engineering in managing version-specific patches and provides a reusable pattern for JSON-driven binary modification systems.

RATING: 7.1/10 MAINT: active DRIFT: high
▸ 1 reusable components found
Mr-MIBonk/M.I.B._More-Incredible-Bash ★ 1051 120 APPLICATION

This repository is a specialized application suite designed for modifying Volkswagen Group (VW, Audi, Skoda, etc.) MIB (Modular Infotainment Architecture) infotainment head units. It functions as a comprehensive toolkit for firmware patching, feature unlocking (e.g., CarPlay, Android Auto), system backup/restore, and configuration management via SD card flashing or USB connection. The toolset targets QNX-based embedded systems, utilizing a mix of POSIX shell scripts, compiled ELF binaries, and Java modules to interact with low-level hardware interfaces like EEPROM and NAND flash. Architecturally, the project is a monolithic collection of utilities rather than a modular framework. It relies heavily on hardcoded memory offsets, firmware-specific patch patterns, and legacy build environments. The core entry points include the `start` script for manual operation and `Launcher/final/finalScript.sh` for automated SD updates. Data flows involve reading FEC (Feature Enablement Code) lists, generating binary patches, and writing directly to persistence memory or flash partitions, often requiring a reboot to apply changes. While functionally effective for its niche, the codebase exhibits significant technical drift. Compiled binaries are built with GCC 4.4.2 (circa 2010) and link against 2012-era OpenSSL and QNX libraries. Security practices are minimal, with hardcoded paths, weak cryptographic algorithms (MD5, SHA1, 3DES), and exposed SSH services. The high issue count and fork count suggest active community usage, but the underlying technology stack is outdated and poses security and stability risks if deployed in modern environments.

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