thehardwarestore.ai

where AI agents shop for the right tools

── 99382 repos indexed ── | filtered by tag: cli-tool
rustsec/rustsec β˜… 1949 196 APPLICATION

The RustSec monorepo is a multi-crate workspace that provides the official security audit toolchain for the Rust ecosystem. Its flagship product is `cargo-audit`, a CLI subcommand for Cargo that scans `Cargo.lock` files against the RustSec Advisory Database to detect known vulnerabilities, unmaintained or unsound crates, and yanked packages. The workspace also includes the `rustsec` core library for managing the advisory database (fetched via git, indexed, and queried), `cargo-lock` for parsing and manipulating Cargo.lock files (supporting V1 through V4 format), `cvss` for parsing and scoring CVSS vectors (v2.0, v3.x, v4.0), `platforms` for programmatic access to Rust target triples, and `admin` for maintaining the advisory database and generating the rustsec.org website. Although primarily an application and library toolset, the repository has data-oriented aspects: the advisory database is a curated set of Markdown files with TOML front matter, and `platforms` is auto-generated from rustc target information. The architecture is modular, with each crate independently usable and well-tested, and CI pipelines ensure cross-platform releases and static analysis.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
gsamokovarov/jump β˜… 1945 65 APPLICATION

Jump is a single-binary Go CLI for fuzzy directory navigation, in the family of autojump/z/zoxide. It integrates with bash, zsh, fish, PowerShell, and Nushell by emitting a shell function (default `j`) that hooks PWD changes and calls `jump chdir`, which persists a scored database of visited directories as JSON files under ~/.jump or $XDG_CONFIG_HOME/jump. When the user types `j wc`, the shell function invokes `jump cd wc`, which ranks all entries by longest-common-subsequence fuzzy match against a cleverly normalized path (basename-only unless separators are given, case-sensitive when any capital letter is typed) and prints the best path for the shell to cd into. The tool also supports pins, relative jumps, repo-root-based mode via `j .`, reverse jumps via an empty term, stale-entry cleanup, and exact-match proximity heuristics. The codebase is cleanly layered: cli (argument parsing and command dispatch), cmd (command implementations), config (an interface with file- and in-memory implementations over atomic JSON persistence), scoring (frequency+recency weighted ranking and fuzzy sort), fuzzy (LCS algorithm and path normalizer), importer (parsers for autojump.txt, z's .z file, and zoxide's binary db.zo), and shell (Go-embedded integration scripts compiled via text/template). Everything is local files; there is no daemon, server, or network dependency. Test coverage is thorough across all packages, including adversarial importer tests for truncated, oversized, and corrupt zoxide databases and shell template compilation tests. Craftsmanship is strong: the atomic file helper, LCS implementation, path normalizer, and zoxide binary parser are genuinely reusable modules. Minor blemishes include a global command registry, duplicated version constants (0.67.0 in cmd/version.go vs 0.69.0 in the Makefile), a leftover defunct .travis.yml CI config, and a copy-paste error in the settings error message (--preserve validation prints 'slash, ignore' instead of 'true, false'). Overall this is a mature, well-maintained developer tool with an elegant core search/scoring design.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 6 reusable components found
openclaw/crabbox β˜… 1444 190 APPLICATION

Crabbox is a production-grade, multi-provider remote development environment orchestrator. The core is a Go CLI that provisions ephemeral sandboxes, VMs, and containers across 60+ cloud and virtualization backends (AWS, Azure, GCP, Hetzner, Firecracker, Docker, KubeVirt, Nomad, and many delegated-run services). Users issue commands like `crabbox run`, `warmup`, `connect`, `ssh`, `vnc`, and `cp`; the CLI leases a remote host, syncs a workspace archive, executes commands or opens interactive sessions, collects artifacts and test results, and tears the resource down. A Cloudflare Worker/Node.js coordinator handles lease state, provider reconciliation, artifacts, and runtime-adapter relays, while a Swift/Virtualization.framework daemon supports Apple VM backends. This is an application, not a research or data-analysis project, though it emits operational telemetry and parses remote JUnit results as part of its execution pipeline.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
gcovr/gcovr β˜… 993 291 APPLICATION

