pdf2md (bash script)
├── python3
│ └── pymupdf (PyMuPDF) — PDF text extraction
│ Auto-installed on first run via pip
│ https://pymu.readthedocs.io/
│
└── curl — HTTP client for Gemini API
Pre-installed on macOS and most Linux distros
| Service | Purpose | When used | Cost |
|---|---|---|---|
| Google Gemini API | AI text formatting | Default mode (--no-ai skips) |
Free tier available |
pdf2md does not:
- Phone home or track usage
- Collect analytics or telemetry
- Store or cache your PDF content
- Share your files with any third party beyond the Gemini API call
The only external network request is to generativelanguage.googleapis.com during AI formatting.