Skip to main content

Grep App — Code Search

Kaji can search for real-world code examples across millions of public GitHub repositories using Grep App. This is useful when you need to see how other developers use a library, pattern, or API in practice.


What Kaji can do

  • Search for code patterns across public GitHub repositories
  • Find real-world usage examples of libraries or APIs
  • Filter by programming language, file path, or repository
  • Find implementation patterns for specific problems

Example prompts

Show me how other projects use the React useEffect hook with async/await cleanup
Find examples of authentication middleware in Express.js
How do real projects handle Kafka consumer error handling in Python?
Find examples of Helm chart templates with custom resource definitions
Search for how developers configure Dask distributed clusters in Python

Tips for developers

  • Grep App searches for literal code patterns, not keyword descriptions
  • Be specific about the code you want to find: function names, method calls, imports
  • Use language filters when the same pattern means different things in different languages
  • This is especially useful for finding best practices in unfamiliar libraries

When to use this

Grep App complements the Context7 documentation search. Use:

  • Context7 for official documentation and API references
  • Grep App for real-world implementation examples in production codebases

Configuration

Grep App is a cloud service that works without additional credentials in standard Kaji sessions.