Skip to main content

Crate morpharch

Crate morpharch 

Source
Expand description

§MorphArch

Monorepo architecture drift visualizer with animated TUI.

MorphArch scans Git history, builds per-commit dependency graphs using tree-sitter AST parsing, calculates architecture drift scores, and renders the results as an animated force-directed graph in your terminal.

§Supported Languages

  • Rustuse / extern crate statements
  • TypeScriptimport ... from statements
  • Pythonimport / from ... import statements
  • Goimport declarations

Modules§

cli
commands
config
Configuration management for MorphArch.
db
SQLite persistence layer for MorphArch.
git_scanner
Git repository scanner using gitoxide (gix).
graph_builder
Dependency graph construction with petgraph.
models
Core data models for MorphArch.
parser
Tree-sitter based import and dependency extractor.
scoring
Absolute Architecture Health scoring engine.
tui
utils
Utility functions for logging and error display.