repomind  by 403errors

AI-powered chat for GitHub repositories

Created 6 months ago
252 stars

Top 99.6% on SourcePulse

GitHubView on GitHub
Project Summary

RepoMind is an open-source, AI-powered platform designed to facilitate deep understanding of public GitHub repositories and developer profiles. It leverages Agentic Context-Augmented Generation (CAG) to provide code analysis, visual architecture maps, and security audits directly through a chat interface, eliminating the need for local setup for public repositories. This tool is beneficial for developers, researchers, and power users seeking rapid insights into codebases and project structures.

How It Works

RepoMind employs an Agentic Context-Augmented Generation (CAG) architecture, which goes beyond simple embeddings by actively pruning and loading coherent source code context to answer complex architecture and implementation questions. It uses a dedicated Gemini model (GEMINI_FILE_SELECTOR_MODEL) to intelligently select relevant files (25 for 'Lite' mode, 50 for 'Thinking' mode) before fetching them with a SHA-aware cache reuse strategy. This approach ensures that the AI operates on a more complete and relevant subset of the codebase, leading to more reliable and context-aware analysis. Architecture flowcharts and caching strategies are detailed within the documentation to illustrate the data pipeline and retrieval mechanisms.

Quick Start & Requirements

  • Hosted App: Access directly at repomind.in.
  • Local Setup: Clone the repository, install dependencies (npm install), copy environment variables (cp .env.example .env.local), and run the development server (npm run dev).
  • Prerequisites: Node.js 18+, npm, a GitHub token, and a Gemini API key are required for local execution.
  • Tech Stack: Next.js, React, Gemini, OSV (Open Source Vulnerabilities), Prisma, Vercel KV, Vitest.

Highlighted Details

  • Zero Setup: Instantly chat with any public GitHub repository or developer profile via the hosted application.
  • Context-Aware Analysis: Selects and loads relevant files rather than relying solely on fragmented vector chunks for deeper reasoning.
  • Visual Understanding: Generates architecture maps and flow diagrams to provide quick mental models of project structures.
  • Integrated Security Scanning: Offers quick and deep scans for application and dependency risks, with real-time vulnerability checks via the OSV.dev API and a verification-first reporting pipeline.
  • Live Feedback: Chat interfaces stream backend activity as real-time text status updates, showing processing stages like file selection and answer preparation.
  • Global Search: Features real-time, optimized repository search with auto-complete on the landing page.

Maintenance & Community

The project is actively maintained, with recent updates tracked in CHANGELOG.md up to v1.3.6 (2026-02-23). Contributions are welcomed, with a clear workflow outlined for forking, branching, and submitting pull requests. The codebase is described as contributor-friendly, written in TypeScript with tests.

Licensing & Compatibility

Licensed under the MIT License, RepoMind is permissive and compatible with commercial use and closed-source linking.

Limitations & Caveats

Anonymous users have restricted access, limited to 'Lite' mode, unable to enable cross-repo profile context, and subject to lower daily tool and file-cache write budgets. Both anonymous and logged-in users face usage limits per scope (repo/profile) for tools and file caching, with different tiers for authenticated users. Max cacheable file size is 128KB, with exceptions for files used in consecutive anonymous queries.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
12 stars in the last 30 days

Explore Similar Projects

Starred by John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy) and Didier Lopes Didier Lopes(Founder of OpenBB).

CCPlugins by notlikeDev

0.6%
3k
Claude Code CLI enhancement framework
Created 10 months ago
Updated 7 months ago
Feedback? Help us improve.