Skip to main content
🕳️

Rephole

RAG-powered code search via simple REST API.
Search by intent, not just keywords.

# Search your codebase with natural language
curl -X POST http://localhost:3000/queries/search/my-repo \ -H "Content-Type: application/json" \ -d '{"prompt": "How does authentication work?", "k": 5}'

Why Rephole?

Everything you need for intelligent code search, nothing you don't.

🚀

Simple REST API

Integrate intelligent code search in minutes with any tech stack. Clean endpoints, JSON responses, zero complexity.

📦

Multi-Repository Support

Index and query across multiple codebases simultaneously. Perfect for microservices and monorepos.

🎨

OpenAI Embeddings

Powered by text-embedding-3-small for state-of-the-art semantic understanding of your code.

💾

ChromaDB Vector Store

Fast, local vector database for lightning-quick similarity search. No external dependencies.

🏷️

Metadata Filtering

Tag repositories with custom metadata (team, environment, project) and filter searches precisely.

⚡

Parent-Child Retrieval

Smart chunking searches small segments but returns full file context for complete understanding.

How It Works

Ingestion Pipeline

📁 Repository
→
🔍 Parse
→
✂️ Chunk
→
🧠 Embed
→
💾 Store
───────────────

Query Flow

❓ Question
→
🧠 Embed
→
🔎 Search
→
📄 Retrieve
→
✨ Results

Ready to search smarter?

Get Rephole running in under 5 minutes with Docker Compose.