Skip to main content

Automatically generate documentation for any GitHub repository using LLMs

Project description

DocForge

AI-powered documentation generator for any GitHub repository or local project.

Quick Start

pip install docforge

# From GitHub URL
docforge generate https://github.com/user/repo

# From local path
docforge generate ./my-project

# With Ollama (local, free)
docforge generate ./my-project --model ollama/llama3 --api-base http://localhost:11434

What it generates

  • README.md — Comprehensive project overview
  • INSTALLATION.md — Setup and installation guide
  • ARCHITECTURE.md — System architecture with Mermaid diagrams
  • CHANGELOG.md — Formatted changelog from git history
  • api/*.md — Per-module API reference docs
  • mkdocs.yml — Optional MkDocs site config (--mkdocs)
  • .github/workflows/auto-docs.yml — Optional GitHub Action (--github-action)

Supported Languages

Python, JavaScript, TypeScript, Go, Rust, Java

Supported LLM Providers

  • OpenAI (default): --model gpt-4o
  • Anthropic Claude: --model claude-sonnet-4-6
  • Ollama (local): --model ollama/llama3 --api-base http://localhost:11434
  • Any provider supported by LiteLLM

License

MIT

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

docforge_gen-0.1.0.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

docforge_gen-0.1.0-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

Details for the file docforge_gen-0.1.0.tar.gz.

File metadata

  • Download URL: docforge_gen-0.1.0.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for docforge_gen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4a20961a5b70efefbfac2bd3ad65757c3ebf0c67cf47abb2cd26b0114f47d23
MD5 c681e53c3308750eb5bb9627f1cad2ae
BLAKE2b-256 cfdf0a433689cc87ef31e9535138e4ae5d4f810d0bc55713cf0f3cf9dcbd107f

See more details on using hashes here.

File details

Details for the file docforge_gen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: docforge_gen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 41.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for docforge_gen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cee031be5eabe5b3260ba3a49172cab8cd37f940e96d0a8dcd3878e796ec15c1
MD5 ed75df4b62c528bc47411c96ee8b2173
BLAKE2b-256 6f2468884e267569dfc55dc2aabd00121ad8d0946fa0179ab8f6fde2f12e7d65

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