gcovr is a production-grade command-line tool for analyzing C/C++ code coverage data produced by GCC's gcov or LLVM's llvm-cov. It reads intermediate coverage files (.gcda, .gcov, or LLVM JSON intermediates), applies configurable filters and exclusion markers (GCOVR_EXCL_* and LCOV_EXCL_*), merges results from multiple runs, and generates reports in over a dozen formats: HTML (with interactive sorting and line visibility), Cobertura, JaCoCo, Clover, Coveralls, SonarQube, LCOV, CSV, JSON, Markdown, and plain text. The core pipeline is structured as a set of independent modules: a data model with deduplication and merging logic, a filter chain for path inclusion/exclusion, an exclusion engine that operates on lines, functions, and branches, and a format dispatcher that delegates to per-format writer handlers. The architecture is cleanly layered with well-defined boundaries; configuration is unified through CLI args, config files, and environment variables. Although not a data research project, gcovr provides rich quantitative analysis through its built-in metrics (line, branch, condition/decision, and function coverage) and diff coverage comparison, which give it a light analytical character.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
alibaba/java-dns-cache-manipulator β˜… 967 192 APPLICATION

Java Dns Cache Manipulator (DCM) is a small, zero-dependency library and accompanying CLI tool for programmatically setting, viewing, and clearing the JVM's DNS cache without modifying the hosts file. It works by using reflection to access private fields of `java.net.InetAddress` and `sun.net.InetAddressCachePolicy`. The library handles both pre-JDK 9 (old `InetAddress.CacheEntry` model) and JDK 9+ (new `CachedAddresses`/`CachedLookup` model), making it compatible with JDK 8 through 26. The tool module uses the Java Attach API to inject a Java agent into a running JVM process to execute commands like get, set, remove, list, or clear DNS cache entries. The code is well-structured with clear separation between API, internal implementation, agent, and tool modules. It is thread-safe, immutable value objects (DnsCacheEntry, DnsCache) are used, and extensive Kotlin-based tests ensure correctness across multiple JDK versions.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 1 reusable components found
openclaw/clawpatch β˜… 814 121 APPLICATION

Clawpatch is an automated code review and repair CLI tool that maps a repository into bounded semantic feature slices, invokes external AI coding agents (Codex, Claude, ACPX, Grok, etc.) to review each slice for bugs and quality issues, and supports explicit fix workflows with validation. The architecture is a modular TypeScript application with a provider abstraction layer, language-specific feature mappers (Node, Python, Ruby, Go, Rust, C/C++, .NET, Java/Kotlin, Swift, Elixir, PHP/Laravel), state persistence via JSON files in a `.clawpatch` directory, and a safety-first design (read-only reviews, explicit fix commands, clean worktree checks, change auditing). Key entry points are the CLI (`src/cli.ts`) and application orchestrator (`src/app.ts`), with data flowing from project detection to feature mapping to provider-based review to optional fix/revalidation/PR creation. External dependencies include git, gh CLI, various AI coding CLIs, and the npm registry (optional). The tool is well-tested with Vitest, has extensive CI/CD, and demonstrates high craftsmanship in its provider abstraction, state management with locking, prompt building with provenance tracking, and review validation pipeline.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
BlinkTagInc/node-gtfs β˜… 505 158 APPLICATION

node-gtfs is a comprehensive Node.js library and CLI toolkit for ingesting, querying, exporting, and updating GTFS (General Transit Feed Specification) transit data. It supports SQLite natively and PostgreSQL/MySQL through Kysely, handling static schedule feeds, GTFS Realtime (alerts, trip updates, vehicle positions), and extended standards (GTFS-Plus, GTFS-Ride, GTFS-to-HTML, TODS, TIDES, NOPTIS). The architecture centers on a declarative schema definition system that compiles to SQL table metadata, enabling robust import/export pipelines and a rich query API with ~50 getter functions. The codebase demonstrates strong engineering practices: parameterized SQL builders, structured error handling, configurable reporting, and comprehensive test coverage. It is actively maintained, uses modern tooling (pnpm, TypeScript, ESM), and provides a reusable foundation for transit data applications.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
raghavpillai/branchlet β˜… 501 28 APPLICATION

Branchlet is an interactive CLI tool for creating and managing Git worktrees. It provides both a Terminal User Interface (TUI) built with Ink/React and a scriptable command-line interface for automating worktree operations. The tool simplifies Git worktree management by offering features like intelligent branch handling, automatic file copying to new worktrees based on configurable patterns, post-creation command execution, and shell integration for quick directory switching. It supports project-specific and global configuration through JSON files and includes robust error handling with user-friendly messages.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
likexian/whois β˜… 495 92 APPLICATION

Whois is a Go library and command-line tool for performing WHOIS queries on domain names, IP addresses (IPv4 and IPv6), and ASNs. The library handles the complexity of WHOIS referral chains, server-specific quirks (such as those for ARIN and GoDaddy), and provides configurable options for timeout, dialer (for proxy support), and referral control. The CLI tool provides a user-friendly interface for querying WHOIS information and optionally outputting parsed JSON results using the whois-parser package. The project is actively maintained with regular commits, CI/CD workflows, and versioned releases.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 1 reusable components found
lvgl/lv_font_conv β˜… 305 111 APPLICATION

lv_font_conv is a Node.js-based command-line tool (with a web interface) that converts vector fonts (TTF, OTF, etc.) into bitmap fonts optimized for embedded systems, particularly the LVGL graphics library. It processes font files using opentype.js and an Emscripten-compiled FreeType WebAssembly module to extract glyph metrics and rasterize bitmaps. The tool supports subsetting, merging multiple fonts, kerning preservation, and configurable output formats (raw binary, LVGL-specific C arrays, and debug dumps) with adjustable bits-per-pixel (1-4) and optional RLE/XOR compression. The architecture follows a modular pipeline: argument parsing delegates to font data collection, which feeds into conversion logic that builds font tables (head, cmap, glyf, loca, kern) before format-specific writers produce the final output. Key entry points are the CLI script (lv_font_conv.js) and the web interface (web/index.html via parcel/bundler).

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
cline/cline β˜… 69764 7592 APPLICATION

Cline is a multi-platform AI coding assistant that operates as a VS Code extension, CLI, desktop app (Tauri), and browser-based hub. It integrates with dozens of LLM providers (Anthropic, OpenAI, Google, etc.) and supports advanced features like MCP servers, hooks, cron scheduling, multi-agent teams, telemetry, and session management. The monorepo is organized around a core SDK (@cline/sdk, @cline/core, @cline/llms, @cline/shared, @cline/ui) that encapsulates the agent runtime, provider abstraction, and UI primitives. The architecture is event-driven with gRPC-based communication between the host and webview surfaces. The codebase demonstrates strong engineering practices with extensive testing, modular design, and a clear separation of concerns. However, there is notable UI component duplication across apps and some legacy migration glue.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
upstash/context7 β˜… 62638 3047 APPLICATION

Context7 is a platform that delivers up-to-date, version-specific library documentation directly into AI coding assistant prompts. It operates as an MCP (Model Context Protocol) server exposing two core toolsβ€”`resolve-library-id` (converts a library name to a Context7 ID) and `query-docs` (retrieves documentation snippets for a given concept)β€”alongside a CLI (`ctx7`) for setup and querying, a TypeScript SDK for programmatic access, and plugins for Cursor, Claude Code, VS Code, Copilot CLI, OpenCode, and more. The architecture is client-server: the MCP server communicates with a private backend API that indexes documentation from public and private source repositories, websites, OpenAPI specs, and Confluence spaces. The CLI configures MCP servers for multiple AI coding agents by writing JSON/TOML config files and skill definitions. The SDK provides a typed client with retry, abort, and rate-limit handling. All components share a common workflow: resolve a library ID, then query documentation for a specific concept. The repository is a pnpm monorepo with packages for the MCP server (`@upstash/context7-mcp`), CLI (`ctx7`), SDK (`@upstash/context7-sdk`), Vercel AI SDK tools (`@upstash/context7-tools-ai-sdk`), and thin extensions for pi.dev and OpenCode. It includes comprehensive documentation, enterprise deployment guides (Docker, Kubernetes, on-premise), and integrations with GitHub Actions, Okta, Entra ID, and Vercel Marketplace. The codebase demonstrates strong engineering practices: command pattern in the SDK, declarative agent configuration, OpenTelemetry instrumentation with lazy loading, and secure authentication flows (OAuth, JWT, API keys). External dependencies include the Context7 backend API, Clerk for OAuth, Vercel Marketplace OIDC, and various AI coding agent platforms.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
tw93/Pake β˜… 61894 12734 APPLICATION

Pake is a CLI tool that packages any webpage or local web build into a lightweight native desktop application (~5MB) using Tauri (Rust) and the system WebView. It supports macOS, Windows, and Linux, producing installers in dmg/app, msi, deb/AppImage/rpm/zst formats. The architecture is a dual-language system: a TypeScript CLI (Commander.js) orchestrates the build process, generating Tauri configuration files, handling icon conversion, and managing platform-specific builders (MacBuilder, WinBuilder, LinuxBuilder) via a base builder pattern. The Rust Tauri runtime provides the desktop shell with webview injection scripts for features like find-in-page, fullscreen polyfill, style injection, clipboard bridging, and auth/popup routing. The project includes extensive unit and integration tests, a GitHub Action for CI/CD, and machine-readable JSON output for agent integration. It is not a data or research project; it is a pure application packaging tool.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
gitleaks/gitleaks β˜… 28786 2196 APPLICATION

Gitleaks is a command-line secret detection tool written in Go that scans for sensitive information like API keys, tokens, and passwords in git repositories, directories, files, and stdin. It features a modular architecture with separate components for configuration loading, source abstraction (file/git/archive handling), detection logic with multi-layer decoding, rule-based matching, and flexible reporting. The tool uses a Cobra-based CLI interface with commands for different scan modes and supports output formats including JSON, CSV, JUnit, SARIF, and custom templates. Key strengths include its pluggable decoder pipeline for handling encoded secrets, configurable rule system with entropy checks and keyword filtering, and sophisticated allowlist mechanism for reducing false positives. While actively maintained for security patches, the project is feature-complete with ongoing dependency management challenges due to its extensive rule set and reliance on unstable packages like golang.org/x/exp.

RATING: 8.9/10 MAINT: maintained DRIFT: medium
β–Έ 3 reusable components found
huggingface/accelerate β˜… 9911 1543 APPLICATION

Hugging Face Accelerate is a production-grade Python library that abstracts away the boilerplate of distributed training and inference with PyTorch. It provides a unified `Accelerator` class that wraps models, optimizers, dataloaders, and schedulers, automatically handling device placement, mixed precision (fp16, bf16, fp8), and gradient accumulation across CPUs, GPUs, TPUs, and other accelerators. The library supports multiple distributed backends including DDP, FSDP (v1/v2), DeepSpeed, Megatron-LM, and native PyTorch parallelism (tensor, context, pipeline), all configurable via a plugin system and a CLI tool (`accelerate launch`, `accelerate config`). It also includes utilities for large-model inference (CPU/disk offloading, device maps), quantization (bitsandbytes, FP8 via torchao/Transformer Engine), experiment tracking (TensorBoard, W&B, MLflow, etc.), and checkpointing with resume support. The architecture centers on the `Accelerator` class in `accelerator.py` (~3000 lines), which delegates backend-specific logic to `_prepare_*` methods and uses singleton state objects (`PartialState`, `AcceleratorState`) for process coordination. The `state.py` module implements a Borg pattern for distributed state, while `data_loader.py` provides sharded dataloaders with support for uneven batches and stateful iteration. The `big_modeling.py` module offers `init_empty_weights`, `cpu_offload`, `disk_offload`, and `dispatch_model` for handling models that exceed single-device memory. The library integrates deeply with the Hugging Face ecosystem (Transformers, Diffusers, PEFT) and is used as a dependency by many third-party training frameworks. Key entry points include the `Accelerator` class (imported as `from accelerate import Accelerator`), the `accelerate launch` CLI command, and the `notebook_launcher` for interactive environments. External dependencies are minimal at runtime (only PyTorch), but optional integrations with DeepSpeed, bitsandbytes, torchao, Transformer Engine, SageMaker, and various trackers are version-gated and lazily imported. The library is actively maintained with a comprehensive test suite covering CPU, GPU, TPU, and multi-node scenarios, though the proliferation of backends and version checks introduces moderate technical drift risk.

RATING: 8.9/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
mfontanini/presenterm β˜… 8910 205 APPLICATION

presenterm is a Rust-based CLI application that renders Markdown presentations directly in the terminal. It parses Markdown into a structured intermediate representation via comrak, then builds slides as sequences of render operations. The rendering engine supports rich text, images, code highlighting through bat/syntect, column layouts, themes, slide transitions, footers, speaker notes, and interactive keyboard-driven navigation. It also includes PDF/HTML export backends and hot-reload for live presentation development.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
flatpak/flatpak β˜… 5095 526 APPLICATION

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. It provides a comprehensive CLI toolchain for managing application lifecycles (install, update, run, remove) and build workflows. The architecture combines a frontend CLI (`app/flatpak-main.c`), privileged helper services (system/session helpers), a D-Bus portal service for host-sandbox communication, and core libraries handling OSTree repositories, sandboxing via bubblewrap, reference management, and transactional operations. Key data flows involve CLI commands triggering D-Bus calls to helpers for repository operations (pulling OSTree commits), sandbox setup (bubblewrap namespaces/mounts/seccomp), and desktop portal interactions for permissions. External dependencies include GLib/Gio, OSTree, bubblewrap, polkit, libseccomp, fuse, and libglnx. The codebase demonstrates strong modularity, consistent GObject patterns, and careful error handling, with reusable components like URI parsing, sandbox argument construction, and table printing.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
clidey/whodb β˜… 5034 241 APPLICATION

WhoDB is a self-hosted, multi-database workspace and management platform by Clidey (Apache-2.0). The production system is a Go backend (chi router, gqlgen GraphQL API, BAML-generated LLM clients) served alongside a React/TypeScript SPA (Vite, Apollo, Redux), plus a Cobra/Bubbletea CLI/TUI, a Wails desktop app, an MCP server exposing database tools to AI agents, and multi-language SDKs (Python, TypeScript, Go, Rust, Java) targeting the hosted platform API. It lets users browse/edit/query rows, inspect schemas and relationships, run arbitrary SQL/NoSQL commands, import/export CSV and Excel, generate mock data, and chat with an AI assistant that produces SQL, explains queries, and executes verified operations. Supported engines include PostgreSQL, MySQL/MariaDB, SQLite, CockroachDB, TiDB, DuckDB, ClickHouse, QuestDB, YugabyteDB, MongoDB, Redis/Valkey/Dragonfly, Elasticsearch/OpenSearch, and Memcached, with automatic discovery of cloud-hosted instances on AWS, Azure, and GCP. Architecturally the backend is a database-plugin registry: every engine implements a PluginFunctions interface, mostly by embedding a shared GORM-based SQL plugin and overriding dialect specifics (constraint parsing, batch operations, SQL builders); non-relational stores use native adapters. Security is treated seriously: a SQL guard classifies commands as read-only vs mutating across SQL/MongoDB/Redis, egress validation blocks SSRF targets including cloud-metadata IPs, sessions use hashed cookie tokens with CSRF double-submit, and audit logging classifies events into telemetry/access/compliance. The frontend uses registry patterns (component-registry, route-registry, sidebar-registry) to keep CE/EE edition differences declarative. The most reusable pieces are security components (sqlguard read-only classification, egress SSRF filter), the mock-data generator's column-pattern matching, and the schema-diff engine β€” all self-contained enough to extract into other projects. The codebase is actively maintained with extensive CI/CD (Docker, npm, Snap, Windows Store, macOS releases), per-database e2e suites, and accessibility checks. Weaknesses are inherent complexity: five SDKs must stay synchronized with a generated manifest, BAML generation introduces platform-specific build stubs, cloud-provider connectivity logic is duplicated across AWS/GCP/Azure, and the broad plugin interface gives new database adapters a large implementation surface.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
lolcommits/lolcommits β˜… 4820 248 APPLICATION

lolcommits is a Ruby gem that captures a webcam snapshot (or video/animated GIF) every time you commit code in a Git or Mercurial repository. It installs a post-commit hook that triggers a platform-specific capture (imagesnap on macOS, mplayer on Linux, CommandCam on Windows, ffmpeg for video), then resizes the image, optionally applies text overlays via plugins, and saves it to `~/.lolcommits/<repo-name>/<sha>.jpg`. The CLI provides commands to enable/disable the hook, view the last capture, browse captures, generate timelapse GIFs, and configure plugins. The architecture is a monolith with a plugin system: a `Runner` orchestrates capture and plugin hooks, `Capturer` subclasses handle platform-specific capture, `Configuration` manages per-repo directories and YAML config, and `PluginManager` discovers and loads gem-based plugins. External dependencies include ImageMagick, ffmpeg (optional), and bundled binaries for imagesnap/videosnap/CommandCam. The codebase is well-structured, actively maintained, and includes comprehensive Cucumber feature tests and MiniTest unit tests.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
olekukonko/tablewriter β˜… 4811 399 APPLICATION

This is a Go library for rendering richly formatted tables in a variety of output formats, including ASCII, Unicode, Markdown, HTML, ANSI-colored, and SVG. It provides both a batch mode (`Render`) and a streaming mode (`Start`, `Append`, `Close`) for incremental table generation. The library supports advanced features such as horizontal, vertical, and hierarchical cell merging, per-column alignment, padding, word wrapping, and custom cell formatters. It includes a CLI tool `csv2table` that converts CSV input to tables with the full feature set. The codebase is modular, with separate packages for display width calculation (East Asian language support), word wrapping (minimal raggedness algorithm), an LRU cache, and a set of pluggable renderers. Configuration is done via functional options and a fluent `ConfigBuilder` pattern. Although comprehensive, the API is in a state of transition: many legacy methods (e.g., `SetBorder`, `SetAutoFormatHeaders`) are deprecated, and the migration guide warns that the current version (v1) is still evolving. The architecture is sound, with clear separations between data processing (`tablewriter` core), presentation (`tw` types and `renderer` implementations), and utility packages (`twwidth`, `twwarp`, `twcache`). The library is well-tested with over 50 test files and benchmarks, and demonstrates strong engineering practices.

RATING: 8.9/10 MAINT: maintained DRIFT: low
β–Έ 5 reusable components found
$ loading more...
$ submit: