Uncle Bob just released a pretty cool tool for visualizing software architecture: uml-viewer 🔥
I pointed it at my Uptimepage repo.
and yeah... the dependency graph was a mess 😂
6 commits and 315 files later:
- dependency violations: 167 → 109
- circular dependencies: 35 → 3
- modules importing api: 17 → 4
- app rs: 1087 → 642 lines
32 dependency cycles eliminated.
domain, storage, security, and config no longer depend on API handlers.
no behavior changes.
the best part? I could actually see where the architecture was broken, tell the agent what to fix, and check the result in the graph.
way better than asking AI to "refactor the codebase" and hoping for the best.