📖 Usage
contextpack-md can be used both as a CLI tool and a Python library.
CLI Usage
Basic Extraction (assuming you downloaded the cli)
Extract content from a URL directly to your terminal.
Save to Cache
Store the output in ~/.contextpack-md/ with a timestamped name.
PDF to Markdown
Download and convert a PDF. This requires marker-pdf (automatically installed if using the pdf extra).
Clearing the Cache
Remove all stored content in ~/.contextpack-md/.
Python API Usage
If you're building your own tool, you can use contextpack-md programmatically.