git404hub

what is codemap fr?

kirito-chen/codemap — explained in plain English

Analysis updated 2026-05-18

26PythonAudience · developerComplexity · 2/5Setup · easy

tl;dr

A command-line tool that turns a Python codebase into interactive dependency graphs, call trees, and complexity heatmaps.

vibe map

mindmap
  root((CodeMap))
    What it does
      Dependency graphs
      Call trees
      Complexity heatmaps
    Tech stack
      Python
      Mermaid
    Use cases
      Visualize imports
      Trace function calls
      Spot complex files
    Audience
      Python developers

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 make with this?

VIBE 1

Generate a dependency graph showing how files in a Python project import each other.

VIBE 2

Explore an interactive call tree starting from any function in your codebase.

VIBE 3

Export a function call chain as a Mermaid diagram for your documentation.

VIBE 4

Spot the most complex or longest files in a project with a color-coded heatmap.

what's the stack?

PythonMermaidHTML

how it stacks up fr

kirito-chen/codemapaevella/sky-pc-mcp-companionalicankiraz1/gemma-4-31b-mtp-vllm-server
Stars262626
LanguagePythonPythonPython
Setup difficultyeasymoderatehard
Complexity2/53/54/5
Audiencedevelopervibe coderops devops

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

how do i run it?

Difficulty · easy time til it works · 5min
The README does not state a license.

in plain english

CodeMap is a Python tool that generates visual diagrams from a Python codebase. You point it at a folder of Python files and it produces interactive charts you can open in a web browser, without needing to configure anything first. It creates four types of visuals. A dependency graph shows which files or modules in a project import from which other files, making it easier to see how the pieces connect. A call tree shows an interactive mind-map of how functions call other functions, starting from a function you name. A call graph traces a chain of function calls from one entry point and can export that chain in a format called Mermaid, which embeds directly into Markdown documents. A heatmap colors the codebase by complexity or line count, letting you see at a glance which files are the most tangled or the longest. The tool runs from a command line. You type a short command, point it at your project directory or a specific file, and it writes an HTML file you can open in any browser. There is also a Python API for developers who want to call these functions from inside their own scripts rather than from the terminal. The complexity measurement uses a standard metric called cyclomatic complexity, which counts the number of independent paths through a piece of code. Higher numbers generally mean harder-to-read code. The line-count metric ignores blank lines and comments. A third metric for commit history is listed in the project structure but noted as not yet implemented. Installation requires cloning the repository and running a standard Python package install command. The project is designed to be extended to other programming languages in the future, though only Python is supported in this version.

prompts (copy fr)

prompt 1
Run CodeMap on my project and generate a dependency graph as HTML.
prompt 2
Show me how to generate a call tree starting from a specific function with CodeMap.
prompt 3
Use CodeMap's Python API to build a heatmap of my codebase's complexity.
prompt 4
Export a Mermaid call graph for this function using CodeMap.

Frequently asked questions

what is codemap fr?

A command-line tool that turns a Python codebase into interactive dependency graphs, call trees, and complexity heatmaps.

What language is codemap written in?

Mainly Python. The stack also includes Python, Mermaid, HTML.

What license does codemap use?

The README does not state a license.

How hard is codemap to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is codemap for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.