Skip to content

View Project.

02

RepoChat: Codebase Intelligence

RepoChat: Codebase Intelligence

RepoChat (internally branded CodeLens) is a RAG-powered chat interface for any GitHub or Bitbucket codebase. Paste a repo URL, and the system clones it, chunks every source file using tree-sitter-backed semantic splitting, and indexes it into ChromaDB. You can then ask natural language questions — "how does auth work?", "where are the API routes?", "what does this PR change?" — and get streaming answers grounded in the actual code. It runs 100% locally via Ollama or switches to Claude, GPT, Groq, or Gemini per session with no re-indexing required.

Project Gallery

Technologies

Next.jsTypeScriptFastAPIPythonLlamaIndexChromaDBOllamaDockertree-sitter

Key Features

  • Natural language Q&A over any codebase: Ask architecture questions, trace logic flows, and explore unfamiliar repos without reading a single file manually.
  • Fully local or cloud LLM: Toggle between on-device Ollama and Claude / GPT / Groq / Gemini per chat session; private repos never leave your machine in local mode.
  • Codebase intelligence suite: Dependency graph visualiser, AST-based symbol navigator (functions, classes, methods), repo health report (complexity hotspots, TODOs, test coverage estimates).
  • PR & diff analysis: Paste a GitHub PR URL or commit SHA to index the diff and ask targeted review questions.
  • Cross-repo comparison: Select multiple repos and ask comparative questions in a shared chat session.