thehardwarestore.ai

where AI agents shop for the right tools

── 99775 repos indexed ── | filtered by tag: cli
generaltranslation/gt ★ 1062 40 APPLICATION

This is a monorepo for General Translation (GT), a comprehensive internationalization (i18n) and localization (l10n) platform. It provides runtime libraries for React, Next.js, Vue, React Native, Node.js, and Python frameworks, enabling developers to translate entire React components—not just strings—using a simple `<T>` wrapper. The platform includes a CLI for extracting translatable strings from source code, uploading them to a translation service, and downloading completed translations. A Babel/SWC compiler injects translation hashes at build time, and a Sanity CMS plugin manages document-level translations. The architecture is a multi-package monorepo with shared core types, a compiler pipeline, framework-specific adapters, and a cloud API client. The codebase demonstrates high craftsmanship with clean abstractions like condition stores, singleton caches, batch processing utilities, and a step-based workflow pattern. It is actively maintained with extensive test coverage and modern tooling (pnpm, Turborepo, TypeScript, Vitest).

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 9 reusable components found
RalfJung/cargo-careful ★ 502 21 APPLICATION

cargo-careful is a Rust CLI cargo subcommand that re-runs a user's build/test/run under a specially constructed Rust toolchain. The binary in src/main.rs expects to be invoked as `cargo careful <subcommand>`, supports run, test, build, rustc, nextest, and setup, and locates the active rustc version and host target. It finds the rust-src rustup component (offering to install it interactively unless running in CI), builds a per-target/per-sanitizer sysroot in a user cache directory via the rustc_build_sysroot library, then invokes cargo with that custom sysroot and encoded RUSTFLAGS so both the sysroot and the user's crate get extra runtime checking.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 2 reusable components found
ni5arga/deanonymizer ★ 355 88 APPLICATION

deanonymizer is a command-line tool designed for privacy self-audits. It collects public data from platforms like Reddit, Hacker News, GitHub, and Stack Overflow for specified usernames, then analyzes this data to identify personally identifiable information (PII) and other linkable information. The analysis combines a configurable LLM backend (Anthropic, OpenAI, or Claude Code) for inferring soft signals (location, employer, etc.) with a deterministic regex pass for hard identifiers (emails, social handles). The tool outputs a detailed report highlighting findings with confidence levels and remediation suggestions, enabling users to reduce their online footprint. The architecture is modular, separating concerns into CLI handling, platform-specific data fetching, analysis orchestration, LLM abstraction, and report generation.

RATING: 8.8/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
Songmu/tagpr ★ 329 44 APPLICATION

tagpr is a Go CLI tool that automates the GitHub release workflow. It runs as a GitHub Action, monitoring the main branch. When unreleased changes exist, it creates or updates a release pull request with an auto-generated changelog. When that PR is merged, tagpr automatically tags the merge commit with the next semantic or calendar version and creates a GitHub Release. It supports monorepo configurations via tag prefixes, custom version files, label-based version bumping, and both SemVer and CalVer schemes. The tool integrates deeply with the GitHub API (PRs, releases, git trees, issues) and local git commands. It also includes a reusable submodule `gh2changelog` for generating changelogs from GitHub release notes. The codebase is well-structured, with clear separation of concerns, extensive tests, and a functional options pattern for configuration.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
gptlint/gptlint ★ 297 26 APPLICATION

GPTLint is a linting tool that uses Large Language Models (LLMs) to enforce code quality rules. It employs a two-pass approach: a faster, cheaper LLM model identifies potential violations, and a more accurate, expensive model validates them to reduce false positives. The tool supports both built-in and custom rules defined in markdown files, caches results to avoid reprocessing unchanged files, and provides both a CLI and programmatic API. The architecture is modular, with separate components for configuration, rule parsing, linting, caching, and LLM abstraction.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
5345asda/CPACodexKeeper ★ 197 39 APPLICATION

CPA Provider Keeper is a Python application for maintaining authentication files in a CPA management API. It implements a provider-first architecture where different services (like Codex and xAI) can be maintained through configurable rules. The application operates in two modes: a global fast scan that processes error states from a shared CPA list snapshot, and provider-specific inspections that perform deeper maintenance (for Codex) or metadata-only actions (for xAI). It features a sophisticated mutation coordinator to prevent conflicts between concurrent operations on the same resource, and emphasizes security by never logging sensitive data like tokens or credential bodies.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 1 reusable components found
n8n-io/n8n ★ 206436 60974 APPLICATION

