8000 GitHub - toddpress/code-promptify: Generate architecture-aware README.md files from your codebase using local LLMs like Ollama.
[go: up one dir, main page]

Skip to content

toddpress/code-promptify

Repository files navigation

🦄 CodePromptify

PyPI License: MIT GitHub release CI

Generate architecture-aware README.md files from your codebase using local LLMs like Ollama.


Features

  • [WIP] - Detects tech stack and architecture
  • Recursively scans your codebase (with .promptignore support)
  • Generates Markdown README with Mermaid diagrams
  • Uses Ollama to refine summaries and stack descriptions
  • Run via
    • sweet CLI or
    • beautiful Streamlit GUI
  • (coming soon) Generates promptable summaries of your codebase

Installation

pip install -e .

Usage

CLI Mode (interactive)

codepromptify

GUI Mode (Streamlit)

Launch a web interface to guide you through code-promptify-ing your code.

codepromptify --gui

Advanced

codepromptify --path ./myproject --output docs/README.md

.promptignore

Supports .promptignore like .gitignore.

Example:

node_modules/
*.test.js
build/
.env

Requirements

  • Python 3.9+
  • (Optional) Ollama with local models like llama3, gemma, etc.

License

MIT


About

Generate architecture-aware README.md files from your codebase using local LLMs like Ollama.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0