Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.14 KB

File metadata and controls

42 lines (27 loc) · 1.14 KB

docproc Usage Examples

CLI

Extract document to markdown

docproc --file input.pdf -o output.md

# With explicit config
docproc --file input.pdf -o output.md --config docproc.yaml

# Verbose
docproc --file slides.pptx -o slides.md -v

Supported formats

PDF, DOCX, PPTX, XLSX. Output must be a .md file (-o output.md).

One-time config from .env

docproc init-config --env .env
# Writes ~/.config/docproc/docproc.yml from your .env (AI keys, etc.)

Shell completions

docproc completions bash   # or zsh
# Source the output in your shell to get completions for --file, -o, --config

Configuration

Full-stack demo

For the document workspace (upload, RAG chat, notes, assessments), see demo/README.md. The demo uses Docker Compose for infrastructure (PostgreSQL, LocalStack, RabbitMQ) and runs the Go API and React frontend on the host. Document processing is done by the docproc CLI invoked from the Go worker.