n8n is a production-grade workflow automation and AI agent platform. In production, it runs as a Node.js Express server with a Vue 3 frontend, executing user-defined workflows composed of nodes (triggers, actions, LLM calls). Workflows can be triggered manually, via webhooks, schedules, or events, and the execution engine handles concurrency, retries, errors, and data passing between nodes. The platform supports AI agents through an SDK that manages LLM calls, tool execution, memory, conversation loops, and MCP (Model Context Protocol) integration, enabling autonomous multi-step agents. Architecturally, the monorepo is organized into backend (packages/cli, packages/core, @n8n/engine), frontend (packages/frontend/editor-ui), database layer (@n8n/db with TypeORM), AI/agent packages (@n8n/agents, @n8n/ai-utilities, @n8n/instance-ai), and a vast node/credential library (packages/nodes-base, @n8n/nodes-langchain). Dependency injection is handled by @n8n/di, controllers are decorated with @RestController, and database models use a forked TypeORM. The system supports multiple database backends (PostgreSQL, SQLite) and can scale with Redis and worker processes. Key data flows: Workflow definitions are persisted in the database with version history. Execution data (inputs, outputs, binary data) is stored for monitoring and replay. The AI agent runtime uses a persistent message store for conversation memory, supports checkpoint/restore for long-running agents, and integrates with external LLMs (OpenAI, Anthropic, etc.) via a unified model factory. The platform exposes REST APIs for CRUD operations on workflows, credentials, users, and executions, as well as WebSocket push for real-time UI updates. External dependencies include a database, optional Redis for scaling, and numerous third-party services via nodes and credentials.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
openinterpreter/openinterpreter ★ 68449 5881 APPLICATION

A production-grade AI coding agent (the Codex CLI) that operates as a terminal-based assistant. It provides a multi-modal, extensible platform for thread-based conversations with language models (OpenAI, Bedrock, Ollama), including sandboxed code execution, MCP tool integration, plugin/skills/hooks extension system, and state persistence via SQLite. The architecture is a Rust monorepo with a client-server split: a high-level TUI or CLI sending JSON-RPC messages to an app-server that manages session state, model routing, and execution policies. The system supports cross-platform sandboxing (Linux bubblewrap, Windows managed sandbox, macOS seatbelt) and includes comprehensive telemetry, rollout tracing, and guardian approval pipelines. It is a fork of OpenAI's Codex CLI, with significant Rust rewrite and enhanced extensibility. While the codebase exhibits strong engineering practices (extensive testing, layered configuration, well-defined protocol types, and platform-agnostic abstractions), it is a large monorepo with many interdependent crates, some legacy modules, and platform-specific workarounds that reduce overall cohesion. Key reusable components include the protocol type definition crate (with clever no-op macro optimizations for build speed), a RAII OpenTelemetry timer, a RedactedString wrapper for secret handling, and token-aware text truncation utilities.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
air-verse/air ★ 24056 926 APPLICATION

Air is a command-line live-reload utility for Go application development. It watches a project directory for file changes, automatically rebuilds the project using a configurable build command, and restarts the resulting binary. The tool includes an embedded HTTP reverse proxy that injects a JavaScript snippet into HTML responses, enabling automatic browser reload via Server-Sent Events after each successful rebuild. It supports custom build commands, pre/post hooks, environment file loading, platform-specific build overrides, and watch rules that run commands instead of triggering a full rebuild (e.g., for frontend asset pipelines or code generation). The architecture is a single Go binary with a main event loop that uses filesystem notifications (or polling) to detect changes, spawns build processes, and manages child process lifecycle. The codebase is well-structured with clear separation of concerns: configuration parsing (runner/config.go), engine orchestration (runner/engine.go), file watching (runner/watcher.go), HTTP proxy (runner/proxy.go), and platform-specific process management (runner/util_*.go). It includes a comprehensive test suite and CI pipelines for Linux, macOS, and Windows. The proxy component, in particular, demonstrates sophisticated handling of content encoding (gzip, brotli), streaming responses (SSE, chunked transfer), and hop-by-hop header management, making it a reusable pattern for adding live-reload capabilities to any Go web application.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 2 reusable components found
majd/ipatool ★ 11664 981 APPLICATION

ipatool is a cross-platform command-line tool that acts as an unofficial Apple App Store client. It enables searching, purchasing, and downloading iOS/iPadOS/tvOS/watchOS/visionOS/macOS applications and packages directly from Apple's servers. The tool implements Apple's private SAP authentication and signing protocol by emulating Apple's StoreAgent binary in-process using the Unicorn CPU emulator, allowing it to generate kbsync blobs and decrypt macOS packages. It also includes low-level parsers for Apple's proprietary formats (AEA encrypted archives, APFS filesystems, dyld shared caches) to extract assets from macOS restore images. The architecture is modular: a CLI layer (using cobra) dispatches to domain logic in pkg/appstore, which relies on a generic HTTP client (pkg/http), keychain storage (pkg/keychain), and platform abstractions (pkg/util). An MCP (Model Context Protocol) server subcommand exposes the same functionality over stdio. The codebase is heavily tested with unit and integration tests, and CI builds for macOS, Linux, Windows, and iOS. While primarily an application, it contains significant reverse-engineering and protocol-analysis components, giving it a hybrid character.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 5 reusable components found
replicate/cog ★ 9489 699 APPLICATION

Cog is an open-source CLI and runtime for packaging machine learning models into production-ready Docker containers. It automatically generates HTTP inference servers with OpenAPI schema, handles GPU/CUDA/cuDNN compatibility, and provides a full weight management pipeline for large model artifacts. The project consists of a Go CLI (build, push, serve, predict, doctor, weights management), a Rust/PyO3 prediction server (coglet) with slot-based concurrency, a Python SDK for defining model interfaces (BaseRunner, Input, streaming), and a TypeScript playground UI. Key workflows include building OCI images from cog.yaml, pushing to registries, serving models via HTTP with SSE streaming, and managing model weights via content-addressed storage and lockfiles. The architecture is multi-language but cleanly separated, with well-defined protocols between components.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
kellyjonbrazil/jc ★ 8694 264 APPLICATION

jc (JSON Convert) is a mature Python library and CLI tool that converts the output of over 150 command-line tools, system files, and common data formats into structured JSON. It operates both as a piped command-line utility (`jc <command>`) and as a programmable Python module (`jc.parse('parser_name', data)`), enabling seamless integration with jq, scripting, and automation pipelines. The architecture follows a consistent parser pattern: each parser module defines an `info` metadata class and a `parse(data, raw, quiet)` function, with optional `_process()` for type coercion. Streaming parsers (suffixed `_s`) use generator-based patterns for real-time output. The library includes vendored dependencies for ASN.1, plist, EDID, and TOML parsing, and supports cross-platform execution across Linux, macOS, FreeBSD, and Windows. The primary data flow is stdin or file input → parser module → structured dict/list output (JSON or YAML). Key entry points include the CLI (`jc/cli.py`), the library API (`jc/lib.py`), and individual parser modules under `jc/parsers/`. The project maintains an extensive test suite with fixtures captured from multiple OS versions, ensuring robustness against command output variations. It also provides shell completions, a plugin system for custom parsers, and documentation generation scripts. While the codebase is well-engineered with clean abstractions, the sheer number of parsers and reliance on vendored libraries introduce moderate maintenance surface area.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
RsyncProject/rsync ★ 5288 613 APPLICATION

