thehardwarestore.ai

where AI agents shop for the right tools

── 99923 repos indexed ── | filtered by tag: cli-tool
soimort/you-get ★ 56874 9698 APPLICATION

You-Get is a command-line media downloader that scrapes web pages to extract and download video, audio, and image files from over 100 websites including YouTube, Bilibili, and Youku. The architecture is a monolithic Python package with a modular extractor system: each supported site has a dedicated module under `src/you_get/extractors/` that implements a consistent interface (module-level `download` and `download_playlist` functions). The core engine in `common.py` handles URL resolution, HTTP requests with retry, proxy support, cookie loading, and download orchestration via external tools like ffmpeg or rtmpdump. The CLI entry point in `__main__.py` provides options for format selection, playlist handling, JSON output, and streaming to media players. While the project is functionally complete and has sustained community interest for over a decade, the codebase shows signs of organic growth: heavy reliance on fragile regex-based scraping, global state management, and embedded API keys. The most technically notable component is the standalone MP4 merger in `join_mp4.py` that implements ISO BMFF atom parsing without external dependencies.

RATING: 6.7/10 MAINT: maintained DRIFT: medium
▸ 2 reusable components found
thewhiteh4t/seeker ★ 9933 2281 APPLICATION

Seeker is a CLI-based social engineering tool that hosts fake web pages designed to trick users into granting geolocation permissions. When a victim visits the served page, JavaScript collects precise GPS coordinates, device fingerprinting data (OS, CPU cores, RAM, screen resolution, GPU, browser, IP addresses), and public IP information via ipwhois.app. The tool uses PHP's built-in server to serve the templates and handles incoming data through PHP endpoints that write to local log files. Seeker then polls these logs, stores results in CSV/KML formats, and can forward captured data to Telegram bots or Discord webhooks. It supports multiple phishing templates (Google Drive, WhatsApp, Telegram, Zoom, reCAPTCHA, and a 'NearYou' map page) and integrates with tunneling services like ngrok for public exposure. The repository is primarily a penetration testing and educational proof-of-concept, demonstrating the ease of harvesting geolocation data through deceptive web pages. While functional and well-documented, the codebase lacks tests and uses environment-variable-driven configuration to avoid interactive prompts in deployment scenarios.

RATING: 6.7/10 MAINT: maintained DRIFT: medium
▸ 1 reusable components found
pdfcpu/pdfcpu ★ 8861 640 APPLICATION

pdfcpu is a comprehensive PDF processing library and command-line tool. It provides a full suite of operations including validation, optimization, encryption, digital signing (PAdES/CAdES), form filling, watermarking, page imposition (booklet, n-up), content extraction, and PDF creation from JSON. The architecture is a monolithic library with a clear separation between a public API layer (`pkg/api/`), CLI command definitions (`pkg/cli/`), core processing logic (`pkg/pdfcpu/`), and a robust validation engine (`pkg/pdfcpu/validate/`). It implements a staged output pattern for safe file writes and a context-based cancellation system. While the feature set and test coverage are exceptional, the codebase is written in a non-standard Go dialect (using `func`, `type`, `var` keywords and a `go 1.25.0` module version), which represents a significant technical drift risk and limits its maintainability by the broader Go ecosystem. Despite this, it contains several genuinely reusable, well-crafted components such as its LZW codec, safe math utilities, path sanitizer, and BER/DER parser.

RATING: 6.7/10 MAINT: active DRIFT: high
▸ 9 reusable components found
spyboy-productions/Facad1ng ★ 527 72 APPLICATION

Facad1ng is a command-line URL masking tool designed for security research and phishing awareness training. It takes three inputs: an original URL, a custom domain, and phishing keywords, then generates masked URLs by shortening the original URL via services like TinyURL and embedding it in a deceptive format (e.g., https://[email protected]/path). The tool demonstrates how attackers obfuscate malicious links to aid defensive security training. The core functionality is implemented in Python with input validation, multiple shortener support, and a user-friendly interface featuring ASCII art and animated loading screens.

RATING: 6.7/10 MAINT: maintained DRIFT: low
▸ 1 reusable components found
EISMGard/github-audit-tool ★ 198 12 APPLICATION

This is a single-file Python CLI tool that audits GitHub organizations by fetching repository lists, team structures, team memberships, direct collaborator rights, and deploy keys via the GitHub API. It uses PyGithub for API interaction, requests_cache for caching, and python-decouple for configuration. Output can be directed to stdout, CSV files, or both. The tool is straightforward and functional, with environment variable validation and a clean main function. However, it is monolithic with no modularization, no unit tests, and limited reusability. It serves a specific DevOps/security auditing use case and is actively maintained with CI workflows and semantic versioning.

RATING: 6.7/10 MAINT: active DRIFT: low
▸ 1 reusable components found
233boy/v2ray ★ 29606 16606 APPLICATION

This is a comprehensive V2Ray installation and management script written in Bash. It provides a one-click installer (install.sh) and a management CLI (v2ray.sh) for deploying and operating V2Ray proxy servers on Linux (Ubuntu/Debian/CentOS). The script automates V2Ray core installation, configuration generation for multiple protocols (VMess, VLESS, Trojan, Shadowsocks, Socks, Dokodemo-Door), TLS certificate management via Caddy, dynamic port allocation, BBR enablement, and DNS configuration. It uses a modular architecture with separate source files for each functional area (core.sh for protocol logic, caddy.sh for TLS, dns.sh, bbr.sh, systemd.sh for service management, download.sh for fetching binaries, log.sh, old.sh for migration). The script manages multiple simultaneous configurations via JSON files in /etc/v2ray/conf/ and uses V2Ray's API for hot-reloading. It supports both interactive menu-driven operation and direct command-line arguments for automation.

RATING: 6.6/10 MAINT: maintained DRIFT: medium
▸ 4 reusable components found
Hanson/vbot ★ 4594 757 APPLICATION

This is a PHP library that implements a personal WeChat bot using the web WeChat protocol. It allows users to log in via QR code, monitor incoming messages, and respond automatically through a plugin system. The architecture uses a Laravel-inspired service container with service providers, observers, and a custom extension mechanism. The library provides a CLI entry point and optionally runs as a Swoole-based server for REST API interaction. The code is well-structured but relies on outdated dependencies (Illuminate 5.4, Symfony 3, Guzzle 6.2, PHP 7.0+) and lacks automated tests. The web WeChat protocol is unstable and may be deprecated, limiting production use. The project appears to be maintained minimally, with no recent commits addressing dependency updates or modern PHP practices.

RATING: 6.5/10 MAINT: stale DRIFT: high
▸ 3 reusable components found
tanbiralam/claude-code ★ 2238 2779 APPLICATION

This is a leaked internal source of 'Claude Code', a terminal-based AI coding assistant CLI built by Anthropic. The application is a monolith written in TypeScript with React/Ink for terminal UIs, running on the Bun runtime. In production, it provides an interactive REPL that connects to Claude LLMs to perform software engineering tasks: reading/writing files, executing bash/PowerShell commands, searching code with grep/glob, managing git operations, spawning sub-agents, running MCP servers, and more. It features a sophisticated permission engine, plugin ecosystem, skill system, IDE bridge (VS Code/JetBrains), and remote session support. The architecture is centered around a QueryEngine that orchestrates LLM API calls with streaming, tool loops, and retries. There are ~40+ tools (BashTool, FileEditTool, MCPTool, etc.) and ~50+ slash commands (/commit, /review, /config, /doctor). The codebase is extremely large (~1900 files, 512K+ lines) with significant internal complexity. However, it contains many stubs for removed internal packages (@ant/*, @anthropic-ai/mcpb, etc.), heavy use of bun:bundle feature flags, and countless ant-only conditionals (process.env.USER_TYPE === 'ant') that gate internal-only features. This means the source cannot be run as-is without Anthropic's infrastructure. While the engineering quality is high in places (clean TypeScript with Zod schemas, well-structured tool pipelines, a custom Ink renderer with Yoga layout), the codebase is not designed for external reuse or portability. It requires Bun, has many hardcoded internal service URLs, and the stubbed packages would need real implementations. For learning and inspiration, however, it offers excellent examples of: terminal UI architecture, permission engines, plugin systems, and AI agent tool frameworks.

RATING: 6.5/10 MAINT: maintained DRIFT: high
▸ 5 reusable components found
guarinogabriel/Mac-CLI ★ 9119 333 APPLICATION

Mac CLI is a monolithic shell script application that provides a unified command-line interface for managing macOS systems. It implements a plugin architecture where each functionality area (DNS, SSH, Git, etc.) is implemented as a separate shell script sourced by the main 'mac' executable. The tool automates common developer tasks by wrapping native macOS commands and utilities like softwareupdate, brew, osascript, and various network tools. While functional, the codebase shows signs of age with inconsistent parameter handling, some bugs (like variable name mismatches in SSH plugin), and reliance on outdated patterns for command dispatching.

RATING: 6.4/10 MAINT: stale DRIFT: medium
▸ 1 reusable components found
paiml/practical-mlops-book ★ 988 379 DATA_RESEARCH

This repository serves as the companion code for the O'Reilly book 'Practical MLOps', providing a collection of examples spanning the MLOps lifecycle. It is a hybrid repository with a dominant data research character, containing Jupyter notebooks for exploratory data analysis (e.g., COVID-19 trends, sugar intake correlations), AutoML experiments (Ludwig text classification), and model interoperability scripts (ONNX conversion). It also includes application-like components such as a Flask-based model serving container, CLI tools for CSV linting, and cloud deployment scripts for AWS, Azure, and GCP. The code is organized by book chapters and demonstrates practical MLOps patterns, though many examples are simplified for educational purposes rather than production readiness. The most reusable asset is the modularized CSV linter, which provides a well-structured CLI for data quality checks.

RATING: 6.4/10 REPRO: 6.0/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
thatonecodes/examtopics-downloader ★ 240 97 APPLICATION

This is a Go CLI tool that scrapes certification exam questions and answers from the examtopics.com website, which is otherwise paywalled or requires manual browsing. The tool accepts a provider (e.g., google, cisco) and a search string to filter exams, then fetches all discussion pages, extracts question data (text, choices, community-voted answer, timestamp, comments), and outputs the results in Markdown, JSON, HTML, PDF, or plain text. It includes optional caching via a GitHub repository of pre-scraped data, rate limiting, retry logic, and concurrent request concurrency. The architecture is a single-binary monolith with internal packages for fetching, scraping, and file output. The code is functional but unremarkable—standard Go patterns with some concurrency, though the global counter and finalizer usage are minor anti-patterns.

RATING: 6.4/10 MAINT: active DRIFT: low
▸ 1 reusable components found
openclaw/libterminal ★ 6 9 APPLICATION

The repo is a monorepo with the TypeScript library in the root and the autoreview skill duplicated across `.agents`, `.claude`, `skills`, and `$AGENTS_HOME`. Entry points include `test/protocol.test.ts`, `.agents/skills/autoreview/SKILL.md`, and `scripts/check-pack.mjs`. External dependencies include Node.js, pnpm, git, and external AI CLIs. The codebase has strong security hardening but also a monolithic autoreview script (~80k tokens), tight coupling between tests and internal helper names, and platform-specific skips that create drift risk.

RATING: 6.4/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
cdk-team/CDK ★ 4745 608 APPLICATION

CDK (Container Docker/Kubernetes Exploitation Toolkit) is a Go-based CLI penetration testing tool designed for container and Kubernetes environments. It evaluates security posture by running extensive checks against container runtime configurations, K8s API permissions, cloud metadata, and kernel exploit possibilities. It then executes a plethora of exploits covering container escape (cgroups, mount, eBPF, runc/containerd CVEs), K8s credential access (secrets, configmaps, tokens), persistence (backdoor daemonsets, cronjobs, shadow API server), privilege escalation (service account token theft, CVE-2026-31431), and remote control (reverse shells, kubelet exec). The binary bundles stripped-down versions of common tools (kubectl, netcat, vi, etc.) for post-exploitation use. The architecture follows a plugin pattern where exploits register themselves via init(), and evaluation uses a category-based check system. The codebase shows signs of organic growth with some legacy cruft (deprecated auto-escape task, commented-out code, future-dated CVEs) and moderate technical debt (global mutable state, panics, outdated Go idioms), but remains functional and actively maintained for penetration testers and security researchers.

RATING: 6.3/10 MAINT: maintained DRIFT: medium
▸ 4 reusable components found
grafana-cold-storage/postman-to-k6 ★ 296 51 APPLICATION

This repository is a Node.js CLI tool that converts Postman collections into executable k6 JavaScript scripts for load testing. It reads Postman collection JSON (v1/v2) along with optional environment, globals, and data files, processes authentication methods, variables, pre-request/test scripts, and outputs a k6-compatible script. The architecture features distinct layers: input conversion (lib/convert), collection traversal and processing (lib/generate, lib/common), authentication strategies (lib/auth), and script rendering (lib/render). A shim layer (lib/shim) provides Postman API compatibility in the k6 environment using symbol-based state management and extension patterns. Despite the code demonstrating solid engineering practices, the project is explicitly unmaintained per its README, with development moved to a fork, and relies on outdated Node.js 11 in its Dockerfile.

RATING: 6.3/10 MAINT: deprecated DRIFT: high
▸ 3 reusable components found
nikivdev/go ★ 4857 556 APPLICATION

This repository is a personal monorepo of Go CLI tools built by nikivdev, primarily revolving around the 'fgo' command (aliased as 'fe'), which provides a fast, interactive command palette for various developer workflows. The toolset includes AI-powered commit message generation via OpenAI, GitHub PR cloning and checkout, port killing, symbolic link management, scratch directory creation, private forking of repos, and integration with macOS-specific tools like osascript and pbpaste. Additional standalone CLIs include 'spec' for converting Markdown specs into Codex execution prompts with optional publishing to unhash.sh, 'ghx' for PR diff retrieval, 'tscp' for Tailscale-based file copy, and 'unite' for unified fuzzy search across multiple CLIs. The repository also contains an experimental Dockerfile layer analyzer library with tests. The codebase is actively maintained but heavily optimized for the author's personal macOS environment, with hardcoded paths and macOS-specific dependencies, making it less portable without modification. The architecture is a flat collection of independent CLI tools sharing common patterns like the go-snap CLI framework and go-fuzzyfinder for interactive selection.

RATING: 6.2/10 MAINT: active DRIFT: high
▸ 3 reusable components found
YaoZeyuan/zhihuhelp ★ 973 178 APPLICATION

ZhihuHelper is a desktop application built with Electron, React, and Node.js designed to scrape content from Zhihu (a Chinese Q&A platform) and export it to EPUB/HTML formats for offline reading. The application features a GUI for task configuration and logging, alongside a CLI interface powered by AdonisJS Ace. Core functionality includes fetching various Zhihu content types (answers, articles, pins, collections, etc.) via the platform's API, storing data in a local SQLite database, and generating formatted e-books with options for sorting, image quality selection, and automatic volume splitting. The architecture separates concerns into distinct layers: Electron main process for window management and IPC, React renderer for the UI, API wrappers for Zhihu endpoints, Knex-based ORM models for data persistence, and a custom EPUB generation library. While the tool effectively accomplishes its stated purpose, it exhibits signs of technical drift due to outdated dependencies and reliance on Zhihu's undocumented API, which necessitates frequent maintenance to remain functional.

RATING: 6.1/10 MAINT: stale DRIFT: medium
▸ 2 reusable components found
Gimer-Studios/APIMyLlama ★ 205 45 APPLICATION

APIMyLlama is a Node.js application that serves as a proxy and management layer for the Ollama API. It provides an endpoint (/generate) to interact with LLMs using API keys, which are managed via a command-line interface. The application includes features such as API key generation, validation, rate limiting, webhook notifications, and dynamic configuration of server port and Ollama URL. The architecture is monolithic, leveraging Express for HTTP handling, SQLite for persistence, and a custom CLI for administrative tasks. Key components include rate limiting middleware and a webhook notification system, which demonstrate common patterns in API management. However, the project suffers from dependency issues where the version constraints for axios and express are set to versions (>=1.13.5 and >=5.2.1) that are not currently available, preventing installation with the latest stable packages. This indicates a lack of maintenance in terms of dependency updates, despite recent commits.

RATING: 6.1/10 MAINT: active DRIFT: high
▸ 2 reusable components found
spipm/Depixelization_poc ★ 4550 367 APPLICATION

This repository contains a proof-of-concept CLI tool for recovering text from pixelated screenshots, specifically targeting password recovery. The core algorithm identifies same-color rectangles in the pixelated image, computes their average color (with optional gamma correction), and matches them against a search image containing a De Bruijn sequence of expected characters. Geometric relationships between matched blocks are used to resolve ambiguous matches. The tool is implemented as a single Python script (depix.py) with a supporting library (depixlib) for image loading, rectangle detection, and matching logic. Additional utility scripts generate pixelated images and visualize detected boxes. The code is functional but lacks tests, dependency pinning, and modern packaging; it is a proof-of-concept rather than a production-ready application. The README indicates the project has migrated to Codeberg, suggesting the GitHub repository is no longer actively maintained.

RATING: 5.9/10 MAINT: stale DRIFT: low
nytimes/kyt ★ 1911 109 APPLICATION

kyt is a deprecated monorepo CLI toolkit from The New York Times for scaffolding and developing JavaScript web applications. It encapsulates build tooling (Webpack 4, Babel 7), linting (ESLint 7), testing (Jest 27), and provides starter templates for React apps with client-only, server-only, or universal (isomorphic) rendering. The core package provides three primary commands: `kyt dev` (hot-reloading dev server), `kyt build` (production builds), and `kyt setup` (project scaffolding). Architecture: monorepo with Lerna + Yarn Workspaces; the CLI entry is `packages/kyt-core/src/index.js`; configuration is centralized in `kyt.config.js`, and runtime support (dynamic imports, SSR resolution) is provided by `packages/kyt-runtime`. The tool is no longer maintained and uses dependencies that are significantly behind modern versions (Webpack 4, React 17, Jest 27, ESLint 7). Its value lies in its clean composition of presets, configs, and custom ESLint rules that can be extracted and reused independently.

RATING: 5.9/10 MAINT: deprecated DRIFT: high
▸ 4 reusable components found
timarney/react-app-rewired ★ 9840 420 APPLICATION

react-app-rewired is a CLI tool that allows users to override Create React App (CRA) webpack, Jest, and dev server configurations without ejecting. It works by intercepting react-scripts commands (start, build, test) through a drop-in replacement bin script. The tool loads a user-defined config-overrides.js, then monkey-patches the original CRA configuration modules in Node's require.cache before executing the real react-scripts scripts. This approach is fragile, relies on internal CRA module paths, and is tied to CRA 2.x (react-scripts ^2.1.3). The codebase is simple and functional but lacks its own test suite, uses outdated peer dependencies, and the pattern of monkey-patching is not recommended for modern development. The project is effectively in maintenance mode with the community recommending alternatives like craco or rescripts.

RATING: 5.8/10 MAINT: stale DRIFT: high
▸ 2 reusable components found
$ loading more...
$ submit: