🕳️ Rephole
RAG-powered code search via simple REST API
Welcome to the official Rephole documentation. This guide will help you get started with Rephole and integrate intelligent code search into your applications.
Our Sponsor
Artiforge is proud to sponsor the development of Rephole.
What is Rephole?
Rephole is an open-source REST API that ingests your codebase and creates a specialized RAG (Retrieval-Augmented Generation) system for intelligent code search and retrieval.
Unlike traditional code search tools, Rephole understands semantic relationships in your code, enabling you to:
- 🔍 Search code by intent, not just keywords
- 💬 Ask natural language questions about your codebase
- 🔗 Integrate AI coding assistants into your own products
Key Features
| Feature | Description |
|---|---|
| 🚀 Simple REST API | Integrate in minutes with any tech stack |
| 📦 Multi-Repository Support | Index and query across multiple codebases |
| 🎨 OpenAI Embeddings | Powered by text-embedding-3-small model |
| 💾 Local Vector Database | ChromaDB for fast semantic search |
| 🐳 One-Click Deployment | Docker Compose setup in under 5 minutes |
| 🔒 Self-Hostable | Keep your code private with on-premise deployment |
| ⚡ Parent-Child Retrieval | Smart chunking returns full file context |
| 🏷️ Metadata Filtering | Tag repositories with custom metadata and filter searches |
| 🌐 37 Languages Supported | TypeScript, Python, Go, Rust, and many more |
Quick Navigation
- 🚀 Quick Start - Get Rephole running in 5 minutes
- 📡 API Reference - Complete REST API documentation
- 🏗️ Architecture - Understand how Rephole works
- 🌐 Supported Languages - Full list of 37 supported languages
- ⚙️ Configuration - Environment variables and settings
- 🐳 Deployment - Development and production guides
Getting Help
- 📖 Browse the documentation using the sidebar
- 🐛 Report issues on GitHub
- 💬 Join our community discussions