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 overviewINSTALLATION.md— Setup and installation guideARCHITECTURE.md— System architecture with Mermaid diagramsCHANGELOG.md— Formatted changelog from git historyapi/*.md— Per-module API reference docsmkdocs.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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4a20961a5b70efefbfac2bd3ad65757c3ebf0c67cf47abb2cd26b0114f47d23
|
|
| MD5 |
c681e53c3308750eb5bb9627f1cad2ae
|
|
| BLAKE2b-256 |
cfdf0a433689cc87ef31e9535138e4ae5d4f810d0bc55713cf0f3cf9dcbd107f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee031be5eabe5b3260ba3a49172cab8cd37f940e96d0a8dcd3878e796ec15c1
|
|
| MD5 |
ed75df4b62c528bc47411c96ee8b2173
|
|
| BLAKE2b-256 |
6f2468884e267569dfc55dc2aabd00121ad8d0946fa0179ab8f6fde2f12e7d65
|