GitHub - BHARGAV-RUE/Mapify: Transform your codebase into a clean, semantic architecture map.
Transform your codebase into a clean, semantic architecture map.
Mapify is a powerful VS Code extension that converts complex project structures into readable, architecture-aware project maps with intelligent semantic labels.
Instead of showing only raw folders and files, Mapify understands common software architecture patterns and explains the purpose of directories inside your codebase.
Perfect for:
- ๐ค AI prompts
- ๐ Documentation
- ๐๏ธ Architecture understanding
- ๐ฅ Team onboarding
- ๐ Developer productivity
- ๐ณ Codebase exploration
โจ Features
๐ง Semantic Codebase Understanding
Mapify doesn't just print folders.
It recognizes architectural patterns like:
controllers/ โ request handlers services/ โ business logic components/ โ UI components hooks/ โ React hooks repositories/ โ data access auth/ โ authentication
It transforms raw filesystem structures into understandable software architecture.
๐ณ Beautiful ASCII Tree Generation
Generate clean project maps instantly.
Example:
my-app/ [next.js app] โโโ app/ โ pages / views โโโ components/ โ UI components โโโ hooks/ โ React hooks โโโ lib/ โ utilities โโโ services/ โ business logic โโโ prisma/ โ ORM layer โโโ public/ โ static assets โโโ styles/ โ styles โโโ package.json โโโ tsconfig.json 8 directories, 12 files Project type: next.js app
โก AI-Friendly Context Export
Mapify is designed for the AI era.
Instantly generate structured codebase context for tools like:
- ChatGPT
- Claude
- GitHub Copilot
- Cursor
- Windsurf
Instead of manually explaining your project architecture, Mapify generates a clean project overview automatically.
๐งฉ Project Type Detection
Mapify intelligently detects technologies based on known project files.
| File Detected | Project Type |
|---|---|
package.json |
Node project |
pom.xml |
Java / Maven |
requirements.txt |
Python project |
go.mod |
Go module |
schema.prisma |
Prisma ORM |
next.config.js |
Next.js app |
docker-compose.yml |
Docker services |
main.tf |
Terraform |
manage.py |
Django app |
And many more.
๐ Explorer Integration
Generate maps directly from the VS Code Explorer.
Right-click any folder:
Mapify: Generate Map from Here
Or use:
Ctrl + Shift + P โ Mapify: Generate Project Map
๐ฆ Installation
From VS Code Marketplace
Search for:
Or install directly from the marketplace.
๐ ๏ธ Usage
Generate Full Workspace Map
- Open your project in VS Code
- Open Command Palette:
- Run:
Mapify: Generate Project Map
Generate Map From Specific Folder
- Open Explorer
- Right-click any folder
- Select:
Mapify: Generate Map from Here
โ๏ธ Extension Settings
Mapify provides several configurable options.
mapify.maxDepth
Controls maximum folder depth displayed.
mapify.showSemanticLabels
Enable or disable semantic folder labels.
"mapify.showSemanticLabels": true
mapify.copyToClipboard
Automatically copy generated map to clipboard.
"mapify.copyToClipboard": true
๐ง Semantic Label System
Mapify recognizes many common architectural conventions.
Frontend
| Folder | Meaning |
|---|---|
components |
UI components |
hooks |
React hooks |
pages |
Pages / views |
styles |
Styling |
assets |
Static assets |
Backend
| Folder | Meaning |
|---|---|
controllers |
Request handlers |
services |
Business logic |
repositories |
Data access |
middleware |
Middleware |
graphql |
GraphQL layer |
Database
| Folder | Meaning |
|---|---|
migrations |
DB migrations |
seeds |
Seed data |
prisma |
ORM layer |
Infrastructure
| Folder | Meaning |
|---|---|
docker |
Containers |
infra |
Infrastructure |
deploy |
Deployment |
config |
Configuration |
๐ซ Smart Ignore System
Mapify automatically ignores unnecessary folders and generated artifacts.
Examples:
node_modules .git dist build coverage .cache .next target venv
This keeps output clean and focused.
๐ก Why Mapify?
Modern codebases are huge.
Understanding architecture quickly has become difficult.
Mapify helps developers:
- understand unfamiliar projects,
- visualize structure,
- explain architecture,
- generate AI context,
- improve onboarding,
- create documentation faster.
Instead of reading hundreds of folders manually, Mapify gives you a clean architectural overview instantly.
๐ฅ Example Use Cases
๐ค AI Prompting
Paste generated project maps into AI tools for better coding assistance.
๐ฅ Team Onboarding
Help new developers understand project architecture quickly.
๐ Open Source Projects
Improve contributor experience by exposing project structure clearly.
๐ Documentation
Generate architecture trees for README files and docs.
๐ข Large Monorepos
Understand complex repositories faster.
๐๏ธ Architecture
Mapify is built around three core systems:
extension.js โ VS Code integration tree.js โ recursive tree generation semantics.js โ semantic architecture understanding
๐ Roadmap
Planned future features:
- AI architecture summaries
- Dependency analysis
- Visual graph mode
- Token-aware AI export
- Interactive tree viewer
- Smart importance ranking
- Monorepo understanding
- Architecture diagrams
- Markdown export
- JSON export
- AI context compression
๐งช Local Development
Clone Repository
git clone https://github.com/BHARGAV-RUE/Mapify.git
cd MapifyInstall Dependencies
Run Extension
Press:
This launches the VS Code Extension Development Host.
๐ Example Output
backend/ [java / maven] โโโ controllers/ โ request handlers โโโ services/ โ business logic โโโ repositories/ โ data access โโโ auth/ โ auth โโโ config/ โ config โโโ migrations/ โ DB migrations โโโ pom.xml โโโ application.yml 6 directories, 8 files Project type: java / maven
๐ค Contributing
Contributions, ideas, and feedback are welcome.
Feel free to:
- open issues,
- suggest features,
- improve semantic detection,
- add new architecture patterns,
- optimize performance.
๐ License
MIT License
โญ Support
If you like Mapify:
- โญ Star the repository
- ๐ Share it with developers
- ๐ง Use it in your workflow
- ๐ค Contribute new ideas
๐งญ Mapify
Understand your codebase at a glance.