thehardwarestore.ai

where AI agents shop for the right tools

── 99275 repos indexed ── | filtered by tag: #deduplication
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
prometheus/alertmanager ★ 8643 2482 APPLICATION

Prometheus Alertmanager is a production-grade Go service that receives alert notifications from Prometheus or any HTTP client, deduplicates and groups them by routing rules, applies silences and inhibition rules, and dispatches notifications through 20+ integrations (Slack, PagerDuty, email, webhook, Telegram, Jira, etc.). It runs as a single binary with an embedded web UI, a REST API v2, an experimental Connect/gRPC API, and an amtool CLI. The architecture is a modular monolith: the app package wires together config loading, cluster membership, HTTP listeners, and a pipeline of notification stages (mute, dedup, retry, fanout).

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
PactInteractive/image-downloader ★ 980 322 APPLICATION

Image Downloader is a Chrome extension (Manifest V3) that enables users to browse, filter, and download images from web pages. The extension features a popup UI, side panel, and options page for configuring download behavior. It uses Preact with Signals for state management, Tailwind CSS for styling, and includes sophisticated image processing capabilities like deduplication, resolution-based filtering, and format detection. The architecture consists of a background service worker handling downloads, content scripts for image discovery, and multiple UI interfaces (popup, side panel, options). Key strengths include well-isolated reusable components for image deduplication and discovery, comprehensive test coverage, and modern build tooling with Bun.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
VoxDroid/KemonoDownloader ★ 365 46 APPLICATION

KemonoDownloader is a cross-platform Python desktop application built with PyQt6 for downloading content from websites like Kemono.cr, Coomer.st, and Pawchive.pw, which aggregate content from platforms such as Patreon, Fanbox, and Gumroad. The application features a tabbed interface including modules for post downloading, creator archiving, settings management, and a built-in thumbnail downloader. It supports concurrent downloads, file deduplication via a hash database, proxy and Tor integration for anonymity, customizable file naming and folder structures, and multi-language support (English, Japanese, Korean, Chinese). A companion browser extension adds download buttons directly to the supported sites' web pages. The architecture employs a modular, tab-based design with each tab encapsulating specific functionality. Core operations such as API requests, file detection, and downloads are handled in background threads using QThread to maintain UI responsiveness. The application utilizes a SQLite-based hash database (HashDB) for efficient duplicate detection, implements robust HTTP request handling with retry mechanisms and exponential backoff, and provides thread-local session management to avoid SSL conflicts on Windows. Settings are persisted using QPlatform-specific storage, and the user interface updates dynamically for language or theme changes without requiring a restart. While the application is highly functional and demonstrates strong engineering practices in areas like concurrency control and error handling, its complexity arises from the intricate threading model and deep integration with the specific APIs of the target websites. This introduces a maintenance risk should those websites change their structure or availability. Nevertheless, the codebase exhibits clear separation of concerns, comprehensive test coverage, and reusable patterns such as the HashDB deduplication system, which could be adapted for use in other projects requiring reliable duplicate file detection.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 1 reusable components found
nlfiedler/fastcdc-rs ★ 213 35 APPLICATION

This is a pure Rust library implementing the FastCDC (Fast Content-Defined Chunking) algorithm, providing three independent implementations: ronomon (legacy, 31-bit), v2016 (original paper), and v2020 (optimized with 'rolling two bytes each time'). The v2020 module is the recommended entry point, offering in-memory chunking via `FastCDC` (Iterator), synchronous streaming via `StreamCDC`, and async streaming via `AsyncStreamCDC` (with tokio/futures feature flags). The core algorithm uses Gear hash tables derived from MD5 digests, normalized chunking with configurable levels, and an unrolled inner loop that processes six bytes per iteration for performance. The crate is deterministic: identical inputs always produce identical cut points and hashes, enforced by hardcoded fixture tests. It is designed for deduplication systems, backup software, and any application needing content-defined chunk boundaries. The codebase is well-structured, thoroughly tested, and includes a criterion benchmark suite with deterministic data generation for reproducible performance comparisons.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 2 reusable components found
openvenues/libpostal ★ 4908 474 APPLICATION

libpostal is a production-grade C library for parsing, normalizing, and expanding international street addresses. It uses statistical machine learning (CRF, Averaged Perceptron) trained on over a billion addresses from OpenStreetMap, OpenAddresses, GeoNames, and GeoPlanet to label address components and generate normalized variants for deduplication and geocoding. The library provides a clean public API, CLI tools for address parsing and language classification, and extensive multilingual data dictionaries. While primarily a C application library, it includes a substantial Python data pipeline for generating training data and building models from open geospatial datasets. The Python scripts are more data-research oriented, using probabilistic data augmentation to create synthetic training examples, but the core deliverable is the C library, making this an application repo with hybrid data-research character.

RATING: 8.5/10 MAINT: maintained DRIFT: medium
▸ 4 reusable components found
NevermindNilas/TheAnimeScripter ★ 327 12 APPLICATION

TheAnimeScripter (TAS) is a production-grade AI video enhancement toolkit specialized for anime content. It performs frame interpolation (RIFE 4.15-4.25 variants, GMFSS, DistilDRBA), super-resolution (30+ architectures via a vendored spandrel fork), restoration, frame deduplication, monocular depth estimation (Depth Anything V2/V3, Video Depth Anything, Limbo), scene-change detection, stabilization, segmentation, and object detection. It ships as a CLI tool (main.py), an Adobe After Effects plugin (src/server/aeComms.py via Socket.IO), and a standalone desktop build (build.py + tools/build_support/). The pipeline is: decode video via FFmpeg or the custom nelux library, stream frames through a FrameWindow sliding buffer, apply dedup → restore → upscale → interpolate stages, then re-encode with configurable codecs, bit depths, and BT.709/BT.2020 color spaces.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 6 reusable components found
togethercomputer/RedPajama-Data ★ 4994 374 DATA_RESEARCH

This repository contains the data processing pipeline for the RedPajama-V2 dataset, a massive open dataset for training large language models. The pipeline ingests CommonCrawl snapshots processed via the CCNet pipeline, along with Wikipedia, OpenWebText, and Books datasets. It computes a comprehensive set of quality signals (over 30) including natural language statistics, repetitiveness measures, ML-based classifiers, and importance weights using DSIR. Additionally, it performs exact deduplication via Bloom filters and fuzzy deduplication using MinHash and Locality Sensitive Hashing. The code is well-structured into modular components for quality signals, deduplication, I/O, and utilities, and is designed to scale to hundreds of billions of documents using multiprocessing and cloud storage. The primary research questions addressed are: how to filter and deduplicate web-scale text data to produce high-quality training corpora for LLMs.

RATING: 8.2/10 REPRO: 7.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
Zygo/bees ★ 1021 76 APPLICATION

bees (Best-Effort Extent-Same) is a specialized C++ application designed for userspace deduplication on the Btrfs filesystem. It operates as both a CLI tool and a systemd daemon (beesd), scanning filesystem extents to identify duplicate blocks and reclaim space using Btrfs-specific ioctls like BTRFS_IOC_FILE_EXTENT_SAME. The architecture is modular, separating low-level kernel interaction (lib/fs.cc), hash table management (src/bees-hash.cc), and task scheduling (include/crucible/task.h). It prioritizes memory efficiency and incremental scanning to minimize downtime on large filesystems. The system relies heavily on Linux kernel internals, specifically Btrfs tree structures and extent metadata. It implements a custom memory-mapped hash table (BeesHashTable) to persist fingerprint data across restarts, allowing incremental deduplication without rescanning the entire filesystem. Concurrency is managed via a custom TaskMaster that adjusts worker thread counts based on system load, preventing I/O saturation during deduplication operations. While the code demonstrates high craftsmanship in system programming, it carries significant technical debt risks due to its tight coupling with volatile kernel APIs. The project maintains a robust test suite for its utility libraries but relies on integration testing for the core deduplication logic. It is a mature tool for Btrfs administrators but requires careful maintenance as kernel internals evolve.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
dm-vdo/vdo ★ 197 33 APPLICATION

This repository implements the Virtual Data Optimizer (VDO) storage system, providing inline block-level deduplication, compression, and thin provisioning for Linux block devices. It consists of a kernel-level device-mapper target (not included in this repo) and user-space management tools. The core deduplication engine is the Universal Deduplication System (UDS) located in the utils/uds directory. Key user tools include vdoformat (volume creation), vdostats (statistics reporting), and various debugging/recovery utilities. The architecture is modular with clear separation between the UDS library, volume management layer, and command-line interfaces. The system integrates with LVM and is designed for enterprise storage environments requiring efficient data reduction.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 5 reusable components found
zhaofengli/attic ★ 2054 183 APPLICATION

Attic is a self-hostable Nix binary cache server written in Rust. It provides a multi-tenant, globally deduplicated cache for Nix store paths, supporting both local filesystem and S3-compatible storage backends. The system consists of a server binary (`atticd`) that implements the Nix binary cache HTTP API and a client CLI (`attic`) for authentication, pushing store paths, and managing caches. Authentication is stateless via signed JWTs (RS256/HS256) with fine-grained permissions per cache. The server uses content-defined chunking (FastCDC) to split NAR archives into variable-sized chunks, enabling deduplication at both the NAR and chunk levels. Compression (brotli, zstd, xz) is applied during upload with simultaneous hash computation for integrity verification. Garbage collection supports per-cache retention periods and cascading deletion from local caches to global chunk storage. The codebase is organized as a Cargo workspace with four crates: `attic` (core library with chunking, hashing, Nix store FFI), `server` (HTTP server, database, storage, garbage collection), `client` (CLI with push, watch-store, cache management), and `token` (JWT creation and verification). The architecture is modular, with clear separation between API handlers, database entities, storage backends, and authentication. While the project is still in early prototype stage with many TODOs and some fragile FFI bindings to Nix's C++ store library, it demonstrates solid engineering practices with reusable components like streaming hash readers, compression streams, and a custom serde serializer for Nix manifest format.

RATING: 7.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
openclaw/clownfish ★ 62 21 APPLICATION

This repository is an automated maintenance and triage system called 'Clownfish' (ProjectClownfish) that manages the large open-source `openclaw/openclaw` repository. It is a Node.js application driven by GitHub Actions workflows that continuously processes GitHub issues and pull requests: performing deduplication, canonical selection, security-sensitive detection, automated repair of contributor branches, exact-head merge preflight validation, and closeout of superseded/fixed-by-candidate items. The system operates in plan (read-only), autonomous (lightweight actions), and execute (mutating) modes, with strict permission boundaries defined in YAML frontmatter job files. It relies on the GitHub API, a Codex/AI worker for classification, and a suite of deterministic safety gates (re-fetch live state, check updated_at, block unsafe closeouts) before any mutation. The codebase is well-structured with clear separation of concerns (scripts, job definitions, results), but it is tightly coupled to the specific workflow of a single large repository, limiting direct reuse. Notable patterns include a robust job frontmatter schema, deterministic preflight validation, and a centralized security routing mechanism.

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