{"id":30770081,"url":"https://github.com/mattcookio/configrep","last_synced_at":"2026-01-20T17:03:51.118Z","repository":{"id":308988603,"uuid":"1034812873","full_name":"mattcookio/configrep","owner":"mattcookio","description":"A powerful CLI tool for exploring and managing configuration files","archived":false,"fork":false,"pushed_at":"2025-08-21T02:33:00.000Z","size":327,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-04T23:14:49.296Z","etag":null,"topics":["bun","cli","config-files","configuration","developer-tools","env-files","json","nodejs","toml","typescript","yaml"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattcookio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-09T03:23:25.000Z","updated_at":"2025-08-21T02:33:03.000Z","dependencies_parsed_at":"2025-08-09T11:01:34.193Z","dependency_job_id":null,"html_url":"https://github.com/mattcookio/configrep","commit_stats":null,"previous_names":["mattcookio/configrep"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mattcookio/configrep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattcookio%2Fconfigrep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattcookio%2Fconfigrep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattcookio%2Fconfigrep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattcookio%2Fconfigrep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattcookio","download_url":"https://codeload.github.com/mattcookio/configrep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattcookio%2Fconfigrep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","cli","config-files","configuration","developer-tools","env-files","json","nodejs","toml","typescript","yaml"],"created_at":"2025-09-04T23:03:12.760Z","updated_at":"2026-01-20T17:03:51.097Z","avatar_url":"https://github.com/mattcookio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConfiGREP 🔍\n\n**Find any config value in seconds.** A fast CLI tool that discovers and searches through all your configuration files (.env, .json, .yaml, .toml, .ini) with an intuitive Miller Columns interface.\n\n## Why ConfiGREP?\n\nEver wondered where that API key is stored? Or which config file has the database URL? ConfiGREP instantly finds any configuration value across your entire project.\n\n## Quick Start\n\n```bash\n# Run without installation\nnpx configrep\n\n# Or install globally\nnpm install -g configrep\ncfg  # Use the short 'cfg' command\n```\n\n## Core Features\n\n- **Auto-discovery** - Finds all config files in your project automatically\n- **Miller Columns UI** - Navigate configs like macOS Finder\n- **Smart search** - Search by key, value, or both with regex support\n- **Cross-format** - Works with .env, JSON, YAML, TOML, and INI files\n- **Tree display** - View nested configs in hierarchical or flat format\n\n## Commands \u0026 Examples\n\n### Interactive Mode (Default)\n```bash\ncfg                    # Launch interactive explorer\ncfg interactive        # Same as above\ncfg i                  # Shorthand\n\n# Navigate with arrow keys, filter with 'f', search with '/'\n# Press Enter on any value to copy or find similar keys\n```\n\n### Search Configurations\n```bash\n# Find database connections\ncfg search \"database\"\ncfg search \"postgres|mysql|mongo\"\n\n# Find all API keys and tokens\ncfg search \"key|token|secret|password\"\n\n# Search only in keys (useful for finding specific settings)\ncfg search \"timeout\" --keys-only\n\n# Search only in values (useful for finding hardcoded IPs/URLs)\ncfg search \"192.168\" --values-only\ncfg search \"localhost|127.0.0.1\" --values-only\n\n# Find staging vs production values\ncfg search \"staging|prod|development\"\n```\n\n### List Config Files\n```bash\n# See all config files in your project\ncfg list\ncfg ls                 # Shorthand\n\n# Find configs in specific directories\ncfg list --dir ./src\ncfg list --dir ./config\n\n# Exclude test configs\ncfg list --ignore \"*.test.*\" \"*.spec.*\"\n```\n\n### Show Config Contents\n```bash\n# Display all configuration values\ncfg show\ncfg s                  # Shorthand\n\n# Show specific file\ncfg show --file .env\ncfg show --file package.json\n\n# Display as nested tree structure\ncfg show --tree\ncfg show --file tsconfig.json --tree\n\n# Show configs from specific directory\ncfg show --dir ./config\n```\n\n### Advanced Usage\n\n#### Create a config file for defaults\n```bash\ncfg init\n\n# Creates configrep.json:\n{\n  \"directory\": \".\",\n  \"ignore\": [\"node_modules\", \"dist\", \".git\"],\n  \"depth\": 5,\n  \"defaultCommand\": \"interactive\"\n}\n```\n\n#### Audit sensitive data\n```bash\n# Find potentially exposed secrets\ncfg search \"api_key|api_secret|private_key|access_token\"\n\n# Check for hardcoded passwords\ncfg search \"password\" --values-only | grep -v \"ENV\\|env\\|process\"\n\n# Find non-environment database URLs\ncfg search \"mongodb://|postgres://|mysql://\" --values-only\n```\n\n#### Debug configuration issues\n```bash\n# Compare key names across files (finds typos/inconsistencies)\ncfg show | grep \"AUTH\" | sort | uniq\n\n# Find duplicate keys\ncfg show | cut -d'=' -f1 | sort | uniq -d\n\n# Check which configs are using environment variables\ncfg search \"\\$\\{.*\\}\" --values-only\n```\n\n#### Migration and refactoring\n```bash\n# Find all timeout settings to standardize\ncfg search \"timeout|ttl|expir\" --keys-only\n\n# Locate all external service URLs\ncfg search \"http://|https://\" --values-only\n\n# Find all port configurations\ncfg search \"port\" --keys-only\n```\n\n## Options\n\n| Option | Description |\n|--------|-------------|\n| `--dir \u003cpath\u003e` | Directory to search (default: current) |\n| `--ignore \u003cpatterns...\u003e` | Glob patterns to ignore |\n| `--depth \u003cnumber\u003e` | Max directory depth (default: 5) |\n| `--tree` | Display nested structure (show/search) |\n| `--keys-only` | Search only in keys |\n| `--values-only` | Search only in values |\n| `--file \u003cpath\u003e` | Target specific file |\n| `--all` | Show all matches, not just first |\n\n## Tips\n\n- Use `cfg` in your project root for best results\n- Create `configrep.json` to save your preferred settings\n- Pipe output to other tools: `cfg search \"api\" | grep prod`\n- Use `--tree` flag for better visualization of nested configs\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattcookio%2Fconfigrep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattcookio%2Fconfigrep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattcookio%2Fconfigrep/lists"}