Skip to content

sudosubin/grep-app-cli

Repository files navigation

grep-app-cli

version license downloads

CLI for grep.app — search code across 1M+ public GitHub repos with syntax highlighting. Powered by mcp.grep.app.

Quick Start

cargo install grep-app-cli
grep-app-cli 'useState('

Installation

cargo install grep-app-cli

Or download a binary from GitHub Releases.

Usage

grep-app-cli [OPTIONS] <QUERY>
grep-app-cli 'useState('
grep-app-cli --language TypeScript --language TSX 'getServerSession'
grep-app-cli --use-regexp --match-case '(?s)useEffect\(.*cleanup'
grep-app-cli --repo facebook/react 'createContext'
grep-app-cli --json 'async function'

Options

Flag Description
--match-case Case sensitive search
--match-whole-words Match whole words only
--use-regexp Interpret query as a regular expression
--repo <REPO> Filter by repository
--path <PATH> Filter by file path
--language <LANG> Filter by language (repeatable)
--json Output raw JSON

Use with AI Agents

You can add and use the grep-app-cli skill.

npx skills add sudosubin/grep-app-cli

Development

cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-features
cargo build --all-features

License

MIT, see LICENSE.

About

CLI for grep.app — search code across 1M+ public GitHub repos with syntax highlighting

Resources

License

Stars

4 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages