How paullovescode/repovision works
RepoVision analyzes public or token-authorized private GitHub repositories, builds an evidence-backed architecture graph, and lets users explore files, symbols, source, and potential change impact. The main flow runs from repository submission through fetching and analysis to interactive exploration. Edges reflect shown calls or README-documented API behavior; several UI and analyzer internals are unsampled, so their uncertain wiring is omitted.
Main entry points: Workspace.tsx Analysis workspace · analysis.service.ts Analysis orchestration · api.ts API client · Home.tsx Repository submission
Components 24
Repository exploration
- Repository submission
client/src/pages/Home.tsx - App state
client/src/App.tsx - API client
client/src/services/api.ts - Analysis workspace
client/src/pages/Workspace.tsx - Architecture canvas
client/src/components/graph/ArchitectureCanvas.tsx - File and symbol explorers
client/src/components/explorer - Node inspector
client/src/components/explorer/NodeInspector.tsx - Source viewer
client/src/components/editor/SourceCodeViewer.tsx - Impact panel
client/src/components/explorer/ImpactAnalysisPanel.tsx - Shared UI elements
client/src/components/common
API and analysis
- Graph and API schema
shared/graph.types.ts - Repository routes
server/src/routes/repository.routes.ts - Graph and source routes
server/src/routes/graph.routes.ts - Impact route
server/src/routes/impact.routes.ts - Error middleware
server/src/middleware/errorHandler.ts
Repository ingestion
- GitHub repository fetch
server/src/services/github.service.ts - Repository validation
server/src/utils/validation.ts
Code analysis
- Analysis orchestration
server/src/services/analysis.service.ts - In-memory analysis store
server/src/store/analysisStore.ts - AST and symbol parser
server/src/analyzer/astParser.ts - Architecture graph builder
server/src/analyzer/graphBuilder.ts - Reverse dependency analysis
server/src/algorithms/impactAnalyzer.ts
Other components
- Engineer
- GitHub
Connections 30
- Engineer → Repository submission: submits repository
README.md - Repository submission → API client: requests analysis
client/src/pages/Home.tsx - Repository submission → App state: sets analysis
client/src/App.tsx - App state → Analysis workspace: renders results
client/src/App.tsx - Analysis workspace → API client: requests impact
client/src/pages/Workspace.tsx - Analysis workspace → Architecture canvas: renders graph
client/src/pages/Workspace.tsx - Analysis workspace → File and symbol explorers: renders explorers
client/src/pages/Workspace.tsx - Analysis workspace → Source viewer: renders source
client/src/pages/Workspace.tsx - Analysis workspace → Impact panel: shows impact
client/src/pages/Workspace.tsx - Analysis workspace → Node inspector: shows selection
client/src/pages/Workspace.tsx - Repository submission → Shared UI elements: uses UI elements
client/src/pages/Home.tsx - Repository routes → Analysis orchestration: analyzes repository
server/src/routes/repository.routes.ts - Repository routes → GitHub repository fetch: validates token
server/src/routes/repository.routes.ts - API client → Repository routes: posts analysis
README.md - API client → Graph and source routes: requests graph and source
README.md - API client → Impact route: requests impact
README.md - Analysis orchestration → Repository validation: parses repository input
server/src/services/analysis.service.ts - Analysis orchestration → GitHub repository fetch: fetches repository files
server/src/services/analysis.service.ts - GitHub repository fetch → GitHub: requests tree and files
server/src/services/github.service.ts - GitHub repository fetch → Repository validation: filters supported files
server/src/services/github.service.ts - Analysis orchestration → AST and symbol parser: parses files
server/src/services/analysis.service.ts - Analysis orchestration → Architecture graph builder: builds graph
server/src/services/analysis.service.ts - Analysis orchestration → In-memory analysis store: saves analysis
server/src/services/analysis.service.ts - Graph and source routes → In-memory analysis store: reads and deletes analysis
server/src/routes/graph.routes.ts - Impact route → In-memory analysis store: loads analysis
server/src/routes/impact.routes.ts - Impact route → Reverse dependency analysis: computes impact
server/src/routes/impact.routes.ts - Repository routes → Error middleware: forwards route errors
server/src/routes/repository.routes.ts - Graph and source routes → Error middleware: forwards route errors
server/src/routes/graph.routes.ts - Analysis orchestration → Graph and API schema: uses shared types
server/src/services/analysis.service.ts - API client → Graph and API schema: uses shared types
client/src/services/api.ts