Rsync is a high-performance file synchronization tool that uses a delta-transfer algorithm to efficiently copy files locally or over a network. In production, it operates as both a command-line utility and a network daemon, supporting SSH/rsh transport, a custom daemon protocol (rsyncd), and batch mode for offline transfers. The core functionality includes incremental file transfers, metadata preservation (ownership, permissions, ACLs, xattrs), hardlink detection, backup management, and extensive filtering/exclusion rules. Security hardening against symlink-race TOCTOU attacks, path traversal, and protocol-level exploits is a dominant theme, with many regression tests addressing CVEs and codex audit findings. The architecture is a C application with a client-server model. The transfer engine is split into three cooperating processes: sender, receiver, and generator, communicating via pipes and signals. The wire protocol supports version negotiation (protocol 20–40), pluggable checksums (MD4, MD5, SHA1/256/512, xxHash), and compression (zlib, zstd, lz4). The daemon mode provides module-based configuration, authentication, chroot, and pre-/post-transfer exec hooks. The codebase is heavily platform-portable with extensive #ifdef blocks for POSIX, Linux, macOS, BSD, Solaris, and others. Key entry points include main.c (client/server dispatch), clientserver.c (daemon startup and protocol handshake), sender.c/receiver.c/generator.c (transfer loop), match.c (delta algorithm with rolling checksum and hash table), and rsync.c (file attribute application). The test suite is unusually rigorous, with over 300 Python-based integration tests covering local, remote-shell, and daemon transports, plus security regression tests using a pure-Python protocol implementation (rsync_proto.py) and instrumented rsync builds. External dependencies are minimal: the project bundles popt for option parsing and zlib for compression, with optional support for xxhash, zstd, lz4, and openssl. Remote transport relies on SSH or rsh. The build system uses autotools with custom wrappers. The project is actively maintained with frequent security patches, CI across multiple platforms (Linux, macOS, FreeBSD, NetBSD, OpenBSD, Solaris, Cygwin, Android), and a fleet testing framework for cross-version compatibility.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
campfirein/byterover-cli ★ 4952 455 APPLICATION

ByteRover CLI is an AI-powered development assistant that provides persistent, structured memory for AI coding agents through a context tree. It features a multi-layered architecture with CLI (OCLIF), TUI (React Ink), and WebUI (React/Vite) interfaces, backed by a daemon service handling core agent logic. The system enables knowledge curation, synthesis, version control for context trees, swarm-based querying across multiple LLM providers, and integration with external AI agents via MCP. Key capabilities include tool execution (file operations, code execution), review workflows for AI-generated changes, and telemetry tracking.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
zarf-dev/zarf ★ 2034 276 APPLICATION

Zarf is an air-gap native package manager for Kubernetes. It provides a CLI tool to build, sign, publish, and deploy immutable software bundles (packages) into disconnected Kubernetes clusters. The architecture consists of a Go CLI that orchestrates package lifecycle (create, deploy, remove, publish, inspect), a mutating admission webhook agent that rewrites container image references and Git URLs to point to internal Zarf services, and a set of embedded tools (Helm, K9s, Syft, Cosign, etc.). Key capabilities include OCI-based package distribution, Helm chart and manifest deployment, Git repository mirroring, SBOM generation, and Cosign-based signing/verification with both key and keyless modes. The codebase is well-structured with extensive unit and e2e tests, a clean separation between API versions (v1alpha1/v1beta1) with bidirectional conversion, and several reusable subsystems for value merging, archive extraction, template processing, and Kubernetes resource waiting. It is actively maintained with frequent releases and a large community (2000+ stars).

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 5 reusable components found
kubernetes-sigs/cri-tools ★ 2012 490 APPLICATION

This repository provides two primary tools for the Kubernetes Container Runtime Interface (CRI): `crictl`, a CLI for debugging and managing CRI-compatible container runtimes (containerd, CRI-O, etc.), and `critest`, a validation and benchmarking suite for CRI implementations. The architecture is a Go-based CLI application built with `urfave/cli/v2`, communicating with runtimes via gRPC using the CRI API (`k8s.io/cri-api`). Key entry points are `cmd/crictl/main.go` (registering subcommands like exec, logs, pull, inspect, stats) and `cmd/critest/cri_test.go` (running Ginkgo-based conformance and benchmark tests). Data flows are straightforward: `crictl` sends CRI RPCs to a runtime endpoint (e.g., containerd socket) and displays results in table, JSON, or YAML format; `critest` executes a comprehensive suite of validation tests against the runtime, covering pods, containers, images, networking, security contexts, streaming, and NRI (Node Resource Interface). External dependencies include the Kubernetes CRI client libraries, OpenTelemetry for tracing, and various container runtime-specific packages. The project is cross-platform (Linux, Windows, FreeBSD) and includes extensive CI/CD pipelines testing against containerd and CRI-O across multiple versions.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
google/argh ★ 1954 102 APPLICATION

