Convert GitHub README files into structured multi-format documentation artifacts.
Project description
๏ฟฝ OpenDocs
Convert any GitHub README into structured, multi-format documentation โ instantly.
What is OpenDocs?
OpenDocs (by ioteverythin) takes a GitHub repository README and automatically generates beautiful, professional documentation in multiple formats:
| Output | Format | Status |
|---|---|---|
| ๐ Technical Report | .docx (Word) |
โ |
| ๐ Executive Deck | .pptx (PowerPoint) |
โ |
| ๐ PDF Documentation | .pdf |
โ |
| ๏ฟฝ๏ธ Blog Post | .md (SEO-ready) |
โ NEW |
| ๐ซ Jira Tickets | .json (Epic + Stories) |
โ NEW |
| ๐ Changelog / Release Notes | .md |
โ NEW |
| ๐ Academic Paper | .tex (LaTeX / IEEE) |
โ NEW |
| ๐ One-Pager / Datasheet | .pdf (executive) |
โ NEW |
| ๐ฃ Social Cards | .json (OG + posts) |
โ NEW |
| ๏ฟฝ๐ Analysis Report | .md (Markdown) |
โ |
| ๐ Mermaid Diagrams | PNG rendering | โ |
| ๐ง Knowledge Graph | Entity extraction | โ |
| ๐ค LLM Summaries | Stakeholder views | โ |
| ๏ฟฝ๏ธ Architecture Diagrams | .mmd + .png (5 views) |
โ NEW |
| ๏ฟฝ๐จ 7 Themes | corporate, ocean, sunset, dark, minimal, emerald, royal | โ |
Two Modes
- Basic (Deterministic) โ Pure Markdown AST parsing, no LLM required. Fast, free, predictable.
- LLM (AI-Powered) โ Uses OpenAI to extract entities, build knowledge graphs, and generate executive summaries + stakeholder views (CTO, Investor, Developer).
Quick Start
Install from PyPI
pip install opendocs
For LLM features:
pip install opendocs[llm]
Install from source
git clone https://github.com/ioteverythin/OpenDocs.git
cd OpenDocs
pip install -e ".[dev,llm]"
Usage
CLI:
# Generate all formats from a GitHub README
opendocs generate https://github.com/owner/repo
# Generate specific format with a theme
opendocs generate https://github.com/owner/repo --format word --theme ocean
# Generate blog post only
opendocs generate https://github.com/owner/repo --format blog
# Generate Jira tickets from README
opendocs generate ./README.md --local --format jira
# Generate LaTeX academic paper
opendocs generate https://github.com/owner/repo --format latex
# Generate executive one-pager PDF
opendocs generate https://github.com/owner/repo --format onepager
# Generate social media cards & post text
opendocs generate https://github.com/owner/repo --format social
# Generate architecture diagrams (system, tech stack, data flow, deps, deployment)
opendocs generate https://github.com/owner/repo --format architecture
# Generate changelog / release notes
opendocs generate https://github.com/owner/repo --format changelog
# From a local README file
opendocs generate ./README.md --local
# LLM mode with knowledge graph + stakeholder summaries
opendocs generate ./README.md --local --mode llm --api-key sk-...
# Specify output directory
opendocs generate https://github.com/owner/repo -o ./my-docs
# List available themes
opendocs themes
Python API:
from opendocs.pipeline import Pipeline
pipeline = Pipeline()
pipeline.run(
"https://github.com/owner/repo",
theme_name="ocean",
mode="llm",
api_key="sk-...",
)
Format Flags Reference
Use -f / --format to generate only what you need:
| Flag | Output | File |
|---|---|---|
word |
Word document | .docx |
pdf |
PDF document | .pdf |
pptx |
PowerPoint deck | .pptx |
blog |
SEO blog post | .md (with front-matter) |
jira |
Jira tickets (Epic + Stories) | .json |
changelog |
Release notes | .md |
latex |
IEEE-style academic paper | .tex |
onepager |
Executive one-pager | .pdf |
social |
Social cards + post text | .json (OG, Twitter, LinkedIn, Reddit) |
architecture |
Architecture diagrams (5 views) | .mmd + .png + .md report |
all |
Everything above (default) | all formats |
CLI examples:
# Single format
opendocs generate https://github.com/owner/repo -f jira
# Default generates ALL formats
opendocs generate https://github.com/owner/repo
Python API โ pick your formats:
from opendocs.pipeline import Pipeline
from opendocs.core.models import OutputFormat
pipeline = Pipeline()
# Generate only Jira tickets
pipeline.run(
"https://github.com/owner/repo",
formats=[OutputFormat.JIRA],
)
# Generate blog + social cards
pipeline.run(
"https://github.com/owner/repo",
formats=[OutputFormat.BLOG, OutputFormat.SOCIAL],
)
# Classic trio only
pipeline.run(
"https://github.com/owner/repo",
formats=[OutputFormat.WORD, OutputFormat.PDF, OutputFormat.PPTX],
)
# Generate architecture diagrams only
pipeline.run(
"https://github.com/owner/repo",
formats=[OutputFormat.ARCHITECTURE],
)
# All available OutputFormat values:
# OutputFormat.WORD, OutputFormat.PDF, OutputFormat.PPTX,
# OutputFormat.BLOG, OutputFormat.JIRA, OutputFormat.CHANGELOG,
# OutputFormat.LATEX, OutputFormat.ONEPAGER, OutputFormat.SOCIAL,
# OutputFormat.ARCHITECTURE
Features
- 10+ Output Formats โ Word, PDF, PPTX, Blog Post, Jira Tickets, Changelog, LaTeX Paper, One-Pager PDF, Social Cards, Architecture Diagrams
- 7 Built-in Themes โ Corporate, Ocean, Sunset, Dark, Minimal, Emerald, Royal
- Blog Post Generator โ SEO-friendly Markdown with front-matter, TOC, code examples, and CTA
- Jira Ticket Export โ Epic + Stories with acceptance criteria, story points, and labels
- Changelog Generator โ Categorized release notes (Features, Setup, API, DevOps, etc.)
- LaTeX Paper โ IEEE/ACM-style academic paper with abstract, code listings, tables, bibliography
- Executive One-Pager โ Single-page PDF datasheet with stats, features, tech stack, install command
- Social Cards โ OG metadata + ready-to-post text for Twitter, LinkedIn, Reddit, HN, Product Hunt
- Mermaid โ PNG โ Renders mermaid diagrams to images via mermaid.ink API
- Knowledge Graph โ Extracts 10+ entity types (projects, technologies, APIs, metrics, etc.)
- Smart Table Sorting โ 6 strategies (smart, alpha, numeric, column:N, column:N:desc, none)
- LLM Summaries โ Executive summary + CTO / Investor / Developer stakeholder views
- Architecture Diagrams โ 5 auto-generated views: System Architecture (C4-style), Tech Stack Layers, Data Flow, Dependency Tree, Deployment View โ as
.mmdsource + rendered PNG + combined Markdown report
Architecture
GitHub URL / Local .md
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ README Fetch โ โ httpx + GitHub API
โโโโโโโโโโฌโโโโโโโโโ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Markdown Parser โ โ mistune 3.x AST
โโโโโโโโโโฌโโโโโโโโโ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Table Sorting โ โ 6 strategies
โโโโโโโโโโฌโโโโโโโโโ
โผ
โโโโโโโโโโโโโโโโโโโ
โ KG Extraction โ โ Semantic + optional LLM
โโโโโโโโโโฌโโโโโโโโโ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Diagram Renderer โ โ mermaid.ink API
โโโโโโโโโโฌโโโโโโโโโ
โ
โโโโโโผโโโโโฌโโโโโฌโโโโโโโฌโโโโโโโฌโโโโโโโโฌโโโโโโโฌโโโโโโฌโโโโโโโฌโโโโโโโ
โผ โผ โผ โผ โผ โผ โผ โผ โผ โผ
Word PDF PPTX Blog Jira Change LaTeX 1-Pgr Social Arch
log Diag
Development
# Install dev dependencies
pip install -e ".[dev,llm]"
# Run tests (163 tests)
pytest
# Lint
ruff check src/
Contributing
Contributions are welcome! Please open issues and PRs on GitHub.
License
MIT License โ see LICENSE for details.
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
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 opendocs-0.4.1.tar.gz.
File metadata
- Download URL: opendocs-0.4.1.tar.gz
- Upload date:
- Size: 114.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bc261a0af0600ae45a0bf447f7a75c637328bf10629a32f615563e6cbb6013d
|
|
| MD5 |
a531bd1ef5892b2ce0162e80e56a7d52
|
|
| BLAKE2b-256 |
ef82166f9d6294fc639b0fd61a244e450889a61f287a984e460a501aded6383f
|
File details
Details for the file opendocs-0.4.1-py3-none-any.whl.
File metadata
- Download URL: opendocs-0.4.1-py3-none-any.whl
- Upload date:
- Size: 108.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0545850014d10012948aa5c601547434267ef69a56cf21d8647caa67c1bbfae
|
|
| MD5 |
3b7050bedd4fcb16ae405b0caeb185a3
|
|
| BLAKE2b-256 |
c49562292948c34c3d5f1ece2fc9b2dd3fb9ad413331ff882c2b5d3f2796c78b
|