Skip to main content

CLI tool that generates optimized markdown docs and streamline Git workflows

Project description

CodeMap

PyPI Python Version Tests Lint CodeQL codecov Codacy Badge pre-commit Interrogate License

[!Caution] CodeMap is currently in active development. Use with caution and expect breaking changes.

Overview

CodeMap is an AI-powered developer toolkit designed to enhance your coding workflow. It offers features for code analysis, documentation generation, and Git process streamlining, all accessible through an interactive CLI with multi-LLM support.

[!Important] For detailed information on all features and commands, please visit our documentation site: codemap.run

Features

  • 🎯 Token-optimized documentation generation
  • 📝 Rich markdown output with code structure
  • 🌳 Repository structure visualization
  • 🔄 Smart Git commit assistance with AI-generated messages
  • 🔃 AI-powered PR creation and management
  • 💬 Ask questions about your codebase using RAG
  • 🔍 Index and search your repository for semantic understanding

Installation

[!Important] CodeMap currently only supports Unix-based platforms (macOS, Linux). Windows users should use WSL.

[!Tip] After installation, use codemap or the alias cm.

[!Note] Ensure uv is installed: curl -LsSf https://astral.sh/uv/install.sh | sh To learn more aboyt uv Click here

Global Installation

# Stable version:
uv tool install codemap
# Development Version:
uv tool install codemap --prerelease allow

Updating

uv tool upgrade codemap

Uninstalling

uv tool uninstall codemap

For more detailed installation options and troubleshooting, see the Installation Guide on our documentation site.

Configuration

CodeMap can be configured using a .codemap.yml file in your project root.

For a full list of configuration options and examples, refer to the Configuration Guide on our documentation site.

Development Setup

Interested in contributing? Please read our Code of Conduct and Contributing Guidelines.

  1. Clone: git clone https://github.com/SarthakMishra/codemap.git && cd codemap
  2. Prerequisites: Install Task, uv, and Python 3.12+.
  3. Setup Env: uv venv && source .venv/bin/activate (or appropriate activation command for your shell)
  4. Install Deps: uv sync --dev
  5. Verify: task -l lists available tasks. task ci runs checks and tests.

Detailed contribution instructions are in the Contributing Guide.

Acknowledgments

CodeMap relies on these excellent open-source libraries and models:

Models

  • Code Embeddings: Leverages models like Qodo/Qodo-Embed-1-1.5B.
  • LLM Support: Compatible with OpenAI, Anthropic, Groq, Mistral, Cohere, Together AI, OpenRouter via LiteLLM.

Special Thanks

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap-0.3.0rc3.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap-0.3.0rc3-py3-none-any.whl (235.6 kB view details)

Uploaded Python 3

File details

Details for the file codemap-0.3.0rc3.tar.gz.

File metadata

  • Download URL: codemap-0.3.0rc3.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.3

File hashes

Hashes for codemap-0.3.0rc3.tar.gz
Algorithm Hash digest
SHA256 cddbc61e21ec54a2d54b7d607a8b5e9bbb87287e7a968457d7b728050ddaf71b
MD5 56c18dcbcbd66a2d30d98d870e763ea4
BLAKE2b-256 1316f906c657ecea702c787ffa0821703d6e2c52eba5419d763310e5e58c1c3a

See more details on using hashes here.

File details

Details for the file codemap-0.3.0rc3-py3-none-any.whl.

File metadata

  • Download URL: codemap-0.3.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 235.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.3

File hashes

Hashes for codemap-0.3.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 50e78146c4a70eebe7205292bd46268309ebb5e2b75e32309565d7c9930713b4
MD5 4d650eb7c8ef4bcaa460748548abba8f
BLAKE2b-256 239b5d3998ea2fa7361f3021320c333bea3bc76c4e6033aa2542e62b3b3708d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page