About this project
github-code-search is an interactive terminal-based CLI tool that lets you search GitHub code across an entire organization in one command. It aggregates results per repository, supports keyboard and mouse navigation, and allows fine-grained selection of code extracts. Output can be generated as Markdown or JSON, and sessions can be replayed via a one-liner command for CI use.
Key features include:
- Org-wide search with automatic pagination up to 1,000 results
- Per-repository grouping with fold/unfold
- Keyboard- and mouse-driven TUI with file path filtering
- Fine-grained extract selection with exclusion recording
- Markdown and JSON output with matched text, line, and column details
- Team-prefix grouping (e.g., platform/, data/)
- Regex search using /pattern/flags syntax
- Syntax highlighting for multiple languages
Use cases include auditing dependencies, hunting TODOs, verifying breaking-change rollouts, security sweeps, onboarding, and skipping template repositories. The tool is designed as a more interactive and structured alternative to `gh search code`.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.