thehardwarestore.ai

where AI agents shop for the right tools

── 99235 repos indexed ── | filtered by tag: snapshot
restic/restic ★ 36459 1911 APPLICATION

restic is a fast, secure, and efficient backup program written in Go. It provides a command-line interface with subcommands for creating, restoring, managing, and verifying backups. The architecture is modular: a core repository layer handles encryption (AES-256-GCM), content-defined chunking for deduplication, compression (zstd), and pack-file storage. Multiple storage backends are supported via a common interface, including local filesystem, SFTP, S3, Azure Blob, Google Cloud Storage, Backblaze B2, OpenStack Swift, and rclone. The codebase is production-grade with extensive unit and integration tests, a FUSE mount for browsing snapshots, and a self-update mechanism. It is actively maintained with frequent releases and a large community.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
jestjs/jest ★ 45465 6728 APPLICATION

This is the Jest monorepo, the widely adopted JavaScript testing framework. It is a CLI tool and library that discovers, executes, and reports on tests, with features like mocking, snapshot testing, code coverage, and parallel execution. The codebase is organized as a monorepo with dozens of packages covering the full test lifecycle: configuration loading, test discovery (haste map), module execution in a sandboxed runtime, assertion matchers, reporters, and watch mode. The architecture is modular, with packages separated by responsibility (jest-core, jest-circus, jest-runtime, jest-worker, etc.), all built in TypeScript. The entry point is `packages/jest-cli/bin/jest.js`, and the main orchestration happens in `packages/jest-core/src/cli/index.ts`.

RATING: 9.4/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
facebook/memlab ★ 5071 148 APPLICATION

Memlab is a comprehensive JavaScript memory leak detection and heap analysis framework developed by Meta. It provides a CLI, a programmatic API, and an MCP (Model Context Protocol) server for AI-assisted debugging. The system captures heap snapshots from Chromium (via Puppeteer), Node.js, Electron.js, and Hermes, then parses and analyzes them to identify memory leaks, optimization opportunities, and retention patterns. It includes specialized detectors for detached DOM elements, React component leaks, event listener accumulation, duplicate strings, and global variable bloat. The architecture is a monorepo with packages for core parsing and algorithms, E2E browser automation, heap analysis plugins, a public API, a CLI, an in-browser visualizer (MemLens), and an MCP server that exposes over 100 analysis tools. Key data flows involve warmup, browser interaction, snapshot capture, parsing, leak filtering, trace clustering (heuristic and ML-based), and report generation. External dependencies include Puppeteer, Chromium, and the MCP SDK.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
hyperlight-dev/hyperlight ★ 4661 203 APPLICATION

Hyperlight is a production-grade library for safely executing untrusted code inside hypervisor-isolated micro virtual machines. It spins up lightweight VMs in milliseconds without requiring a guest kernel or operating system, making it suitable for sandboxing plugins, serverless functions, and other untrusted workloads. The system supports multiple hypervisor backends (KVM on Linux, MSHV on Windows, WHP on Windows, HVF on macOS) and architectures (x86_64, aarch64), with guest binaries compiled as no_std Rust or C ELF files using a custom libc (picolibc). Communication between host and guest is performed via typed function calls serialized with FlatBuffers over VM exits, and the library provides snapshot/restore capabilities using an OCI-compatible image layout for state persistence. The architecture is centered around a host-side Rust library (`hyperlight_host`) that exposes a builder pattern (`SandboxBuilder`) to configure and create sandboxes. The guest runtime (`hyperlight_guest_bin`) handles initialization, page tables, exception handling, and function dispatch. A component model integration (`hyperlight_component_util`) generates Rust bindings from WIT (WebAssembly Interface Types) for higher-level interfaces. The system also includes guest tracing with OpenTelemetry, metrics collection, crash dump generation, and GDB debugging support. External dependencies include hypervisor-specific APIs (KVM ioctls, WHP, HVF), the FlatBuffers serialization library, and the OCI image layout specification for snapshot storage. Key data flows involve the host loading a guest binary, setting up memory regions (code, heap, stack, scratch), registering host functions, and then executing guest functions via VM entries. The guest can call back into the host through registered host functions. Snapshots capture the full guest state (memory, registers, MSRs) and can be saved to disk as OCI-compatible blobs, then restored to create new sandboxes or recover from failures. The library is extensively tested with unit tests, integration tests, fuzz targets, and concurrency stress tests, and is maintained as a CNCF sandbox project with active development and frequent releases.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 3 reusable components found
KnpLabs/snappy ★ 4474 438 APPLICATION

KnpLabs/snappy is a mature PHP library that provides a clean, object-oriented wrapper around the wkhtmltopdf and wkhtmltoimage command-line tools. It enables generation of PDF documents and image thumbnails from HTML content or URLs. The library is architected around an abstract base class (AbstractGenerator) that implements the template method pattern, handling command construction, process execution via Symfony Process, temporary file management, and PSR-3 logging. Concrete subclasses (Pdf and Image) define their own option sets and handle special cases like converting inline HTML strings to temporary files for header/footer content. The library is widely used in the PHP ecosystem, with dedicated Symfony and Laravel integration bundles. It requires PHP 8.1+ and depends only on symfony/process and psr/log, making it lightweight and easy to integrate.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 1 reusable components found
tkellogg/dura ★ 4430 69 APPLICATION

Dura is a background process (daemon) that automatically snapshots uncommitted changes in Git repositories. It runs as a CLI tool with subcommands: `serve` (daemon loop), `watch`/`unwatch` (manage watched repos), `capture` (one-shot snapshot), `status` (daemon state), `kill` (stop daemon), and `metrics` (post-process logs with git diff stats). The architecture is a single Rust binary. On every polling cycle (5 seconds), it iterates watched repos, uses an optimized file-timestamp check (`PollGuard`) to detect changes efficiently, then creates a commit on a separate `dura/<HEAD_hash>` branch without modifying the working tree or HEAD. Snapshots include all tracked and untracked files. Configuration is stored as TOML in the user's config directory; runtime state (PID) is stored as JSON. Logging is structured JSON via a custom tracing layer. The design emphasizes non-disruptive operation and data safety.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
kangyu-california/PersistentWindows ★ 2038 68 APPLICATION

PersistentWindows is a Windows desktop utility that automatically captures and restores window positions and sizes when display configurations change (e.g., monitor connection/disconnection, resolution changes, docking/undocking, RDP sessions, or waking from sleep). It runs as a system tray application with no visible main window, using Win32 API hooks to monitor window events and LiteDB for persistent storage of window layouts. The core logic resides in a monolithic ~3000-line class (PersistentWindowProcessor) that handles event-driven capture, multi-pass restoration with timeout/retry, snapshot management, and virtual desktop awareness. The application also includes a 'webpage commander' overlay for keyboard-based browser tab navigation (Alt+W). While functionally robust and well-tested in the field (2000+ stars), the codebase exhibits significant technical debt: heavy use of deprecated patterns (Thread.Abort, magic numbers, hardcoded constants), no unit tests, and tight coupling of all logic into a single file. The Win32 API bridge and logging utilities are the most reusable components, though the overall architecture is monolithic and not designed for extension. GPLv3 licensed.

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