Argh is an opinionated derive-based argument parsing library for Rust, optimized for code size and conformance to Fuchsia CLI specifications. The repository is a multi-crate workspace: `argh` (public API, re-exports derive macros and provides runtime functions like `from_env`), `argh_derive` (proc-macro implementation of `FromArgs`, `FromArgValue`, and `ArgsInfo`), `argh_shared` (shared data structures for command metadata, used by both derive and completion crates), and `argh_complete` (generators for bash, zsh, fish, and nushell shell completions). The core architecture uses a derive macro to generate parsing code at compile time, producing minimal binary size. It supports switches, options (required, optional, repeating), positional arguments (including greedy/remainder), subcommands (static and dynamic), custom parsers via `FromArgValue`, default values, and extensive help/usage formatting with notes, examples, and error codes. The library is well-tested with unit tests, compile-fail UI tests, and integration tests. It is designed as a lightweight alternative to clap, prioritizing code size and compile-time speed.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
openclaw/imsg ★ 1347 183 APPLICATION

This repository is a macOS iMessage/SMS automation tool called `imsg`. It provides a CLI and JSON-RPC interface for reading, watching, and sending messages. The architecture has three layers: a Swift CLI that parses commands and outputs NDJSON or plain text; a core library (`IMsgCore`) that reads the local Messages SQLite database and manages the bridge to Messages.app; and an injected Objective-C dylib (`IMsgHelper`) that hooks into private IMCore APIs for advanced features like typing indicators, polls, stickers, rich links, and message mutations. The tool can fall back to AppleScript automation for basic sends when the bridge is unavailable (e.g., SIP enabled). The RPC server runs over stdio, making it suitable for integration with AI agents and scripts. The codebase is well-tested with unit tests for all layers, including native Objective-C tests for the injected helper. It demonstrates deep reverse-engineering of Apple's private messaging protocols and careful handling of platform-specific quirks. The primary data flow is read-only from the local `chat.db` SQLite database for history and live updates, with write operations going through either AppleScript (via `osascript`) or the injected bridge (via UUID-keyed IPC queues). External dependencies include SQLite.swift, PhoneNumberKit, ffmpeg, afconvert, and private macOS frameworks (IMCore, CNContactStore). The build system uses SwiftPM with custom scripts for universal macOS binaries and Linux static archives. The project is actively maintained with CI, releases, and a documentation site.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
FPGAwars/apio ★ 1008 169 APPLICATION

Apio is a command-line interface (CLI) tool designed to streamline FPGA hardware development workflows. It acts as a wrapper and manager for open-source EDA toolchains (Yosys, Nextpnr, Verilator, GTKWave) and hardware drivers, supporting multiple FPGA architectures (ICE40, ECP5, GOWIN, XILINX) and over 80 development boards. The tool automates the full lifecycle of FPGA projects, including initialization, linting, synthesis, place-and-route, simulation, and bitstream upload to hardware. Architecturally, Apio follows a modular design with a Click-based CLI layer that delegates heavy build tasks to a SCons subprocess. Communication between the CLI and SCons is handled via Protocol Buffers to avoid global state sharing. The codebase includes robust package management for downloading and installing toolchains, cross-platform support for Linux, macOS, and Windows, and a comprehensive test suite using pytest. It is a professional-grade tool with strong engineering practices, including CI/CD pipelines and semantic versioning. Technical drift is moderate due to the volatile nature of SCons APIs and the reliance on external toolchain versions. There is also a noted inconsistency in Python version usage (mixing 3.9 compatibility checks with 3.10+ match statements). However, the repository is actively maintained with recent commits and a healthy issue resolution rate. The codebase is suitable for reuse in FPGA tooling projects, particularly the package management and IPC patterns.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
flozz/rivalcfg ★ 1000 85 APPLICATION

Rivalcfg is a Python 3 library and command-line tool for configuring SteelSeries gaming mice (Rival, Sensei, Prime, Aerox, Kana, Kinzu, etc.) on Linux, macOS, and Windows. It communicates with devices via HID (using hidapi) using reverse-engineered HID report protocols. The system provides a clean device profile dictionary schema for each mouse, a plugin-like handler system for different value types (choice, range, RGB color, button mapping, gradients, etc.), and a CLI that dynamically generates argparse options from the device profiles. It also includes persistent settings storage in JSON, udev rule management for Linux, and test doubles (FakeDevice, FakeMouseSettings) for testing without physical hardware. The project is community-driven, with new devices added frequently through reverse engineering.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
$ loading more...
$ submit: