How avazbek22/devprojex works
DevProjex is a local-first codebase context and project-copy tool offered through a desktop GUI, terminal CLI/TUI, and MCP server. The primary workflow is to inspect a project, choose files and filters, preview the transformed content, then copy or export it. The graph preserves documented Git, redaction, compression, ranking, and export capabilities. Most internal links are documented at product-workflow level; unsampled implementation details are not asserted.
Main entry points: MainWindow.axaml.cs Desktop app · TerminalApplication.cs CLI and TUI · SelectionRefreshEngine.cs Selection refresh · BuildTreeUseCase.cs Tree inventory
Components 21
User Interfaces
- Desktop app
Apps/Avalonia/MainWindow.axaml.cs - CLI and TUI
Apps/Terminal/CommandLine/TerminalApplication.cs - MCP server
Apps/Mcp/McpServerHost.cs
Project Selection
- Tree inventory
Application/UseCases/BuildTreeUseCase.cs - Selection refresh
Application/Selection/SelectionRefreshEngine.cs - Git scopes
Application/Context/GitScopeSelection.cs - Ignore rules
Application/Services/IgnoreRulesService.cs
Content Processing
- Context generation
Application/Context/ProjectContextDocumentService.cs - Content transforms
Application/Compression/ContentTransformationContext.cs - Code compression
Application/Compression/CodeCompressionSession.cs
Preview and Export
- Preview document
Application/Preview/IPreviewTextDocument.cs - Preview builder
Application/Services/PreviewDocumentBuilder.cs - Virtualized preview
Apps/Avalonia/Controls/VirtualizedPreviewTextControl.cs - Tree export
Application/Services/TreeExportService.cs - Output metrics
Application/Services/ExportOutputMetricsCalculator.cs - Project copy export
Application/Services/ProjectCopyExportService.cs
Analysis and Integrations
- Dependency facts
Application/Dependencies/DependencyFactsEngine.cs - Focus ranking
Application/Ranking/FocusRankingEngine.cs - Project presentation
Application/Presentation/ProjectPresentationCatalog.cs - Git operations
Infrastructure/Git/GitWorktreeManager.cs
Other components
- Project user
Connections 23
- Project user → Desktop app: opens project
README.md - Project user → CLI and TUI: runs workflow
README.md - Project user → MCP server: requests inspection
README.md - Desktop app → Tree inventory: loads project
- CLI and TUI → Tree inventory: builds tree
- Tree inventory → Selection refresh: offers choices
- Selection refresh → Git scopes: applies Git scope
README.md - Selection refresh → Ignore rules: applies ignore rules
README.md - Selection refresh → Context generation: selects content
README.md - Context generation → Content transforms: transforms content
Application/Context/ProjectContextDocumentService.cs - Content transforms → Code compression: compresses code
README.md - Desktop app → Preview builder: builds preview
- CLI and TUI → Preview builder: builds preview
- Preview builder → Preview document: creates document
- Preview document → Virtualized preview: renders preview
Apps/Avalonia/Controls/VirtualizedPreviewTextControl.cs - Desktop app → Tree export: exports formats
README.md - CLI and TUI → Tree export: exports formats
- Desktop app → Project copy export: exports project copy
README.md - CLI and TUI → Project copy export: exports project copy
README.md - Tree export → Output metrics: measures output
Application/Services/TreeExportService.cs - MCP server → Context generation: serves project context
README.md - Git operations → Desktop app: supports Git workflow
README.md - Dependency facts → Focus ranking: informs focus