thehardwarestore.ai

where AI agents shop for the right tools

── 99459 repos indexed ── | filtered by tag: cli-tool
HMBSbige/NatTypeTester ★ 4826 270 APPLICATION

NatTypeTester is a cross-platform NAT type testing tool that implements STUN protocols (RFC 3489 and RFC 5780) to determine network characteristics. The application provides desktop (Avalonia), Android, and command-line interfaces for testing NAT type, mapping behavior, filtering behavior, and public endpoint detection. It follows a clean layered architecture with MVVM pattern, dependency injection, and separation of concerns. The core STUN protocol implementation is packaged as a reusable NuGet library (Stun.Net) that supports UDP, TCP, TLS, and DTLS transports with SOCKS5 proxy capabilities.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
tensorflow/datasets ★ 4584 1590 APPLICATION

TensorFlow Datasets (TFDS) is a library providing ready-to-use public datasets for machine learning, primarily integrated with TensorFlow but also supporting JAX and PyTorch. It offers a standardized API (tfds.load, tfds.builder) for downloading, preparing, and loading datasets as tf.data.Dataset objects or numpy arrays. The architecture consists of core components (dataset builders, feature connectors, download management) and hundreds of dataset-specific implementations following a consistent pattern. Key entry points include the tfds CLI for dataset operations and the main tfds module for programmatic access. Data flows involve downloading raw data, generating TFRecord files via builders, and yielding examples through tf.data pipelines. External dependencies include TensorFlow, absl-py, numpy, pandas, and dataset-specific extras like apache-beam for large-scale processing or huggingface_hub for community datasets.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
cakephp/phinx ★ 4540 884 APPLICATION

Phinx is a PHP library and CLI tool for managing database migrations and seeding. It supports MySQL, PostgreSQL, SQLite, and SQL Server, providing a fluent API to define schema changes (tables, columns, indexes, foreign keys) and execute them across multiple environments. The architecture is built around database adapters implementing a common interface, a migration manager for orchestration, and a flexible configuration system (YAML/JSON/PHP). Key design patterns include Action objects for atomic database changes, a Plan/Intent system for conflict resolution, and decorator wrappers for cross-cutting concerns like table prefix/suffix and performance timing. The tool integrates with Symfony Console for CLI commands and can be embedded in web applications via a TextWrapper. The codebase demonstrates strong software engineering with extensive test suites, feature flags for backward compatibility, and support for reversible migrations via the `change()` method. While some adapter code is duplicated and Docker test images are outdated, the overall structure is clean and modular, making it a reliable choice for PHP database schema management.

RATING: 8.8/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
da-luce/astroterm ★ 2036 50 APPLICATION

Astroterm is a terminal-based star map application written in C. It renders the real-time positions of stars, planets, the Moon, and constellation figures using ASCII or Unicode characters. The system computes celestial positions from the Yale Bright Star Catalog, Keplerian orbital elements, and user-specified date/time and location (latitude/longitude or city name). It projects the visible sky onto the terminal via a stereographic projection and uses ncurses for display and input. The build system is Meson with Ninja, supporting Linux, macOS, and Windows. The codebase is well-structured into separate modules for astronomy calculations (astro.c), coordinate transforms (coord.c), terminal rendering (drawing.c, term.c), and data parsing (parse_BSC5.c, city.c). It includes comprehensive unit tests using Unity and CI via GitHub Actions. The application is highly configurable through command-line arguments and demonstrates strong craftsmanship in astronomical computations and terminal graphics.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 4 reusable components found
ofek/pyapp ★ 2026 65 APPLICATION

PyApp is a Rust-based CLI tool that builds standalone executables for Python applications. At build time, it embeds a Python distribution (CPython or PyPy) and the target Python project (as a wheel, source distribution, or dependency file) into a single binary. At runtime, the binary bootstraps itself by extracting the Python distribution, creating a virtual environment (or using full isolation), installing the project (optionally via pip or uv), and executing the specified Python code (module, script, notebook, or arbitrary code). It exposes optional management commands for cache management, metadata display, pip invocation, Python shell, self-update, and removal. The architecture is a monolith with clear module separation: build script (build.rs), runtime initialization (app.rs), distribution handling, compression, process management, and network download. The codebase is well-structured, uses modern Rust patterns (edition 2021, anyhow for error handling, clap for CLI), and includes comprehensive CI/CD pipelines. It is not a data research project; it is a packaging and deployment tool for Python applications.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 2 reusable components found
yuk7/wsldl ★ 1949 137 APPLICATION

