whatisgithub

What is archlens?

yucheng1554439/archlens — explained in plain English

Analysis updated 2026-05-18

41TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A VS Code extension that scans your codebase locally and turns it into dependency graphs, architecture diagrams, and an AI chat you can ask about your project.

Mindmap

mindmap
  root((ArchLens))
    What it does
      Local codebase analysis
      Dependency graphs
      Architecture diagrams
      AI chat about your code
    Tech stack
      TypeScript
      React and D3.js
      Mermaid diagrams
    Use cases
      Understand unfamiliar codebases
      Detect technical debt
      Generate database ER diagrams
    Audience
      Developers
      Codebase reviewers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate an interactive dependency graph to see how a codebase's files connect.

USE CASE 2

Ask AI chat questions about an unfamiliar repository grounded in its actual code structure.

USE CASE 3

Detect technical debt like circular dependencies, oversized files, and code hotspots before they cause problems.

USE CASE 4

Auto-generate database ER diagrams from Prisma, TypeORM, Sequelize, or Mongoose schemas.

What is it built with?

TypeScriptReactD3.jsMermaidNode.jsVS Code API

How does it compare?

yucheng1554439/archlensabishek-kk/railmind-aijavlonbek1233/-brainboost
Stars414140
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardmoderate
Complexity3/55/52/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 18+, VS Code 1.85+, and an API key from OpenAI, Claude, or Gemini to use the AI chat and review features.

Use freely for any purpose, including commercial use, as long as you keep the copyright and license notice.

So what is it?

ArchLens is an extension for VS Code, the popular code editor, that reads through a software project and turns what it finds into visual maps and diagrams. It works entirely on your computer without sending your source code to any outside service. The goal is to give developers, and anyone else trying to understand a codebase, a clear picture of how the pieces fit together. When you run an analysis, ArchLens scans your files and produces several outputs. It draws an interactive dependency graph, which is a map showing how different parts of the code connect and rely on each other. It also detects which architectural pattern the project follows, such as whether it uses a layered structure or a microservices approach, and generates diagrams for those patterns. If the project includes a database, the extension can read the database model definitions and produce an entity-relationship diagram showing tables and how they relate. One of the more distinctive features is an AI chat mode. Once the analysis is done, you can ask plain-language questions about the codebase and the extension retrieves relevant code from its internal knowledge graph to ground the answer. It shows which files were referenced and gives a confidence score for each response. This chat can be powered by OpenAI, Claude, or Gemini, whichever you configure with an API key. ArchLens also surfaces technical debt, which refers to structural problems that slow down future development. It flags oversized files, circular dependencies where two parts of the code each depend on the other, and hotspot files that change frequently and may be fragile. A built-in review feature can produce a structured summary of strengths and weaknesses for the overall architecture. The extension currently supports TypeScript, JavaScript, and Go projects, and recognizes common frameworks like NestJS, Express, and Next.js, as well as database tools like Prisma and TypeORM.

Copy-paste prompts

Prompt 1
Walk me through installing the ArchLens VS Code extension and running my first analysis.
Prompt 2
Explain what ArchLens's technical debt report means, including circular dependencies and hotspot files.
Prompt 3
Show me how to configure ArchLens's AI architecture chat with an OpenAI, Claude, or Gemini API key.
Prompt 4
Help me interpret an ArchLens dependency graph for a TypeScript project.

Frequently asked questions

What is archlens?

A VS Code extension that scans your codebase locally and turns it into dependency graphs, architecture diagrams, and an AI chat you can ask about your project.

What language is archlens written in?

Mainly TypeScript. The stack also includes TypeScript, React, D3.js.

What license does archlens use?

Use freely for any purpose, including commercial use, as long as you keep the copyright and license notice.

How hard is archlens to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is archlens for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.