Understand any codebase in seconds, not weeks.
RepoMind is an AI-powered repository exploration tool that loads entire codebases into Claude Opus 4.6's 1M token context window. Ask questions, get architecture diagrams, and truly understand any codebase instantly.
- 1M Token Context — Entire codebases loaded at once, not fragmented chunks
- Adaptive Thinking — Claude Opus 4.6's extended thinking for deep reasoning
- Interactive Architecture Diagrams — Auto-generated diagrams showing module dependencies
- Streaming Responses — Watch reasoning happen in real-time with specific file:line references
- Multi-Viewport Ready — Responsive design works on desktop, tablet, and mobile
Coming soon! The live demo will be available once deployed to Cloudflare Pages.
- Node.js 18+ or 20.x
- Anthropic API key (Get one here)
# Clone the repository
git clone https://github.com/X-Arc-ai/repomind.git
cd repomind
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.local
# Edit .env.local and add your ANTHROPIC_API_KEYnpm run devOpen http://localhost:3000 to see the app.
npm run build
npm start-
Load a Repository
- Paste any public GitHub URL, or
- Use quick-start buttons (Express, React, Next.js)
-
Ask Questions
- "How does routing work?"
- "Find security issues"
- "Explain the architecture"
-
Generate Diagrams
- Click "Generate" in the Architecture tab
- Optionally specify a focus area (e.g., "routing system")
-
Build Settings:
- Build command:
npm run build - Output directory:
.next - Framework: Next.js
- Build command:
-
Environment Variables:
ANTHROPIC_API_KEY— Your Claude API keyNODE_VERSION—20(optional)
RepoMind is a standard Next.js 16 app and can be deployed to any platform that supports Next.js:
- Vercel
- Netlify
- AWS Amplify
- Railway
- Self-hosted with Docker
- Framework: Next.js 16 (App Router)
- UI: React 19, Tailwind CSS, shadcn/ui
- AI: Claude Opus 4.6 via Anthropic API
- Diagrams: React Flow
- Markdown: react-markdown with syntax highlighting
RepoMind uses Claude Opus 4.6's 1M context window to load entire repositories:
- Repository Ingestion — Clones the repo and loads all source files
- Context Assembly — Builds a structured context document with file contents
- Session Management — Maintains conversation state with full repo context
- Streaming Responses — Uses Server-Sent Events for real-time output
- Diagram Generation — Analyzes codebase structure and generates interactive visualizations
This project was built for the Cerebral Valley Hackathon 2026. Contributions are welcome!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License - see LICENSE for details.
- Built with Claude Code
- Powered by Claude Opus 4.6
- Created for Cerebral Valley Hackathon 2026
Made with ❤️ by X-Arc AI