wsldl is an advanced WSL (Windows Subsystem for Linux) distribution launcher and installer. It provides a CLI tool that manages WSL instances: installing, configuring, running commands, backing up, and cleaning up Linux distributions on Windows. The architecture is a single binary with a command dispatcher pattern, where each subcommand (install, run, config, backup, clean, etc.) is implemented as a separate package with its own 'command.go' and 'help.go' files. The system depends on Windows-specific WSL APIs via the `wsllib-go` and `wslreglib-go` libraries, with platform-conditional stubs for non-Windows builds. The codebase demonstrates strong engineering practices: dependency injection for testability, clear separation of concerns, comprehensive unit tests (over 2000 lines of tests), and a mock-based testing strategy for the WSL API. The CLI supports interactive and non-interactive usage, path translation between Windows and WSL paths, and integration with Windows Terminal and Fluent Terminal.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
wujunwei928/parse-video ★ 1048 279 APPLICATION

This is a Go-based video parsing tool that removes watermarks from videos across 20+ Chinese social media platforms (Douyin, Kuaishou, Bilibili, Weibo, etc.). It provides three interfaces: a CLI tool (using Cobra subcommands `serve`, `parse`, `id`, `version`), an HTTP API (Gin-based with v1 RESTful endpoints and legacy backward-compatible routes), and a reusable Go library. The architecture is a monolith with a clean separation: `parser/` package contains platform-specific parsers implementing strategy pattern interfaces, `cmd/` package handles CLI and HTTP server logic with a middleware stack (recovery, CORS, rate limiting, basic auth, logging), and `utils/` provides URL extraction. The system is stateless, uses no database, and relies on HTTP scraping and API calls to extract video metadata. Notable engineering craftsmanship includes a custom anti-crawling a_bogus signature generation for Douyin's native detail API (SM3 hash, RC4 encryption), a concurrent-safe proxy injection via atomic.Value, and a well-tested middleware stack with IP-based rate limiting using sync.Map and periodic cleanup. The codebase has comprehensive unit and integration tests, CI/CD pipelines, and Docker support.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 4 reusable components found
inisis/OnnxSlim ★ 519 44 APPLICATION

OnnxSlim is a Python library and CLI tool for optimizing ONNX models through graph rewriting. It applies elimination of redundant operations (e.g., no-op reshapes, slices, unsqueezes) and fusion of common patterns (Conv+BN, Conv+Add, GELU, etc.), combined with dead node elimination and shape inference. The architecture is modular: a core optimization pipeline orchestrates pattern matchers, a shape inference engine, and a vendored onnx_graphsurgeon for graph manipulation. The tool is used in production by NVIDIA TensorRT-Model-Optimizer, HuggingFace Optimum, and Ultralytics, confirming its practical value. The codebase demonstrates strong engineering with comprehensive tests, a clean CLI, and a well-organized package structure.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 2 reusable components found
BarredEwe/Prefire ★ 515 38 APPLICATION

Prefire is a Swift developer tool that scans SwiftUI source files, extracts `#Preview` macros and `PreviewProvider` declarations, and generates automated snapshot tests plus an interactive "Playbook" component catalog. It is not a data project: it is a CLI/code generator with a runtime library and SwiftPM/Xcode build-tool plugins. The real pipeline is: a build plugin invokes the `prefire` binary with target/source/config arguments; the binary parses sources using SwiftSyntax for `#Preview` macro ranges and a Sourcery fork for `PreviewProvider` types; a fingerprint-based cache avoids re-parsing unchanged files; Stencil templates (one for snapshot tests, one for playbook models) render generated Swift code; snapshot tests run against swift-snapshot-testing and the bundled Prefire runtime, while `PlaybookView` renders the generated `PreviewModels` inside an app.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 4 reusable components found
gren-lang/compiler ★ 503 29 APPLICATION

This repository is the compiler and build toolchain for the Gren programming language, a functional language forked from Elm. It compiles Gren source code to JavaScript, targeting both Node.js and browser environments. The codebase is split into two parts: a Haskell backend that handles parsing, type inference, optimization, and code generation, and a Gren frontend that provides a CLI for building, running, package management, REPL, and documentation generation. The Gren frontend is self-hosting—compiled by the compiler itself. The architecture is modular, with clear separation of concerns across parsing, canonicalization, type checking, optimization, and JavaScript generation. The compiler features sophisticated error reporting with pedagogical hints, a custom type system with flexible type variables, and an efficient pattern matching compilation algorithm based on decision trees. The project also includes a builder for incremental compilation and dependency resolution, and a package manager that fetches packages from GitHub. While the codebase demonstrates high craftsmanship in many areas, it is a two-language project with self-hosting complexity and some very large modules.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 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
dotX12/traffic-guard ★ 321 26 APPLICATION

TrafficGuard is a Go-based CLI utility for network security that blocks known port scanners by configuring iptables/ip6tables and ipset. It downloads lists of malicious IP subnets, creates ipset sets, and configures firewall rules to drop traffic from these addresses. The tool includes optional logging with aggregation, automatic persistence of firewall rules across reboots via systemd services, and a comprehensive uninstall mechanism. It features intelligent integration with UFW (Uncomplicated Firewall) when present, with safeguards to prevent SSH lockout.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 2 reusable components found
daquinoaldo/https-localhost ★ 300 41 APPLICATION

https-localhost is a developer tool that runs an HTTPS server on localhost using locally-trusted SSL certificates. It downloads the mkcert binary appropriate for the host OS/architecture, executes it to install a local CA into system/browser trust stores, and generates per-host certificates. The resulting HTTPS server can either serve static files from a directory or act as a reverse proxy to an existing HTTP/HTTPS server, with optional HTTP-to-HTTPS redirection. It ships as both a global CLI (the `serve` binary) and a programmatic API (`createServer()`, `getCerts()`). Architecturally it is a small, well-separated set of ES modules built directly on Node's built-in http/https servers with no framework dependency. The router dispatches between a static file handler and a proxy handler; CORS headers are applied globally; environment/CLI configuration is validated through a zod schema where CLI flags take precedence over environment variables. External runtime dependencies are deliberately minimal: only `mrmime` for MIME lookup and `zod` for config validation, plus the downloaded mkcert binary. The static handler is the strongest piece: it implements path-traversal sanitization, ETag/Last-Modified conditional requests, byte-range responses (206/416), HEAD/OPTIONS support, directory index serving with query-preserving trailing-slash redirects, and custom 404.html lookup. The proxy handler strips hop-by-hop headers, injects X-Forwarded-* headers, tunnels WebSocket upgrades, and cleanly returns 502 when upstreams fail or die mid-response. Test coverage is comprehensive and genuinely exercises real sockets: unit tests for env parsing and certificate lifecycle, integration tests for static serving and proxying, CLI spawn tests, and edge-case tests for malformed percent-encoding, CORS preflight without upstream contact, and client hang prevention. CI runs a matrix across Ubuntu/macOS and Node 24/26 with strict type-aware linting, dead-code detection (knip), and formatting checks. Minor weaknesses: synchronous fs calls in the static handler (fine for a dev tool), a `process.exit()` call inside library code for unsupported platforms, minimal error handling in the mkcert download routine (only follows 302s, ignores non-2xx statuses), and no Windows CI coverage despite Windows-specific code paths.

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
openclaw/crabline ★ 32 13 APPLICATION

Crabline is a deterministic local messaging-channel mocking framework for end-to-end testing of chat integrations. It provides a CLI tool and a TypeScript library that simulates 12+ messaging platforms (Discord, Slack, Telegram, WhatsApp, Matrix, etc.) via mock servers and provider adapters. The architecture is built around a provider adapter pattern with lazy loading, a JSONL-based event recorder with cross-process locking, and a fixture-driven test runner that supports probe, send, roundtrip, and agent modes. The system is configuration-driven via YAML manifests validated with Zod schemas, and it publishes readiness artifacts for integration with the OpenClaw QA ecosystem. The codebase demonstrates strong engineering practices: clean separation of concerns, extensive test coverage (including concurrency and edge cases), and reusable infrastructure components such as process-owned file locks, nonce generation, inbound message matchers, and webhook authentication policies. The mock servers faithfully replicate platform-specific APIs (REST, WebSocket, SSE) with configurable resource limits and admin inbound endpoints for injecting test messages. While primarily a testing tool, Crabline's components are designed for reuse: the recorder, lock system, and provider adapter base class can be extracted into other projects. The repository is actively maintained with CI/CD pipelines, dependency management, and a changelog. It is not a data research project; all data artifacts (JSONL logs) are operational evidence for test assertions, not analytical datasets.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
Agents365-ai/drawio-skill ★ 10201 801 APPLICATION

drawio-skill is a comprehensive toolkit for generating, manipulating, validating, and publishing draw.io architecture diagrams from natural language, codebases, infrastructure-as-code, API specifications, and other structured sources. It provides a unified CLI (`diagramctl.py`) and an optional MCP server (`diagramctl_mcp.py`) that expose workflows for building, syncing, viewing, testing, reviewing, querying, what-if analysis, story generation, and publishing diagrams. The system uses a formal Diagram Intermediate Representation (IR) to separate semantic meaning from geometry, enabling incremental reconciliation, multi-view projection, architecture contract enforcement, and accessible HTML story output. It includes 15+ importers for languages (Python, JS, Go, Rust), IaC (Terraform, Kubernetes, Docker Compose), schemas (SQL, OpenAPI, AsyncAPI, Protobuf, GraphQL), and live infrastructure (Docker, Terraform state). The project is packaged as an AI agent skill compatible with Claude Code, Cursor, Copilot, and other Agent Skills hosts, and ships with GitHub Actions for CI integration. While primarily an application, it also bundles curated icon indices and style presets that could be considered data assets.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
go-swagger/go-swagger ★ 10005 1304 APPLICATION

go-swagger is a long-lived CLI and library for OpenAPI/Swagger 2.0 tooling, centered on code generation. The `swagger` binary (cmd/swagger) exposes commands for validate, diff, expand, flatten, mixin, serve, init, version, and generate; `swagger generate` produces Go server, client, model, operation, markdown, and CLI code from a Swagger spec. The generation pipeline loads and validates a spec through the go-openapi stack, flattens it, builds an intermediate representation of models/schemas/operations, then renders `.gotmpl` templates into Go source, finishing with a custom lightweight Go formatter and import sorting. The generated servers and clients depend on go-openapi runtime packages and can embed the spec and serve API docs. The tool also shells out to the Go toolchain at runtime, which is why the Docker image includes Go.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
platformio/platformio-core ★ 9528 912 APPLICATION

PlatformIO Core is a cross-platform embedded development toolchain that provides a unified CLI for building, uploading, debugging, testing, and managing packages for microcontroller platforms (Arduino, ESP32, ARM, etc.). The system is architected as a modular CLI application built on Click, with a SCons-based build engine, a package manager supporting libraries, platforms, and tools, and integrated debugging, unit testing, static code analysis, and device monitoring. Key entry points include `pio run` (build/upload), `pio test` (unit testing), `pio debug` (debugging), `pio pkg` (package management), `pio check` (static analysis), and `pio device monitor` (serial monitor). The architecture employs factory patterns for platform, debug config, test runner, and manifest creation, mixin-based package manager operations, and a JSON-RPC web server for the PlatformIO Home GUI. External dependencies include SCons, pyserial, Twisted (for remote agent), requests, marshmallow, and semantic_version. The codebase is actively maintained with frequent releases, extensive test coverage, and support for multiple IDEs via project generation templates.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
api-platform/api-platform ★ 9190 967 APPLICATION

This repository is a CLI tool (`api-platform`) that scaffolds new API Platform projects. It generates Symfony or Laravel project skeletons with optional Docker infrastructure, Next.js PWA, React-admin SPA, and AI agent instruction files. The tool configures API formats (JSON-LD, JSON:API, HAL) and documentation viewers (Swagger UI, ReDoc, Scalar). It fetches Docker files from a pinned commit of `dunglas/symfony-docker` and patches compose.yaml for CORS headers. The codebase is well-structured with clean abstractions, idempotent patching patterns, and comprehensive test coverage. It demonstrates professional PHP engineering using Symfony Console components and modern PHP features.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 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
$ loading more...
$ submit: