Discover and explore top open-source AI tools and projects—updated daily.
JordanCoinLLM architectural context provider
Top 91.2% on SourcePulse
Summary
codemap acts as a "project brain" for AI, providing LLMs with instant architectural context to minimize token consumption. It targets developers and AI practitioners needing efficient code understanding, refactoring, and documentation by offering a token-efficient representation of project structure and dependencies.
How It Works
The tool analyzes project directories to generate structured AI-ready context. Key features include a project file tree, code change visualization (--diff), inter-file dependency mapping (--deps), and a unique "skyline" visualization. Dependency analysis leverages ast-grep across 18 languages. This approach pre-processes codebases into digestible formats, enabling LLMs to grasp architectural nuances efficiently without processing raw source files, thus optimizing token usage.
Quick Start & Requirements
Install via package managers: brew install codemap (macOS/Linux) or scoop install codemap (Windows). Alternatives include go install or building from source. For --deps mode, ast-grep must be installed separately (brew install ast-grep).
Highlighted Details
Maintenance & Community Core features like diff, skyline, depth limiting, filtering, Claude hooks, and MCP server are implemented. "Enhanced analysis (entry points, key types)" remains a future development goal. Contributions follow standard fork/branch/PR workflow.
Licensing & Compatibility Released under the MIT License, permitting broad use, including commercial applications and integration into closed-source projects, with minimal restrictions.
Limitations & Caveats The roadmap indicates "Enhanced analysis (entry points, key types)" is pending, suggesting current capabilities for deep code insights like identifying specific entry points or key types may be less comprehensive.
1 week ago
Inactive
yetone