A comprehensive tool for analyzing code repositories, generating executive summaries and technical breakdowns.
- Repository analysis with executive summaries and technical breakdowns
- Multiple LLM provider support (Claude, Gemini, OpenRouter)
- Batch processing for multiple repositories
- Repository indexing and search capabilities
- Modern React web interface
- Command-line interface for automation
- Multiple export formats (JSON, Markdown, HTML)
This is a monorepo containing the following packages:
packages/backend
— Bun/Express REST API serverpackages/frontend
— React web applicationpackages/cli
— Command-line interfacepackages/shared
— Shared types and utilities
- Bun 1.0+ (recommended) or Node.js 18+
- Bun installation: https://bun.sh/docs/installation
- Clone the repository
- Install dependencies:
bun install
- Build all packages:
bun run build
Start all development servers:
bun run dev
Or start individual packages:
# Backend
bun run dev:backend
# Frontend
bun run dev:frontend
# CLI
bun run dev:cli
Open your browser and navigate to http://localhost:3001
# Analyze a repository
bunx repo-analyzer analyze /path/to/repository
# Batch analyze multiple repositories
bunx repo-analyzer batch /path/to/repositories
# Search indexed repositories
bunx repo-analyzer search "query"
- User Guide: docs/USER_GUIDE.md
- Release Notes: docs/RELEASE_NOTES.md
- Deployment Guide (canonical): docs/DEPLOYMENT.md
- Deployment Overview: README-DEPLOYMENT.md
- Production Checklist: docs/PRODUCTION_CHECKLIST.md
- Security Policy (canonical): docs/SECURITY.md
Modern tooling for improved developer experience.
- Linting & formatting: Biome
- Type checking: TypeScript with native Bun execution
- Testing: Bun’s built-in test runner
# Development
bun run dev # Start all development servers
bun run dev:backend # Start backend only
bun run dev:frontend # Start frontend only
# Building
bun run build # Build all packages
bun run build:prod # Production build
# Testing
bun test # Run all tests
bun run test:all # Run tests for all packages
# Code Quality
bun run lint # Lint all files
bun run format # Format all files
bun run check # Run both linting and formatting
# Deployment
bun run docker:build # Build Docker images
bun run docker:up # Start with Docker Compose
bun run deploy:prod # Full production deployment
All configuration files are now in TypeScript for better type safety:
bunfig.toml
— Bun runtime configurationbiome.json
— Linting and formatting rulespackages/*/tsconfig.json
— TypeScript configurationspackages/frontend/tailwind.config.ts
— Tailwind CSS configpackages/frontend/postcss.config.ts
— PostCSS config
- Root package version: 1.0.0
- Package versions: @unified-repo-analyzer/{backend,frontend,cli,shared} at 0.1.0
MIT