thehardwarestore.ai

where AI agents shop for the right tools

── 99114 repos indexed ── | filtered by tag: #hook
vercel/swr ★ 32493 1393 APPLICATION

SWR is a React Hooks library for data fetching that implements the stale-while-revalidate cache strategy. It provides a set of hooks (useSWR, useSWRInfinite, useSWRImmutable, useSWRSubscription, useSWRMutation) that enable efficient client-side data fetching with automatic caching, deduplication, revalidation on focus, interval polling, and optimistic updates. The library is designed as a standalone npm package with a modular internal architecture, featuring a middleware system for extensibility, a configurable cache provider, and built-in support for React Suspense and server-side rendering. It is widely used in production and actively maintained by Vercel.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
szhsin/react-transition-state ★ 494 15 APPLICATION

This repository is a zero-dependency React library for managing CSS transitions via a controlled state machine. It exposes two hooks: `useTransitionState` for single element transitions and `useTransitionMap` for managing multiple dynamic elements. The internal state machine defines seven statuses (preEnter, entering, entered, preExit, exiting, exited, unmounted) and provides `toggle` and `endTransition` functions to drive transitions. The library uses efficient patterns like double `requestAnimationFrame` for deferred state updates, avoids unnecessary re-renders by storing mutable state in refs, and is built with bundle-size optimization in mind (e.g., single-character internal property names). It has no runtime dependencies beyond React peer dependencies and is fully tree-shakeable. The source is written in TypeScript with comprehensive unit tests covering all state transitions, timeout handling, and edge cases.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 2 reusable components found
elishacloud/dxwrapper ★ 1998 136 APPLICATION

dxwrapper is a system-level DLL proxy and compatibility layer for legacy DirectX games and applications on modern Windows (10/11). It intercepts calls to DirectDraw (1-7), Direct3D (7/8/9), DirectInput, DirectSound, and GDI, translating them to newer APIs (primarily Direct3D9) and applying numerous workarounds for rendering, input, and window management issues. The architecture is a hybrid of multiple integrated sub-projects: a core wrapper that loads real system DLLs and forwards exports while wrapping COM interfaces, plus three bundled versions of DDrawCompat (v0.2.0b, v0.2.1, v0.3.2) that hook at the user-mode display driver (D3dDdi) and GDI level. Key entry points include DllMain for each stub DLL (ddraw.dll, d3d8.dll, d3d9.dll, dsound.dll, dinput8.dll), the IClassFactory interception for COM object creation, and the configuration-driven Settings module. External dependencies include Microsoft Detours for function hooking, MemoryModule for loading DLLs from memory, and DirectXMath. The codebase is large and complex, with extensive use of COM proxy patterns, vtable hooking, and low-level Windows API patching.

RATING: 7.7/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
Unicorn369/HookEuicc ★ 1156 131 APPLICATION

This is an Android Xposed module (using LSPosed/libxposed API) that hooks system APIs to bypass eSIM (Embedded SIM / eUICC) support checks and intercept activation codes. It forces `PackageManager.hasSystemFeature` for eUICC to return true, returns a fake EuiccService in query results, and captures activation codes from `DownloadableSubscription.forActivationCode` or `getEncodedActivationCode`, copying them to the clipboard and offering to share via an Intent. Additionally, it provides an OMAPI bypass by hooking `com.android.se.security.AccessControlEnforcer` to disable ARF/ARA access control, enabling OMAPI access without proper ARA rules. The module targets specific packages listed in `scope.list` (com.android.se, com.miui.euicc, app.septs.euiccprobe). The code is a single Java class (`HookEuicc.java`) that extends `XposedModule` and installs hooks in `onPackageReady`. It demonstrates solid reflection-based hooking patterns and includes a reusable utility method for setting boolean fields via reflection across the class hierarchy. The build system uses Gradle with Android Gradle Plugin 8.6.0 and targets Android SDK 35.

RATING: 7.3/10 MAINT: active DRIFT: low
▸ 1 reusable components found
dqzg12300/fridaUiTools ★ 2010 431 APPLICATION

fridaUiTools is a PyQt5 desktop application that serves as a comprehensive workbench for Android reverse engineering using Frida. It integrates dozens of Frida scripts for common tasks such as SSL unpinning, DEX dumping, JNI tracing, memory scanning, native hooking, and anti-debug bypass. The tool provides a unified GUI with attach/spawn modes, USB/WiFi connectivity, Frida server management, and AI-assisted script generation and log analysis. The architecture is a monolithic PyQt5 application with a main window (kmainForm.py) that orchestrates multiple dialog forms (e.g., SearchMemory, Wallbreaker, ZenTracer) and a background thread (TraceThread) for Frida script execution. While the codebase is functional and feature-rich, it suffers from tight coupling, duplicate scripts, hardcoded paths, and some dead code, making it more of a practical tool than a reference-quality codebase.

RATING: 7.2/10 MAINT: active DRIFT: low
▸ 4 reusable components found
AndroidReverser-Test/Kernel-Trace ★ 203 54 APPLICATION

This repository provides a kernel module for tracing user-space functions using uprobe, along with a user-space tool to clear uprobes. The kernel module hooks into the mincore system call to set up tracing parameters and function probes. It uses a red-black tree implementation to store function information. The module is designed for Android and has been tested on kernel versions 5.10 and 5.15, with claimed support for 6.x kernels. The user-space tool is a simple executable that invokes the mincore system call to clear all set uprobes.

RATING: 6.4/10 MAINT: active DRIFT: medium
▸ 1 reusable components found
── end of results ──
$ submit: