Architecture of tt-a1i/archify
tt-a1i/archify is 1,430 source files holding 9,727 symbols across 12 modules, written mainly in JavaScript, TypeScript, Astro. The largest module is archify, with 364 files, and 20 files are entry points into the dependency graph.
How archify fits together
The agent writes a JSON description of a diagram from a developer's request or from code it reads, and that description is the input to the rest of the pipeline. The archify/bin/archify.mjs entry point publishes a finished diagram file, checks it in Chrome, and compares two architecture snapshots. archify/renderers/architecture/render-architecture.mjs is listed as a hotspot file and renders architecture diagrams into HTML. archify/explainer takes an authored draft, validates it, prepares its native diagrams and renders a self-contained explainer page. archify/modules/code-analysis/extract/rust/src/main.rs is one of the code-analysis entry points that extract structure from source code. The viewer directory holds the browser code that lets readers export a diagram, follow routes and move between linked diagrams, while the website directory is an Astro site that renders the public pages into static HTML.
Largest modules
- archify: 364 files and 135,053 lines of code
- test: 334 files and 99,667 lines of code
- website: 95 files and 6,809 lines of code
- benchmarks: 56 files and 3,310 lines of code
- scripts: 28 files and 5,113 lines of code
- integrations: 18 files and 2,175 lines of code
- viewer: 15 files and 10,059 lines of code
- tools: 6 files and 498 lines of code
Languages
By file count: JavaScript 818 files, TypeScript 36 files, Astro 32 files, Rust 27 files, Python 9 files, Java 3 files.
Documentation
Repowise documents archify in 607 pages generated from the source, 26 of them written explanations of the repository and its modules. Module guides include:
- archify: Archify
- archify/renderers/architecture: Architecture Diagram Placement and Layout
- archify/bin: Architecture Run Orchestration
More on archify: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos